[EMAIL PROTECTED] writes:

> Although not a bug, sort's documentation might be wise to explicitly
> mention that -u's behaviour is effected by options like -n.

The CVS version of coreutils
<http://savannah.gnu.org/projects/coreutils/> says this
in its Texinfo documentation:

The commands @code{sort -u} and @code{sort | uniq} are equivalent, but
this equivalence does not extend to arbitrary @command{sort} options.
For example, @code{sort -n -u} inspects only the value of the initial
numeric string when checking for uniqueness, whereas @code{sort -n |
uniq} inspects the entire line.  @xref{uniq invocation}.


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to