dear Michael Fratoni,

> 
> I knew it looked too easy. ;)
> 
> However, can't you use sort's uniq flag (-u) with -n for a numeric sort?

Oh! I didn't know sort -u option!
uniq command does not need if we use sort -u ,does it?

> $ sort -k 2 -nu test.txt
> 
> AAAA    10      387
> CCCCC   77777   5
> 

That is exactly I want to do.
Thank you very much.

regards,

-- 
Youichi Mano <[EMAIL PROTECTED]>




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to