Date: Thu, 31 May 2012 09:34:44 -0600 From: Warner Losh <imp@bsdimp.com> To: Lars Engels <lars.engels@0x20.net> Cc: freebsd-rc@FreeBSD.org, d@delphij.net Subject: Re: Script style: ` or $()? Message-ID: <9517E9EE-768A-47E9-B2B6-CDD52E0AE94B@bsdimp.com> In-Reply-To: <20120531052006.GR39168@e-new.0x20.net> References: <4FC694C9.9040501@delphij.net> <20120531052006.GR39168@e-new.0x20.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On May 30, 2012, at 11:20 PM, Lars Engels wrote: > On Wed, May 30, 2012 at 02:44:41PM -0700, Xin Li wrote: >> Hi, >>=20 >> Is there any rule of style for new code that ` or $() is preferred? >>=20 >> Thanks in advance! >=20 > I would always go for $(), because you can easily nest it. My observation is that the project used to use the ` form in its early = days, but as people discover $(), they have migrated to it in general. = The rc scripts, however, seem to prefer the ` form over the $( form 214 = to 37. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9517E9EE-768A-47E9-B2B6-CDD52E0AE94B>