Fw: system command, -Z Flag and quotes

Dennis Malen dmalen at malen.com
Fri Jan 7 09:42:40 PST 2005


Ken,

Thanks for the clarification. All these years I never realized I could do
that.

Thanks again,

Dennis
----- Original Message ----- 
From: "Kenneth Brody" <kenbrody at bestweb.net>
To: "Dennis Malen" <dmalen at malen.com>
Cc: "filePro mailing list" <filepro-list at lists.celestial.com>
Sent: Friday, January 07, 2005 11:02 AM
Subject: Re: Fw: system command, -Z Flag and quotes


> 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