[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grep -A1 -m1 segfaults with multiple line matches bug
From: |
Benno Schulenberg |
Subject: |
Re: grep -A1 -m1 segfaults with multiple line matches bug |
Date: |
Fri, 23 Feb 2007 15:02:14 +0100 |
User-agent: |
KMail/1.9.6 |
Justin Pryzby wrote:
> grep segfaults when invoked like:
>
> { echo h; echo yz; } |grep -A1 -m1 "`echo h; echo zz`"
It does not segfault here:
$ { echo h; echo yz; } | grep -A1 -m1 "`echo h; echo zz`"
h
yz
This is with grep-2.5.1a, the released tarball, the Gentoo version,
and the CVS version -- all okay. What version are you using?
Benno