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

Bug#373704: sort -k does not count fields the same as gnu sort



On Saturday 13 January 2007 13:50, Frans Pop wrote:
> Conclusion: when sorting with delimiter on the last field, the
> last-but-one field is sorted instead.
[...]
> Conclusion: with a leading delimiter, the sort is somehow _always_ done
> on the first field.

The last conclusion is not correct as the sort is not done on the first, 
but on the second field as the leading "null" field should be counted as 
well.

This actually makes the sorting with and without leading delimiter a lot 
more similar: it looks as if sorting past the second field is somehow not 
supported.

Attachment: pgpPsoAP6WZmH.pgp
Description: PGP signature


Reply to: