AWK/shell quoting (was: Re: Access to UNIX-Related Publications)

Brandon S. Allbery allbery at NCoast.ORG
Mon Jan 8 05:09:10 AEST 1990


Someone suggested using \' instead of '.  That won't work; single quoting
takes precedence over backslash escapes, so \ is *ignored* by the shell in
single quotes.  (This is arguably incorrect; were I designing it, I would
choose the escape with the shortest "active time" (e.g. \) as the highest
priority quote, in keeping with the KISS principle.  But it's *far* too late
to change it now.)

++Brandon
-- 
Brandon S. Allbery    allbery at NCoast.ORG, BALLBERY (MCI Mail), ALLBERY (Delphi)
      uunet!cwjcc.cwru.edu!ncoast!allbery ncoast!allbery at cwjcc.cwru.edu
*(comp.sources.misc mail to comp-sources-misc[-request]@backbone.site, please)*
*Third party vote-collection service: send mail to allbery at uunet.uu.net (ONLY)*



More information about the Comp.unix.questions mailing list