Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2012 18:49:54 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Chris Rees <crees@FreeBSD.org>
Cc:        freebsd-rc@freebsd.org, d@delphij.net
Subject:   Re: Script style: ` or $()?
Message-ID:  <4FC81FC2.1020307@FreeBSD.org>
In-Reply-To: <CADLo83-FhG13uwspUd=JmjO%2BrY=D5rMW4F5hEbnmHqkjQaq40Q@mail.gmail.com>
References:  <4FC694C9.9040501@delphij.net> <CADLo83-FhG13uwspUd=JmjO%2BrY=D5rMW4F5hEbnmHqkjQaq40Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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