Reading the --help text of 'seq' (5.1.3 from alpha) I'm inclined to
assume

    seq 3 1

and

    seq 3 -1 1

should result in the same output:

    3
    2
    1

But 'seq 3 1' does not produce any output.  The --help text:

    INCREMENT is usually negative if FIRST is greater than LAST.

Maybe, current behavior is covered by the meaning of "usually" (I'm not
a native speaker, you know).

You may also nuke this surious space at the end of the line:

--- coreutils-5.1.3/src/seq.c.~1~       2004-02-07 21:39:17.000000000 +0100
+++ coreutils-5.1.3/src/seq.c   2004-06-14 10:16:10.566674019 +0200
@@ -96,7 +96,7 @@
       fputs (_("\
 \n\
 If FIRST or INCREMENT is omitted, it defaults to 1.  That is, an\n\
-omitted INCREMENT defaults to 1 even when LAST is smaller than FIRST.\n \
+omitted INCREMENT defaults to 1 even when LAST is smaller than FIRST.\n\
 FIRST, INCREMENT, and LAST are interpreted as floating point values.\n\
 INCREMENT is usually positive if FIRST is smaller than LAST, and\n\
 INCREMENT is usually negative if FIRST is greater than LAST.\n\



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

Reply via email to