Fw: system command, -Z Flag and quotes
Kenneth Brody
kenbrody at bestweb.net
Fri Jan 7 08:02:08 PST 2005
Dennis Malen wrote:
>
> Ken,
>
> If I put it on a menu line I believe that is what filepro wants me to do. If
> this is wrong then I won't use them. When I do the -Z and use quotes the
> processing then uses that as the input file and it works fine.
>
> I'll change my processing if it works either way.
>
> What do you think??
[...]
> > > system "/appl/fp/rclerk msx.served -s1 -z \"addfile\""
[...]
They're just extraneous here. They don't cause any problems, either. You
could use quotes around everything if you wanted, and it would still do the
same thing:
"/appl/fp/rclerk" "msx.served" "-s1" "-z" "addfile"
The only time you _need_ quotes is when the thing within the quotes has
something that the shell would act on, such as whitespace in a -H header
text, or wildcards (perhaps also in -H text).
For example:
/appl/fp/rclerk filename -h "This is a header"
--
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody | www.hvcomputer.com | |
| kenbrody/at\spamcop.net | www.fptech.com | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
Don't e-mail me at: <mailto:ThisIsASpamTrap at gmail.com>
More information about the Filepro-list
mailing list