[PLUG] BASHing my head on the keys.

Jeme A Brelin jeme at brelin.net
Thu Jan 22 16:15:02 UTC 2004


On Thu, 22 Jan 2004, Jeme A Brelin wrote:
> On Thu, 22 Jan 2004, Paul Heinlein wrote:
> > Does backslashing the quotes help?
> >
> >   $(command \"$filename\")
>
> Backslashing the quotes give me the right output when I echo the command
> back, i.e.
>
> command "file with spaces"
>
> But it still seems to try to execute with three arguments.

For the record, I'm getting something like:

file not found: '"file'
file not found: 'with'
file not found: 'spaces"'

What gives?

J.
-- 
   -----------------
     Jeme A Brelin
    jeme at brelin.net
   -----------------
 [cc] counter-copyright
 http://www.openlaw.org




More information about the PLUG mailing list