bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] )host to take string


From: Juergen Sauermann
Subject: Re: [Bug-apl] )host to take string
Date: Sat, 26 Apr 2014 16:45:09 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi,

actually it should not. )HOST is a command so its arguments
are not computed (in GNU APL, but probably also others).

Thus  'workspaces/',a is passed verbatim to popen().

/// Jürgen


On 04/25/2014 11:10 PM, address@hidden wrote:
presently )host takes direct code

      )host vi workspaces/a1    works (disregard Vim: Warning: Output is not to a 
terminal    using )host vi workspaces < `tty` > `tty` is the real command)

putting it in quotes

      )host vi 'workspaces/a1'    works

      a←'a1'

      'workspaces/', a
workspaces/a1

but
       )host vi 'workspaces/',a

edits  workspaces,a   not workspaces/a1 as it should

is there a easy way around this or is it hard work to fix in the code?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]