bug-coreutils
[Top][All Lists]
Advanced

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

bug#10019: sort options -Mn are incompatible


From: Paul Eggert
Subject: bug#10019: sort options -Mn are incompatible
Date: Sat, 12 Nov 2011 13:29:35 -0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

On 11/12/11 05:54, Eric Blake wrote:
>   -k --key=KEYDEF  control where a key starts and ends, and give
>                    ordering specific to the key. See KEYDEF below.
>
> KEYDEF is F[.C][OPTS][,F[.C][OPTS]], where F is a field number and C
> a character position in the field; both are origin 1.  If the second
> position is omitted, the key runs to the end of the line.  If neither
> -t nor -b is in effect, characters in a field are counted from the
> beginning of the preceding whitespace.  OPTS is one or more
> single-letter ordering options [bdfgiMhnRrV], which override global
> ordering options for that key.  If no key is given, use the entire line
> as the key.

That's nicer, but a bit longer.  How about this attempt to shorten its
first two sentences?

    -k, --key=KEYDEF          sort via a key; KEYDEF gives location and type

  ...

  KEYDEF is F[.C][OPTS][,F[.C][OPTS]], where F is a field number and C a
  character position in the field; both are origin 1, and the key's end
  defaults to the line's end.

with the remainder as before.






reply via email to

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