cascading pipes in awk
Scot Mcintosh
psm at manta.NOSC.MIL
Thu May 25 01:10:42 AEST 1989
In article <1962 at deimos.cis.ksu.edu> hager at 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 '<<other stuff...>>'
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 at manta.NOSC.MIL> <1962 at deimos.cis.ksu.edu>
Sender:
Reply-To: psm at manta.nosc.mil.UUCP (Scot Mcintosh)
Followup-To:
Distribution: usa
Organization: Naval Ocean Systems Center, San Diego
Keywords: awk
More information about the Comp.unix.questions
mailing list