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

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

Re: Grep 2.4.2


From: Bob Proulx
Subject: Re: Grep 2.4.2
Date: Sun, 15 Sep 2002 14:40:45 -0600
User-agent: Mutt/1.4i

Please follow up to public requests for assistence to the public
mailing lists and not privately unless it is personal.

----- Forwarded message from Berke Durak <address@hidden> -----

From: Berke Durak <address@hidden>
Date: Sun, 15 Sep 2002 22:30:45 +0200
To: Bob Proulx <address@hidden>
Subject: Re: Grep 2.4.2

On Sun, Sep 15, 2002 at 02:22:14PM -0600, Bob Proulx wrote:
> Berke Durak <address@hidden> [2002-09-15 21:53:22 +0200]:
> > $ echo 'a' | grep '^[A-Z]'
> > $ echo 'b' | grep '^[A-Z]'
> > b
> 
> What is your 'locale' setting?  What does the output of 'locale' say?
> 
>   locale
> 
> What system are you running this on?
> 
>   uname -a
> 
> Does this work?
> 
>   echo 'a' | LC_ALL=POSIX grep '^[A-Z]'
>   echo 'b' | LC_ALL=POSIX grep '^[A-Z]'
> 
> Bob

Hello,

Seems to be a problem with the locale I'm using (en_US) :

$ locale
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=
$ uname -a 
Linux gogol 2.4.18 #1 Thu Aug 22 20:42:28 CEST 2002 i586 unknown
$ echo 'a' | LC_ALL=POSIX grep '^[A-Z]'
$ echo 'b' | LC_ALL=POSIX grep '^[A-Z]'

----- End forwarded message -----




reply via email to

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