From owner-freebsd-rc@FreeBSD.ORG Fri Jun 1 01:50:59 2012 Return-Path: <owner-freebsd-rc@FreeBSD.ORG> Delivered-To: freebsd-rc@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id E42461065673; Fri, 1 Jun 2012 01:50:59 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from [127.0.0.1] (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id E15A71A7DC9; Fri, 1 Jun 2012 01:49:54 +0000 (UTC) Message-ID: <4FC81FC2.1020307@FreeBSD.org> Date: Thu, 31 May 2012 18:49:54 -0700 From: Doug Barton <dougb@FreeBSD.org> Organization: http://www.FreeBSD.org/ User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Chris Rees <crees@FreeBSD.org> References: <4FC694C9.9040501@delphij.net> <CADLo83-FhG13uwspUd=JmjO+rY=D5rMW4F5hEbnmHqkjQaq40Q@mail.gmail.com> In-Reply-To: <CADLo83-FhG13uwspUd=JmjO+rY=D5rMW4F5hEbnmHqkjQaq40Q@mail.gmail.com> X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-rc@freebsd.org, d@delphij.net Subject: Re: Script style: ` or $()? X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." <freebsd-rc.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-rc>, <mailto:freebsd-rc-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-rc> List-Post: <mailto:freebsd-rc@freebsd.org> List-Help: <mailto:freebsd-rc-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-rc>, <mailto:freebsd-rc-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 01 Jun 2012 01:51:00 -0000 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