[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8103: NUL terminated lines
From: |
Jim Meyering |
Subject: |
bug#8103: NUL terminated lines |
Date: |
Thu, 24 Feb 2011 08:43:59 +0100 |
Bjartur Thorlacius wrote:
>> Maybe we should modify tac to add the -z option. Would you care to
> write a patch?
> It would be redundant, as tac -s $'\0' is equivalent.
Are you using a non-GNU version of tac?
If so, please tell us which one -- that may influence
the decision of whether to make "-s ''" work or to add -z.
With GNU tac, that has never worked:
$ tac -s ''
tac: separator cannot be empty
Making -s accommodate an empty string argument is a possibility,
but that change looks like it'd be relatively disruptive.
Unless there is already an implementation for which -s '' works,
I like the idea of adding -z.
- bug#8103: NUL terminated lines, Bjartur Thorlacius, 2011/02/23
- bug#8103: NUL terminated lines,
Jim Meyering <=
- bug#8103: NUL terminated lines, Bjartur Thorlacius, 2011/02/24
- bug#8103: NUL terminated lines, Jim Meyering, 2011/02/24
- bug#8103: NUL terminated lines, Bjartur Thorlacius, 2011/02/25
- bug#8103: NUL terminated lines, Andreas Schwab, 2011/02/25
- bug#8103: NUL terminated lines, Jim Meyering, 2011/02/25
- bug#8103: NUL terminated lines, Eric Blake, 2011/02/25
- bug#8103: NUL terminated lines, Alan Curry, 2011/02/24