[Top][All Lists]

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

bug#10019: sort options -Mn are incompatible

From: Jim Meyering
Subject: bug#10019: sort options -Mn are incompatible
Date: Wed, 16 Nov 2011 18:21:08 +0100

Eric Blake wrote:
> Sure.  Here's the current state of things in patch format; any last
> objections before I push this?
> Subject: [PATCH] sort: clarify wording on -k syntax
> * src/sort.c (usage): Use KEYDEF instead of POS, and call out the
> specific OPTS that can occur in KEYDEF.
> Based on a report by Lars Noodén, http://bugs.gnu.org/10019
> +KEYDEF is F[.C][OPTS][,F[.C][OPTS]] for start and stop position, where
> F is a\n\
> +field number and C a character position in the field; both are origin
> 1, and\n\
> +the stop position defaults to the line's end.  If neither -t nor -b is
> in\n\
> +effect, characters in a field are counted from the beginning of the
> preceding\n\
> +whitespace.  OPTS is one or more single-letter ordering options
> [bdfgiMhnRrV],\n\
> +which override global ordering options for that key.  If no key is
> given, use\n\
> +the entire line as the key.\n\

Thanks.  That reads well.
Note that some tool of yours appears to have split many lines of that patch.

reply via email to

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