Screen ghost??
Richard Kreiss
rkreiss at verizon.net
Wed Jan 6 08:36:27 PST 2010
> -----Original Message-----
> From: Kenneth Brody [mailto:kenbrody at spamcop.net]
> Sent: Tuesday, January 05, 2010 10:54 PM
> To: Richard Kreiss
> Cc: 'filepro'
> Subject: Re: Screen ghost??
>
> 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
Ken,
Did not want to reply until I test this.
Hd="Equipment File"
sy=" foobar -sadd -lx -xa -d -t 130000 -r "<pm<" -h"<hd{""
System "$PFPROG/fp/dclerk"<sy
I test this on my system and what happened is the -h option only showed the
first word which is probably as would be expected if not quotes are used.
Richard
More information about the Filepro-list
mailing list