bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: grep 2.5.1: NUL byte doesn't match a complemented character class


From: Jim Meyering
Subject: Re: grep 2.5.1: NUL byte doesn't match a complemented character class
Date: Thu, 23 Aug 2007 12:39:20 +0200

Joe Wells <address@hidden> wrote:
> In grep 2.5.1, a NUL character doesn't match a complemented character
> class.
...

Works for me, using Debian's 2.5.1.ds2-6:

  $ print '\0x'|grep '[^x]x'
  Binary file (standard input) matches
  $ grep '[^x]x'
  address@hidden
  Binary file (standard input) matches

I get the same results with grep-2.5.1-57.fc7.




reply via email to

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