Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!pasteur!helios.ee.lbl.gov!nosc!manta!psm From: psm@manta.NOSC.MIL (Scot Mcintosh) Newsgroups: comp.unix.questions Subject: Re: Lower->Upper in AWK (was: Re: cascading pipes in awk) Keywords: awk Message-ID: <819@manta.NOSC.MIL> Date: 25 May 89 19:33:23 GMT References: <818@manta.NOSC.MIL> <13921@lanl.gov> Reply-To: psm@manta.nosc.mil.UUCP (Scot Mcintosh) Distribution: usa Organization: Naval Ocean Systems Center, San Diego Lines: 13 In article <13921@lanl.gov> dph@lanl.gov (David Huelsbeck) writes: > >Here is my solution to this problem along with a summary of solutions >I recieved from other awkers when I posted asking for a better way. > <> Here's my brute-force solution to add to the pile: #where s is the argument being converted gsub(/a/,"A",s); gsub(/b/,"B",s); etc Inefficient and inelegant, but at least it works.