Michael Stone wrote:
On Thu, May 18, 2006 at 05:55:03PM +0200, Eugen Dedu wrote:
snoopy:~/work$ cat test-sort 12 3
12 24
snoopy:~/work$ sort -n -k1,2 test-sort 12 24
12 3

(23)osgiliath:/tmp> sort -n -k1,1 -k2,2 test-sort
12 3
12 24

I understand, I'm sorry, I didn't know how to work with keys.

In this case I think it would be useful to give more information in the man page. For example, add an EXAMPLES section with exactly this case, or add a sentence to the -k option such as "several keys may be added in order to sort by several fields" (or something like that).

Also, in the man page, I think it would be useful to precise the difference between numerical sort (-n) and general numerical sort (-g). (For example, I don't know the difference).

Thank you for your reply.

Friendly,
--
Eugen Dedu


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to