Dears,

I need to report a bug in the manpage for 'sort'.
I did consult the texinfo documentation, but it was identical to the
manpage.

The bug: it is not explained sufficiently how to specify fields and where
the sorting options for the fields should be. 

An example: Using ':' as a field separator I want to sort lines in such 
a way that the following order results:

30:2
20:10
3:10

The options are: (1) the second field takes precedence over the first and
(2) the second field is sorted numerically, the first alphanumerically.

Does one specify   sort -t : +1 -n +0 
or                 sort -t : -n +1 +0
or                 sort -t : +1 -n -2 +0 -1 ?

In fact I have tried more variants than you can immagine and none of them
has the desired effect. I therefore conclude that the manpage needs an
example and that I cannot supply one, because, I'm sorry, I don't get it.

Please can someone help me and then update the manpage? Or let me update
the manpage. Glad to. But I need the syntax explained first.

Mark Roberts


P.S. I haven't looked at the source yet. It's an idea though. And I havn't
tried finding documentation for other 'sort'-programs which would be
compatible (DEC UNIX sort, for instance). 

But using 'TeX', 'sort', 'gawk' and 'make' my document has an always up to
date index, which is lovely. 'GNU-make' is the best program ever. 

Reply via email to