Article View: comp.unix.shell
Article #1247Re: how to make csh leave quotes on args
From: Joe Smith
Date: Thu, 27 Sep 1990 01:02
Date: Thu, 27 Sep 1990 01:02
18 lines
1230 bytes
1230 bytes
In article <3883@cerberus.oakhill.UUCP> hunter@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@tardis.tymnet.com or jms@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."
Technical Details
Message-ID:
<1245@romana.Tymnet.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!olivea!tymix!romana!jmsReferences:
<3883@cerberus.oakhill.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!olivea!tymix!romana!jms From: jms@romana.Tymnet.COM (Joe Smith) Newsgroups: comp.unix.shell Subject: Re: how to make csh leave quotes on args Summary: Insert quotes at invocation Message-ID: <1245@romana.Tymnet.COM> Date: 27 Sep 90 01:02:56 GMT References: <3883@cerberus.oakhill.UUCP> Reply-To: jms@tardis.Tymnet.COM (Joe Smith) Organization: BT Tymnet, San Jose, CA Lines: 18