Script style: ` or $()?

Chris Rees crees at FreeBSD.org
Thu May 31 21:29:54 UTC 2012


On 30 May 2012 22:44, Xin Li <delphij at 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


More information about the freebsd-rc mailing list