bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: regular expressions with upper case totally broken in gawk 3.1.1


From: Hans-Bernhard Broeker
Subject: Re: regular expressions with upper case totally broken in gawk 3.1.1
Date: 28 Apr 2006 12:03:35 GMT

Tom Stockfisch <address@hidden> wrote:
> Ever since linux WS 3.0 (gawk 3.1.1) my awk programs have been 
> mis-behaving.

Not really.  What actually changed is the definition of "well-behaving
awk program".  Writing [A-Z] instead of [[:upper:]] may have been
correct in ancient times, when Unix didn't care about i18n.

> It seems as though all lower case letters except "a" are considered upper 
> case!

No.  But your "collation sequence" is no longer what it used to be.
Read up on LC_COLLATE and why you should probably have that set to "C"
or "POSIX".

-- 
Hans-Bernhard Broeker (address@hidden)
Even if all the snow were burnt, ashes would remain.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]