Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hpl-opus!steinbac From: steinbac@hpl-opus.HP.COM (Gunter Steinbach) Newsgroups: comp.unix.questions Subject: Re: Lower->Upper in AWK (was: Re: cascading pipes in awk) Message-ID: <63720005@hpl-opus.HP.COM> Date: 25 May 89 17:56:08 GMT References: <13921@lanl.gov> Organization: HP Labs, High Speed Electronics Dept., Palo Alto, CA Lines: 9 This may make awk purists wail, but why not use: awk 'some stuff; some condition {print | "tr [a-z] [A-Z]"}' | awk 'other stuff' It works, albeit slow due to two awk calls, but it saves a lot of typing over some of the other suggestions.