Xref: utzoo comp.unix.questions:18935 comp.unix.wizards:20099 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!yale!cmcl2!stealth.acf.nyu.edu!brnstnd From: brnstnd@stealth.acf.nyu.edu Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: AWK/shell quoting Message-ID: <6750@stealth.acf.nyu.edu> Date: 11 Jan 90 03:48:28 GMT References: <487@longway.TIC.COM> <166@omaha1.UUCP> <18067@umn-cs.CS.UMN.EDU> <6954@lindy.Stanford.EDU> <7277@cbnewsh.ATT.COM> Reply-To: brnstnd@stealth.acf.nyu.edu (Dan Bernstein) Distribution: usa Organization: IR Lines: 11 X-Shell-Quoting-Expertise: Guru In article <7277@cbnewsh.ATT.COM> ijk@cbnewsh.ATT.COM (ihor.j.kinal) writes: > awk "BEGIN { print \"'\" } " Congratulations for testing your solution before posting it, but it only works under sh. In contrast, awk 'BEGIN { print "'\''" } ' works under sh and csh. (More complicated? Give me a break.) ---Dan