bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6442: About the modifier of -k option in sort


From: Pádraig Brady
Subject: bug#6442: About the modifier of -k option in sort
Date: Thu, 17 Jun 2010 09:30:00 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

On 17/06/10 03:07, Peng Yu wrote:
> Hello,
> 
> The modifiers of -k are discussed in the examples in 'info sort'
> rather than in the main entry of "-k". I feel that this be improved by
> clearly describe each modifier under the main entry of "-k". It is not
> very clear to how many modifiers there are.
> 

The sort --help (man) output has been improved lately,
to group the ordering options, and these are referenced in
the detailed description of POS
You are looking at the latest version right?
Would the following be enough to highlight the info you might have missed?

--- a/src/sort.c
+++ b/src/sort.c
@@ -386,7 +386,7 @@ Other options:\n\
 "), stdout);
       fputs (_("\
   -k, --key=POS1[,POS2]     start a key at POS1 (origin 1), end it at POS2\n\
-                            (default end of line)\n\
+                            (default end of line).  See POS syntax below\n\
   -m, --merge               merge already sorted files; do not sort\n\
 "), stdout);
       fputs (_("\





reply via email to

[Prev in Thread] Current Thread [Next in Thread]