-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 15 March 2003 11:35 pm, Youichi Mano wrote:
> 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?

No need for uniq, sort can do it by itself.

> > $ sort -k 2 -nu test.txt
> >
> > AAAA    10      387
> > CCCCC   77777   5
>
> That is exactly I want to do.
> Thank you very much.

Quite welcome, glad it worked.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+dAZan/07WoAb/SsRAp/qAKCqhxDIv6b1h8NMqMrKHGAZeRKtPwCfRsY6
tUzZ5II8Dw0LweYH8/mgFjM=
=PJ9b
-----END PGP SIGNATURE-----



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

Reply via email to