bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in hostname


From: Paul Jarc
Subject: Re: bug in hostname
Date: Sat, 03 Apr 2004 20:11:40 -0500
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)

Martin MOKREJŠ <address@hidden> 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 <address@hidden>.


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]