[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gethostname
From: |
Eric Blake |
Subject: |
Re: gethostname |
Date: |
Wed, 13 Aug 2008 05:59:44 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080708 Thunderbird/2.0.0.16 Mnenhy/0.7.5.666 |
-----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 address@hidden
-----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-----
- Re: gethostname, (continued)
- Re: gethostname, Sam Steingold, 2008/08/12
- Re: gethostname, Ben Pfaff, 2008/08/12
- Re: gethostname, Sam Steingold, 2008/08/12
- Re: gethostname, Ben Pfaff, 2008/08/12
- Re: gethostname, Sam Steingold, 2008/08/12
- Re: gethostname, Simon Josefsson, 2008/08/12
- Re: gethostname, Bruno Haible, 2008/08/12
- Re: gethostname, Ben Pfaff, 2008/08/12
- Re: gethostname, Bruno Haible, 2008/08/13
- Re: gethostname, Simon Josefsson, 2008/08/13
- Re: gethostname,
Eric Blake <=
- Re: gethostname, Simon Josefsson, 2008/08/12
- Re: gethostname, Sam Steingold, 2008/08/12
- Re: gethostname, Simon Josefsson, 2008/08/12
- Re: gethostname, Ben Pfaff, 2008/08/12
- Re: gethostname, Matthew Woehlke, 2008/08/12
- Re: gethostname, Bruno Haible, 2008/08/12