Article View: alt.lang.awk
Article #29Re: tolower() function?
From: hume smith
Date: Thu, 28 Jan 1993 17:32
Date: Thu, 28 Jan 1993 17:32
26 lines
1808 bytes
1808 bytes
In article <C1Iy9K.2r8p@austin.ibm.com> tbates@austin.ibm.com () writes: In article <EMCOOP.93Jan25124421@bcars148.bnr.ca>, emcoop@bnr.ca (hume smith) writes: > In article <C1EzDw.FtF@austin.ibm.com> tbates@austin.ibm.com (Tom Bates) writes: > > The advantage to using [:upper:] and [:lower:] instead of [A-Z] and [a-z] is > locale support. Not everyone uses ASCII and US English. > > here's a shocker: not all tr's have that notation. must be an IBMism :-) Here's a shocker, IBM supports it because it is part of AT LEAST the XPG4 standard. :) here's a shoker: it's actually a good idea. :-) ASCII and EBCDIC are, after all, not everything. question: tr was often used to implement the usenet rot13: tr [A-Za-z] [N-ZA-Mn-za-m] is there a way of doing that with this portable notation? there's some way of specifying a subrange, surely. do we need an alt.lang.tr group? :-) -- Hume Smith Honour sick and davey cris-cross hume.smith@acadiau.ca McTruloff sentimie emcoop@bnr.ca A parsnip inner pair threes.
Technical Details
Message-ID:
<EMCOOP.93Jan28123240@bcars148.bnr.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!europa.eng.gtefsd.com!darwin.sura.net!spool.mu.edu!torn!nott!bnrgate!bcars267!bcars267!emcoopReferences:
<EMCOOP.93Jan19111755@bcars148.bnr.ca> <C184vr.p5q@austin.ibm.com> <EMCOOP.93Jan25124421@bcars148.bnr.ca> <C1Iy9K.2r8p@austin.ibm.com>Show Full Headers
Complete Article Headers
Newsgroups: alt.lang.awk Path: arc1-ca.pugleaf.net!sparky!uunet!europa.eng.gtefsd.com!darwin.sura.net!spool.mu.edu!torn!nott!bnrgate!bcars267!bcars267!emcoop From: emcoop@bnr.ca (hume smith) Subject: Re: tolower() function? In-Reply-To: tbates@austin.ibm.com's message of Wed, 27 Jan 1993 18:05:43 GMT Message-ID: <EMCOOP.93Jan28123240@bcars148.bnr.ca> Sender: news@bnr.ca (usenet) Nntp-Posting-Host: bcars148 Organization: Bell-Northern Research, Ottawa, Canada References: <EMCOOP.93Jan19111755@bcars148.bnr.ca> <C184vr.p5q@austin.ibm.com> <EMCOOP.93Jan25124421@bcars148.bnr.ca> <C1Iy9K.2r8p@austin.ibm.com> Date: Thu, 28 Jan 1993 17:32:40 GMT Lines: 26