Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Nov 2006 01:56:15 +0300
From:      Yar Tikhiy <yar@comp.chem.msu.su>
To:        "Greg 'groggy' Lehey" <grog@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, Florent Thoumie <flz@FreeBSD.org>
Subject:   Re: Style strangenesses (was: cvs commit: src/etc rc.subr)
Message-ID:  <20061127225615.GA90569@comp.chem.msu.su>
In-Reply-To: <20061127223644.GV42090@wantadilla.lemis.com>
References:  <200611261903.kAQJ3KPp013911@repoman.freebsd.org> <20061127130323.GC77085@comp.chem.msu.su> <20061127223644.GV42090@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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'" <fred@nowhere.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061127225615.GA90569>