Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!bionet!ames!sun-barr!cs.utexas.edu!uunet!zephyr.ens.tek.com!tekgen!puffin!penguin!richl From: richl@penguin.USS.TEK.COM (Rick Lindsley) Newsgroups: comp.unix.questions Subject: Re: sed question: lower-to-upper case Message-ID: <455@puffin.uss.tek.com> Date: 21 Aug 89 23:54:14 GMT References: <830003@mechp10.UUCP> <4776@omepd.UUCP> Sender: news@puffin.uss.tek.com Reply-To: richl@penguin.USS.TEK.COM (Rick Lindsley) Organization: Tektronix, Inc., Beaverton, OR. Lines: 14 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