[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inconsistent documentation of sort -z
From: |
Philip Rowlands |
Subject: |
Re: inconsistent documentation of sort -z |
Date: |
Thu, 15 Nov 2007 22:26:23 +0000 (GMT) |
On Thu, 15 Nov 2007, Stanislav Brabec wrote:
"Treat the input as a set of lines, each terminated by a null
character (ASCII NUL) instead of a line feed (ASCII LF)."
I mentioned this as a documentation problem. (I changed mail subject.)
More correct would be "Treat the input and generate the output...".
That would probably be clearer.
Agreed, busybox appears to handle -z differently.
...as probably were authors of busybox. Their implementation does
exactly what GNU sort info page writes about -z.
No, busybox goes further; GNU sort's doc does not say "input using NUL
and output using LF". But this is splitting hairs, and the spirit of
your email is (I think) that coreutils' documentation could be clearer,
and busybox should fix its behaviour.
Cheers,
Phil