home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.lang.awk
- Path: sparky!uunet!psgrain!m2xenix!edw
- From: edw@psg.com (Ed Wright)
- Subject: Re: tolower() function?
- Organization: Pacific Systems Group, Portland Oregon US
- Date: Sun, 24 Jan 1993 09:33:40 GMT
- Message-ID: <1993Jan24.093340.17437@psg.com>
- References: <EMCOOP.93Jan19111755@bcars148.bnr.ca> <C184vr.p5q@austin.ibm.com> <1993Jan22.012739.26965@chpc.utexas.edu>
- Lines: 18
-
- In article <1993Jan22.012739.26965@chpc.utexas.edu> rshouman@chpc.utexas.edu (Radey Shouman) writes:
- >In article <C184vr.p5q@austin.ibm.com> tbates@austin.ibm.com (Tom Bates)
- >writes:
- >
- >>Quoting "The AWK Programming Language",
- >>
- >> "The cleanest way to do case conversion in awk is with an array that
- >>maps each letter...it's better to use...tr"
- >>
- >>I often use tr for this very reason. For example:
- >>
- >> echo "HeLlO, wOrLd!" | tr [:upper:] [:lower]
- try | tr [A-Z] [a-z]
- --
- REAL RADIOS edw@m2xenix.psg.com GLOW IN THE DARK
- ^^^^^^^^^^^^^^^^^^^^^^^^<<^^>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- >>No Voice>>>>>> Amateur Radio KA9AHQ @ 28.340 <<<<<<<No Vice<<
- >>> Kshatriya Auscultating 9 Ailurophiles Hypothesizing Quodlibets <<<
-