]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Sat, 25 Aug 2001 15:09:36 +0000 (15:09 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 25 Aug 2001 15:09:36 +0000 (15:09 +0000)
old/textutils/ChangeLog

index 21c164639a8830a2d543b1612e0136951addf061..c682f4acdcd89c8c8dfe2e886dafb19727fbb6ab 100644 (file)
@@ -1,6 +1,22 @@
+2001-08-25  Jim Meyering  <meyering@lucent.com>
 
        * Version 2.0.15.
 
+2001-08-25  Paul Eggert  <eggert@twinsun.com>
+
+       * src/uniq.c (main): Fix a typo in the previous patch: missing
+       a bounds check for examples like `uniq a b c'.
+
+       * uniq.c (main): Fix some more incompatibilities with POSIX.2,
+       (e.g. `uniq +3 --' did not work) by invoking getopt_long with
+       leading '-', resembling what was done to 'sort' on 2001-03-20.
+       Recognize an +N option only if it is an integer in range, and
+       (if POSIXLY_CORRECT) only if a file name argument has not been seen;
+       otherwise silently treat it as a file name.
+
+       If the user specifies too many operands, output the first one
+       in the error message, as a diagnostic aid.
+
 2001-08-24  Paul Eggert  <eggert@twinsun.com>
 
        * src/uniq.c (main): Don't report an error when given the