[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-apl] )host to take string
From: |
enztec |
Subject: |
Re: [Bug-apl] )host to take string |
Date: |
Sat, 26 Apr 2014 09:20:50 -0600 |
thanks for replying - boy what a busy apl day
On Sat, 26 Apr 2014 16:45:09 +0200
Juergen Sauermann <address@hidden> wrote:
> 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
this is a typo you caught
edit workspaces/,a not workspaces/a1 as i wanted it to before using the
correct coding - popen in file_io - which i eventually got to
> >
> > is there a easy way around this or is it hard work to fix in the code?
> >
> >
> >
> >
>