Subject: bug#8103: NUL terminated lines

From: Andreas Schwab <[email-masked]>
Date: Fri, 25 Feb 2011 19:14:31 +0100

Jim Meyering <[email-masked]> writes:

> Bjartur Thorlacius wrote:
>> On 2/24/11, Jim Meyering <[email-masked]> wrote:
>>> With GNU tac, that has never worked:
>>>
>>>     $ tac -s ''
>>>     tac: separator cannot be empty
>>>
>> NUL!=the empty string.
>
> tac treats them the same way.

Actually the shell does.  $'\0' and '' are indistinguishable once passed
as argument.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."