bug-coreutils
[Top][All Lists]
Advanced

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

bug#8103: NUL terminated lines


From: Andreas Schwab
Subject: bug#8103: NUL terminated lines
Date: Fri, 25 Feb 2011 19:14:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.94 (gnu/linux)

Jim Meyering <address@hidden> writes:

> Bjartur Thorlacius wrote:
>> On 2/24/11, Jim Meyering <address@hidden> 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, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

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