[Top][All Lists]

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

bug#10019: sort options -Mn are incompatible

From: Eric Blake
Subject: bug#10019: sort options -Mn are incompatible
Date: Wed, 16 Nov 2011 11:21:28 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1

On 11/12/2011 06:54 AM, Eric Blake wrote:
> POS is F[.C][OPTS], where F is the field number and C the character position
> in the field; both are origin 1.  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, which override global ordering
> options for that key.  If no key is given, use the entire line as the key.
> In particular, -k1b,1 is different than -k1,1b, but most other OPTS can
> occur in either position with no change in behavior.
> I like [OPTS] slightly better than [ORD], given that you can have more
> than one (as in -k1bn,1).

In fact, this thread prompted me to file a bug against POSIX, where a
strict reading of the existing text says that portable clients cannot
use more than one OPT simultaneously, even though all implementations
that I tried support that usage.


Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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