Screen ghost??

Kenneth Brody kenbrody at spamcop.net
Tue Jan 5 19:53:58 PST 2010


On 1/5/2010 5:32 PM, Richard Kreiss wrote:
[...]
>> Here is the system call we use:
>>
>> system "$PFPROG/fp/dclerk fesequip -sadd -lx -xa -d -t 130000 -r
> \""&pm{"\" -h
>> 'EQUIPMENT FILE'  "
>
> Try this for you system call:
>
> sy=" fesequip -sadd -lx -xa -d -t 130000 -r "<pm<" -h EQUIPMENT FILE"{""
>
> System "$PFPROG/fp/dclerk"<sy
>
> Not sure if this will work under *nix. However, I have found that fp running
> on windows does not need the " marks.
[...]

You absolutely need quotes around any parameter that contains "special" 
characters, such as spaces.  (Or quote the "special" characters themselves.)

This won't work on any platform:

     dclerk foo -h EQUIPMENT FILE

It must be:

     dclerk foo -h "EQUIPMENT FILE"

or something equivalent.

-- 
Kenneth Brody


More information about the Filepro-list mailing list