bug#29802: "uniq -c" doesn't like counting lines with nulls
From:
Pádraig Brady
Subject:
bug#29802: "uniq -c" doesn't like counting lines with nulls
Date:
Thu, 21 Dec 2017 16:33:52 +0000
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 21/12/17 08:40, PD wrote:
> ##### Whoops, fail to count duplicate binary lines:
> # printf "\n\x00\n\x00\n" | uniq -c | cat -e
> 1 $
> 1 address@hidden
> 1 address@hidden
Not reproducible on recent versions.
Might this have been specific to the i18n patch?
I.E. can you reproduce with LC_ALL=C set in the env?
thanks,
Pádraig