On Mon, Sep 03, 2007 at 11:11:41PM +1000, Aníbal Monsalve Salazar wrote:
> On Mon, Aug 27, 2007 at 08:51:23PM +0200, Loïc Minier wrote:
> >Package: grep
> >Version: 2.5.3~dfsg-1
> >Severity: normal
> >File: /bin/grep
> >
> >        Hi,
> >
> > % echo -foo | grep -vw foo
> > zsh: done                echo -foo | 
> > zsh: segmentation fault  grep --color=auto -vw foo

> > Seems to happen in fr_FR.UTF-8 and en_US.UTF-8, but not in C locale.

> I didn't get a segfault when I run neither 'echo -foo | grep --color=auto -vw 
> foo'
The --color wasn't necessary.   Loïc apparently has grep aliased or
GREP_OPTIONS set?

> $ locale
> LANG=en_AU
What about LANG=en_AU.UTF8?

$ echo -foo |LC_ALL=en_AU ./tmp/grep.unstable -vw foo
$ echo -foo |LC_ALL=en_AU.UTF8 ./tmp/grep.unstable -vw
foo
Segmentation fault

I just re-confirmed the reported misbehavior of the rest of these grep
bugs too.

Justin

Reply via email to