Date: Thu, 31 May 2012 22:29:22 +0100 From: Chris Rees <crees@FreeBSD.org> To: d@delphij.net Cc: freebsd-rc@freebsd.org Subject: Re: Script style: ` or $()? Message-ID: <CADLo83-FhG13uwspUd=JmjO%2BrY=D5rMW4F5hEbnmHqkjQaq40Q@mail.gmail.com> In-Reply-To: <4FC694C9.9040501@delphij.net> References: <4FC694C9.9040501@delphij.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 30 May 2012 22:44, Xin Li <delphij@delphij.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Hi, > > Is there any rule of style for new code that ` or $() is preferred? > Seems that either no preference or $() is the rule, but if you're documenting a code example that is designed to be copy/pasted to a shell then you should use `` -- otherwise you make life very difficult for t?csh users. Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83-FhG13uwspUd=JmjO%2BrY=D5rMW4F5hEbnmHqkjQaq40Q>