how to make csh leave quotes on args
Joe Smith
jms at romana.Tymnet.COM
Thu Sep 27 11:02:56 AEST 1990
In article <3883 at cerberus.oakhill.UUCP> hunter at oakhill.UUCP (Hunter Scales) writes:
> set string = "this is an argument"
> foo "$string"
>does not produce the same thing as
> foo "this is an argument"
set string='"variable with double quote characters inside it"'
foo "$string"
or
set string="variable consisting of several words, no quotes"
foo '"'"$string"'"'
Strings with different types of quotes can be concatinated together.
--
Joe Smith (408)922-6220 | SMTP: jms at tardis.tymnet.com or jms at gemini.tymnet.com
BT Tymnet Tech Services | UUCP: ...!{ames,pyramid}!oliveb!tymix!tardis!jms
PO Box 49019, MS-C41 | BIX: smithjoe | 12 PDP-10s still running! "POPJ P,"
San Jose, CA 95161-9019 | humorous dislaimer: "My Amiga 3000 speaks for me."
More information about the Comp.unix.shell
mailing list