Script style: ` or $()?

Doug Barton dougb at FreeBSD.org
Fri Jun 1 01:51:00 UTC 2012


On 5/31/2012 2:29 PM, Chris Rees wrote:
> Seems that either no preference or $() is the rule,

I not only wouldn't say that, I didn't when I responded previously. :)

> 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.

Valid point, except that he specified that he is writing an rc.d script
(which makes sense considering the list ...).

Doug

-- 

    This .signature sanitized for your protection


More information about the freebsd-rc mailing list