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

According to Simon Josefsson on 8/13/2008 4:59 AM:
| Is there a sort option that results in the output being something like
| the below?
|
|      libnsl              solaris-2.4
|      libc                solaris-2.5.1
|      libnsl              solaris-2.5.1
|      libc                solaris-2.10
|      libnsl              solaris-2.10
|
| I.e., normal alphabetical, but sort digits in numeral order.

Sounds like you want version comparison (based on strverscmp).  This has
been proposed for GNU coreutils, but is not present yet as of 6.12.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiizLAACgkQ84KuGfSFAYDr1ACeJQpZyAzbP2hmTyIVINnzZnO4
GUUAoIv+MYqhWadUKtsZ6pk5zVXy586a
=U/xG
-----END PGP SIGNATURE-----


Reply via email to