Re: /etc/hosts lines starting with white space are ignored
From: Paul Armstrong (freebsdhackers_at_otoh.org)
Date: 02/03/05
- Previous message: Aleksander Rozman - Andy: "Weird problem with midnight commander (Freebsd 5.3)"
- In reply to: Romain Kang: "Re: /etc/hosts lines starting with white space are ignored"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 2 Feb 2005 16:36:13 -0800 To: Romain Kang <romain@kzsu.stanford.edu>, David Scheidt <dmschei@attglobal.net>, hackers@freebsd.org
On Tue, Feb 01, 2005 at 05:21:19PM -0800, Romain Kang wrote:
> > If a line in /etc/hosts starts with a space or tab, it's not read. I'm
> > not sure that's really a desirable behavior. I'm quite sure it's not
> > the vehavior I expected.
>
> The format of /etc/hosts has been thus for more than 20 years over
> multiple platforms, so it's what everyone else expects. Sorry.
I'm not so sure it is actually.
Both Solaris and Linux (sorry, but these are the only 2 other platforms
I've got access to), accept lines beginning with space or tab (or both).
Paul
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Aleksander Rozman - Andy: "Weird problem with midnight commander (Freebsd 5.3)"
- In reply to: Romain Kang: "Re: /etc/hosts lines starting with white space are ignored"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|