At 00:26 19/07/01 +0100, Paul Millar wrote:

>The other thing worth mentioning is that with

Thanx all. Following your advise I tried dropping the \ and wrapping all 
the shell stuff in ""s. It now seems to be working as planned.

I'm not sure that I quite understand HOW it works though; I'd only ever 
looked at the interaction between the shell and the running program on the 
Atari ST in great detail. There the command line is simply passed to the 
application as a single string (after shell substitutions, including 
quotes) and _main() chops it up into argc/argv - presumably this is not the 
case in Unix since there is discrimation between an embedded space and a 
field seperator. Does the shell split the command line or does it pass the 
quote marks to the program?

Colin

--------------------------------------------------------------------
http://www.lug.org.uk                   http://www.linuxportal.co.uk
http://www.linuxjob.co.uk               http://www.linuxshop.co.uk
--------------------------------------------------------------------

Reply via email to