bug-coreutils
[Top][All Lists]
Advanced

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

Re: bug in hostname


From: Jim Meyering
Subject: Re: bug in hostname
Date: Fri, 23 Jan 2004 16:49:35 +0100

Bruno Haible <address@hidden> wrote:
> But OTOH, I didn't follow compatibility with Linux /bin/hostname in two
> points:
>   - When the machine has multiple long names (i.e. some aliases),
>     my "hostname -f" prints them all, one per line. Linux "/bin/hostname -f"
>     prints only the first one, but has an extra option "-a":
>     "/bin/hostname -a" prints the names except the first one, all in one
>     line, each followed by a space.
>   - "hostname -i" surrounds the IP address with brackets in my implementation,
>     whereas it does not in the Linux /bin/hostname.

Wouldn't it be better to remain compatible with the
Linux /bin/hostname?




reply via email to

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