|
From: | L. A. Walsh |
Subject: | bug#20638: BUG: standard & extended RE's don't find NUL's :-( |
Date: | Sat, 23 May 2015 17:04:50 -0700 |
User-agent: | Thunderbird |
the standard & extended RE's don't find find NUL's:
dd if=/dev/zero of=zeros bs=4k count=1 command grep -Pq '\000\000' zeros && echo "badness"
badness
command grep -Eq '\000\000' zeros && echo "badness" command grep -Gq '\000\000' zeros && echo "badness" command grep -q '\000\000' zeros && echo "badness" rpm -q grep
grep-2.20-2.4.1.x86_64
[Prev in Thread] | Current Thread | [Next in Thread] |