]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Mon, 26 Apr 2004 15:45:53 +0000 (15:45 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 26 Apr 2004 15:45:53 +0000 (15:45 +0000)
ChangeLog

index b4d6ad79cbc6d03590725e1d21588c4a8bdf98ae..c36080d236eaf7244c85357704bcedd2481b87d3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,34 @@
+2004-04-26  Jim Meyering  <jim@meyering.net>
+
+       * src/sort.c (limfield): Make a comment clearer.
+
+2004-04-25  Paul Eggert  <eggert@twinsun.com>
+
+       Fix POSIX-conformance bug: "sort -k 3,3.5b" is supposed to skip
+       leading blanks when computing the location of the field end;
+       it is not supposed to skip trailing blanks.  Solaris 8 "sort"
+       does conform to POSIX.  Also fix the documentation to clarify
+       this and related issues.
+
+       * doc/coreutils.texi (sort invocation): Mention -k earlier, so
+       that the options are in alphabetical order.  Describe how -b works
+       more-accurately; this involves fixing some examples, too.  Mention
+       what happens if the start field falls after an end field or after
+       a line end.  Warn about using -k without -b, -g, -M, -n, or -t.
+       Add an example of how to sort IPv4 addresses and Apache Common
+       Log Format dates.  Remove a duplicate example.
+       (Putting the tools together): Use separate options rather
+       than agglomerating them.
+       * src/sort.c (limfield): Use skipeblanks, not skipsblanks, to
+       decode whether to skip leading blanks.
+       (trailing_blanks): Remove.
+       (fillbuf, getmonth, keycompare): Don't trim trailing blanks.
+
+       * tests/pr/Test.pm: Fix typo in env_default comment.
+       * tests/sort/Test.pm: Likewise.
+       (18c, 18d): Reverse the order of output lines, so that the
+       test cases conform to POSIX.
+
 2004-04-22  Paul Eggert  <eggert@twinsun.com>
 
        More signal-handling cleanup for ls.c.  Do not allow signals to