bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: sort: bug in handling of -k r.s,x.y


From: Andreas Schwab
Subject: Re: sort: bug in handling of -k r.s,x.y
Date: 23 Aug 2001 15:56:06 +0200
User-agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.0.105

address@hidden (Walter Belgers) writes:

|> Hi,
|> 
|> I think I've found a bug in sort. When using the field.character
|> notation in the -k option, all works fine when sorting the first field.
|> However, for fields 2 and up, specifying a begin and end character
|> within the field does not work correctly.

No, the results are correct.  From SUS2:

A field comprises a maximal sequence of non-separating characters and, in
the absence of option -t, any preceding field separator.
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
address@hidden
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5



reply via email to

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