From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 3 00:36:17 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06AE416A4CE for ; Thu, 3 Feb 2005 00:36:17 +0000 (GMT) Received: from suricate.otoh.org (suricate.otoh.org [64.81.247.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF22643D1D for ; Thu, 3 Feb 2005 00:36:14 +0000 (GMT) (envelope-from freebsdhackers@otoh.org) Received: from 64.81.247.155 (suricate.otoh.org [64.81.247.155]) by suricate.otoh.org (Postfix) with SMTP id 2EA587DC945; Wed, 2 Feb 2005 16:36:14 -0800 (PST) Received: by suricate.otoh.org (Postfix, from userid 1001) id BFF437DC915; Wed, 2 Feb 2005 16:36:13 -0800 (PST) Date: Wed, 2 Feb 2005 16:36:13 -0800 From: Paul Armstrong To: Romain Kang , David Scheidt , hackers@freebsd.org Message-ID: <20050203003613.GQ32260@suricate.otoh.org> References: <420010BC.9080400@attglobal.net> <20050202012119.GA48725@kzsu.stanford.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050202012119.GA48725@kzsu.stanford.edu> X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on suricate.otoh.org X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.5 tests=none autolearn=no version=2.64 Subject: Re: /etc/hosts lines starting with white space are ignored X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Feb 2005 00:36:17 -0000 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