bug-grep
[Top][All Lists]
Advanced

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

Re: Bug in grep -P --color [bug-grep]


From: Claudio Fontana
Subject: Re: Bug in grep -P --color [bug-grep]
Date: Sat, 23 Apr 2005 00:45:00 +0200 (CEST)

Hello,

> > Now for Behdad's utf8 problem:
> >
> > 1) checkout latest grep from cvs
> > 2) apply this unified p1 patch I have attached
> > 3) fetch latest pcre library
> > 4) compile and install pcre library with utf8
> support
> > (see ./configure --help)
> > 5) compile grep
> > 6) test if things work fine
> 
> Done.  Points:
> 
> 1) My old problem is resolved, as expected.

So you confirm the problem about -P -E -G behaving
differently under utf8 is correctly addressed by the
patch?

> 2) In your patch, you strstr for utf8 or UTF8.  In
> my Fedora
> system, $LANG is en_US.UTF-8.

I'll add UTF-8 and utf-8 then.

> In this case the
> first condition
> (nl_langinfo) triggers and no but is shown.

"and no but is shown" ? I did not understand this.

> 3) I see a very bad behavior from the CVS version. 
> I'm attaching
> an script(1) output.

Where is it? :)
Maybe also explain shortly what you get and what you
expected instead.

> The best way to see what's
> going on, you
> can open a terminal and cat the file.  Then scroll
> back to see
> what I did.

Ok. Please send that :)

Claudio



                
___________________________________ 
Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam, 
Giochi, Rubrica… Scaricalo ora! 
http://it.messenger.yahoo.it




reply via email to

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