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

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

Re: [gawk] RE bug??


From: Aharon Robbins
Subject: Re: [gawk] RE bug??
Date: Fri, 08 Jul 2005 17:03:05 +0300

On my GNU/Linux system, here's what I get:

        $ echo $LC_ALL
        C
        $ gawk --version | sed 2q
        GNU Awk 3.1.4
        Copyright (C) 1989, 1991-2003 Free Software Foundation.
        $ echo Silver | gawk '/[A-Z][A-Z0-9]+/'
        $ echo Silver | LC_COLLATE=en_US gawk '/[A-Z][A-Z0-9]+/'
        $ echo Silver | LC_ALL=en_US  gawk '/[A-Z][A-Z0-9]+/'
        Silver

I think it's LC_CTYPE that affects this, not LC_COLLATE.  Anyway,
using LC_ALL=C gets things working the way Unix veterans expect.

Can we close this topic now, please?

Thanks,

Arnold




reply via email to

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