On 04/20/2010 12:06 PM, Jim Meyering wrote:
printf '\n'|LC_ALL=en_US.utf8 src/grep -zl . printf '\0'|LC_ALL=en_US.utf8 src/grep -l .They should fail.
By the way, I disagree that the first should fail. With -z the record separator ("newline") character is \0, so \n is just like any other character. The second should fail with
printf '\0'|LC_ALL=en_US.utf8 POSIXLY_CORRECT=1 src/grep -l . Paolo
