Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!usenet.ins.cwru.edu!cwjcc!ncoast!allbery From: allbery@NCoast.ORG (Brandon S. Allbery) Newsgroups: comp.unix.questions Subject: Re: AWK/shell quoting (was: Re: Access to UNIX-Related Publications) Message-ID: <1990Jan7.180910.13260@NCoast.ORG> Date: 7 Jan 90 18:09:10 GMT References: <487@longway.TIC.COM> <166@omaha1.UUCP> <18067@umn-cs.CS.UMN.EDU> <1990Jan6.233340.9978@smsc.sony.com> <1990Jan7.180329.13144@NCoast.ORG> Reply-To: allbery@ncoast.ORG (Brandon S. Allbery) Followup-To: comp.unix.questions Organization: North Coast Public Access UN*X, Cleveland, OH Lines: 13 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@NCoast.ORG, BALLBERY (MCI Mail), ALLBERY (Delphi) uunet!cwjcc.cwru.edu!ncoast!allbery ncoast!allbery@cwjcc.cwru.edu *(comp.sources.misc mail to comp-sources-misc[-request]@backbone.site, please)* *Third party vote-collection service: send mail to allbery@uunet.uu.net (ONLY)*