[comp.unix.questions] Hey, read the original request

merlyn@iwarp.intel.com (Randal Schwartz) (08/23/89)

In article <455@puffin.uss.tek.com>, richl@penguin (Rick Lindsley) writes:
| In article <4776@omepd.UUCP> merlyn@iwarp.intel.com (Randal Schwartz) writes:
|     
|     But, get Perl.  Then you can say something like:
|     
|     perl -pe 's|\w*z\w*|($& =~ y/a-z/A-Z/),$&|eg;'
|     
|     and do what you want in *one* line.
|     
| Heck. If you're going to use another program, use the one made for just this
| purpose and cut down on your typing even more.
| 
|     tr a-z A-Z
| 
| Rick

The original request was to uppercase only the words that contained
the letter 'z'.  Your tr command doesn't do that.
-- 
/== Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ====\
| on contract to Intel, Hillsboro, Oregon, USA                           |
| merlyn@iwarp.intel.com ...!uunet!iwarp.intel.com!merlyn	         |
\== Cute Quote: "Welcome to Oregon... Home of the California Raisins!" ==/