Subject: Re: Bug in grep -P --color
> * On Friday 2005-04-22 at 17:33:18 +0200, Claudio
> Fontana wrote:
> > --- Behdad Esfahbod <behdad@xxxxxxxxxxxxxx> ha
> > scritto:
> > > Hi
> > > I think I have spotted a nasty bug somewhere in
> > > perl-regexp
> > > engine, with UTF-8 character classes and --color
> > > output!
> > I tried to set up things to verify the problem but
> > 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)
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!