Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!pacbell.com!decwrl!uunet!ncrlnk!ncratl!gedwards From: gedwards@ncratl.Atlanta.NCR.COM (Gordon Edwards) Newsgroups: comp.unix.questions Subject: Re^2: Converting to uppercase/lowercase in sed Message-ID: <522@ncratl.Atlanta.NCR.COM> Date: 27 Aug 90 20:20:50 GMT References: <3766@umbc3.UMBC.EDU> <1990Aug16.232151.23436@iwarp.intel.com> <1990Aug17.220308.15418@cbnewse.att.com> Organization: NCR Engineering & Manufacturing Atlanta -- Atlanta, GA Lines: 19 Dan_Jacobson@ATT.COM writes: >merlyn@iwarp.intel.com (Randal Schwartz) writes: >>yeah, the not very well documented "y" command. >> y/a-z/A-Z/ > >bzzzzt. Minus 10 points! got to say: >y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/ >-- >Dan_Jacobson@ATT.COM +1-708-979-6364 To convert lowercase to uppercase with sed I use s/[a-z]/[A-Z]/g -- Internet: Gordon.Edwards@Atlanta.NCR.COM NCR Corporation UUCP: uunet!ncrlnk!ncratl!gedwards 2651 Satellite Blvd. Amateur Radio: N4VPH Duluth, GA 30136