[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sort: no bug (was: Re: sort: bug in handling of -k r.s,x.y)
From: |
Walter Belgers |
Subject: |
sort: no bug (was: Re: sort: bug in handling of -k r.s,x.y) |
Date: |
23 Aug 2001 14:36:25 GMT |
User-agent: |
slrn/0.9.6.3 (SunOS) |
In article <address@hidden>, Andreas Schwab wrote:
>|> 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.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Argh. And I thought reading the specs twice was enough not to miss
anything important. Thanks for making things clear!
Walter.
--
ir. Walter Belgers AT Computing, Nijmegen, Netherlands +31(0)243527226
http://www.belgers.com/ Youth is not a time in life, it is a state of mind