GNU Core Utilities - Bugs: bug #17956, "sort" manual should...
You are not allowed to post comments on this tracker with your current authentication level.
bug #17956: "sort" manual should mention that fields are numbered starting from 1
Submitter: | None | ||
Submitted: | Mon 09 Oct 2006 06:33:44 PM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | None | Status: | Fixed |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed |
Mon 09 Oct 2006 11:28:31 PM UTC, comment #1: |
Paul Eggert <eggert> |
Mon 09 Oct 2006 06:33:44 PM UTC, original submission:
sort (GNU coreutils) 5.97
|
Anonymous |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
CC list is empty
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2006-10-09 | eggert | Status | None | Fixed | |
Open/Closed | Open | Closed |
Powered by Savane 3.13-4b48.
Corresponding source code
The manual page says "origin 1" earlier, under -k, but I guess
you missed it. I guess it wouldn't hurt to say "origin 1" again,
so I installed this:
2006-10-09 Paul Eggert <eggert@cs.ucla.edu>
--- src/sort.c.~1.339.~ 2006-08-08 15:20:12.000000000 -0700
+++ src/sort.c 2006-10-09 16:24:50.000000000 -0700
@@ -337,7 +337,7 @@ Other options:\n\
fputs (_("\
\n\
POS is F[.C][OPTS], where F is the field number and C the character position\n\
-in the field. If neither the -t nor the -b option is in effect, the characters\n\
+in the field; both are origin 1. If neither -t nor -b is in effect, characters\n\
in a field are counted from the beginning of the preceding whitespace. OPTS is\n\
one or more single-letter ordering options, which override global ordering\n\
options for that key. If no key is given, use the entire line as the key.\n\