[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in hostname
From: |
Bruno Haible |
Subject: |
Re: bug in hostname |
Date: |
Fri, 23 Jan 2004 17:08:18 +0100 |
User-agent: |
KMail/1.5 |
Jim Meyering 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?
I don't know. Now is a good opportunity to correct things that the Linux
/bin/hostname does wrong. Maybe a networking guru can tell
- whether there is a semantic difference between the first hostname and
the other ones ("aliases")?
- why some programs expect IP addresses with brackets and some don't?
Bruno
- Re: bug in hostname, (continued)
Re: bug in hostname, Bruno Haible, 2004/01/18
- Re: bug in hostname, Jim Meyering, 2004/01/17
- Re: bug in hostname, Bruno Haible, 2004/01/18
- Re: bug in hostname, Jim Meyering, 2004/01/21
- Re: bug in hostname, Bruno Haible, 2004/01/21
- Re: bug in hostname, Jim Meyering, 2004/01/21
- Re: bug in hostname, Bob Proulx, 2004/01/23
- Re: bug in hostname, Jim Meyering, 2004/01/23
- Re: bug in hostname,
Bruno Haible <=
- Re: bug in hostname, Jim Meyering, 2004/01/23
- Re: bug in hostname, Bruno Haible, 2004/01/23
- Re: bug in hostname, Paul Jarc, 2004/01/23
- Re: bug in hostname, Bob Proulx, 2004/01/24
- Re: bug in hostname, Paul Jarc, 2004/01/24
- Re: bug in hostname, Bruno Haible, 2004/01/25
- Re: bug in hostname, Paul Jarc, 2004/01/25