Hello Paul,
On Wed, Sep 08, 2004 at 12:33:17PM -0700, Paul Eggert wrote:
> I changed the documentation as follows to try to help clarify things.
thanks to Andrew for noticing this and to Paul for the doc fix.
But I think the documentation still misses one thing, see the patch below.
Stepan
2004-09-09 Stepan Kasal <[EMAIL PROTECTED]>
* coreutils.texi (sort invocation): Explain interaction of --unique
with the last-resort comparison.
--- coreutils-5.0/doc/coreutils.texi.orig 2003-04-02 20:19:11.000000000 +0200
+++ coreutils-5.0/doc/coreutils.texi 2004-09-09 10:22:07.000000000 +0200
@@ -2854,7 +2854,11 @@
Finally, as a last resort when all keys compare equal (or if no ordering
options were specified at all), @command{sort} compares the entire lines.
The last resort comparison honors the @option{--reverse} (@option{-r})
-global option. The @option{--stable} (@option{-s}) option disables this
+global option. If a field or a global option was specified, the
[EMAIL PROTECTED] (@option{-u}) option disables this last-resort
+comparison.
+
+The @option{--stable} (@option{-s}) option also disables the
last-resort comparison so that lines in which all fields compare equal
are left in their original relative order. If no fields or global
options are specified, @option{--stable} (@option{-s}) has no effect.
_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-coreutils