From owner-cvs-all@FreeBSD.ORG Tue Nov 28 04:37:59 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DF21E16A403; Tue, 28 Nov 2006 04:37:59 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30F0945014; Mon, 27 Nov 2006 22:55:15 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.3) with ESMTP id kARMuGss090756; Tue, 28 Nov 2006 01:56:16 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.3/Submit) id kARMuG5c090755; Tue, 28 Nov 2006 01:56:16 +0300 (MSK) (envelope-from yar) Date: Tue, 28 Nov 2006 01:56:15 +0300 From: Yar Tikhiy To: "Greg 'groggy' Lehey" Message-ID: <20061127225615.GA90569@comp.chem.msu.su> References: <200611261903.kAQJ3KPp013911@repoman.freebsd.org> <20061127130323.GC77085@comp.chem.msu.su> <20061127223644.GV42090@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061127223644.GV42090@wantadilla.lemis.com> User-Agent: Mutt/1.5.9i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, Florent Thoumie Subject: Re: Style strangenesses (was: cvs commit: src/etc rc.subr) X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Nov 2006 04:38:00 -0000 On Tue, Nov 28, 2006 at 09:06:44AM +1030, Greg 'groggy' Lehey wrote: > On Monday, 27 November 2006 at 16:03:24 +0300, Yar Tikhiy wrote: > > By the way, now the output follows the NetBSD rc.conf style: > > > > # $foo_enable > > foo_enable=YES > > > > Could it be changed even further to match our own rc.conf style? > > I.e.: > > > > # $foo_enable > > foo_enable="YES" > > Can somebody justify this style to me? IMHO, it is uniform a) to make automatic changes easy, and b) to prevent newbie questions on sh(1) syntax: "Who said sh(1)? Forget it and just use the quotes." :-) > It seems unnecessarily > confusing, like Microsoft mail headers with > > To: "'Fred Bloggs'" If Microsoft insist that the user's display name is 'Fred Bloggs', with apostrophes, they are free to use the double quotes around it. RFC 2822 discourages unneeded quoted-string in local-part only. :-) -- Yar