[Top][All Lists]

[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: Fri, 22 Apr 2005 20:19:04 +0200 (CEST)

> * On Friday 2005-04-22 at 17:33:18 +0200, Claudio
> Fontana wrote:
> > 
> >  --- Behdad Esfahbod <address@hidden> ha
> > scritto: 
> > > Hi
> > > I think I have spotted a nasty bug somewhere in
> the
> > > perl-regexp
> > > engine, with UTF-8 character classes and --color
> > > output!
> > 
> > I tried to set up things to verify the problem but
> I
> > am not able to see arabic fonts.
> Remember, you can always run /usr/bin/script in
> any terminal to capture the interaction (even if
> characters don't show up properly), then view the
> recorded file using something like "hexdump -C"
> to see all the actual octets that were output.

Thanks Charles, did not know that. This script(1) is a
really nice tool. It solved the problem here.

> > I installed bicon
> Funny what comes up on the first page when you
> Google for this.  Coming to Glasgow in 2006!

:) I wonder if GeEkgiRL will be there again.

Of course I meant bicon (bidirectional console)
project here:


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



Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam, 
Giochi, Rubrica… Scaricalo ora! 

Attachment: grep-P-utf8.Naur.p1.patch
Description: grep-P-utf8.Naur.p1.patch

reply via email to

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