Martin MOKREJ� <[EMAIL PROTECTED]> wrote:
> So, when could I get new version of coreutils with overtaken
> hostname? ;)

Merging the hostname from gettext (not from net-tools) is in the TODO
file in coreutils-5.2.1.  Jim said:
>> Adding Bruno's hostname changes (including -s) is on
>> the list for the next test release.

That implementation is pretty full-featured:
$ lib/gettext/hostname --help
Usage: lib/gettext/hostname [OPTION]

Print the machine's hostname.

Output format:
  -s, --short                 short host name
  -f, --fqdn, --long          long host name, includes fully qualified domain
                                name, and aliases
  -i, --ip-address            addresses for the hostname

Informative output:
  -h, --help                  display this help and exit
  -V, --version               output version information and exit

Report bugs to <[EMAIL PROTECTED]>.


paul


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to