Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!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: cascading pipes in awk Keywords: awk Message-ID: <818@manta.NOSC.MIL> Date: 24 May 89 15:10:42 GMT References: <813@manta.NOSC.MIL> <1962@deimos.cis.ksu.edu> Reply-To: psm@manta.nosc.mil.UUCP (Scot Mcintosh) Distribution: usa Organization: Naval Ocean Systems Center, San Diego Lines: 24 In article <1962@deimos.cis.ksu.edu> hager@ksuvax1.cis.ksu.edu (Donald E. Hager) writes: >The problem >is that only one output statement to a pipe is permitted in an awk >program. The solution that I see is to pipe your translated text into >an awk program: > cat filename | tr [a-z] [A-Z] | awk '<>' Unfortunately, I only want to uppercase a few selected portions of the text my awk program is reading (my original posting contained a very simplified example, so this wasn't obvious). There just doesn't seem to be a way to have a filter program in the middle of two groups of awk statements. Newsgroups: comp.unix.questions Subject: Re: cascading pipes in awk Summary: Expires: References: <813@manta.NOSC.MIL> <1962@deimos.cis.ksu.edu> Sender: Reply-To: psm@manta.nosc.mil.UUCP (Scot Mcintosh) Followup-To: Distribution: usa Organization: Naval Ocean Systems Center, San Diego Keywords: awk