From owner-freebsd-questions@FreeBSD.ORG Thu Feb 24 21:02:24 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A82901065694 for ; Thu, 24 Feb 2011 21:02:24 +0000 (UTC) (envelope-from rfarmer@predatorlabs.net) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 394FB8FC20 for ; Thu, 24 Feb 2011 21:02:24 +0000 (UTC) Received: by wwb31 with SMTP id 31so1298306wwb.31 for ; Thu, 24 Feb 2011 13:02:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=predatorlabs.net; s=google; h=domainkey-signature:mime-version:x-originating-ip:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=6lOuwYcqy7XQ6TAe5ibNV5OlMKh/SU9FbcUqJZtuhBg=; b=AemdnbPS/KBP/7eMMMmBiFBgz0gYOGtD1dYSB7PS0jhKqvA//TxZmHxftyVhQ5/9cA pTCkfSJzGlYeClg1TaFLtzE59teGtq3JGZD6U7S/o+802TxMmMuRMwLC5jRetiJooNcb 1SLVzwM/dT1KRJXITqooeLIYIRvENq3U280/o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=predatorlabs.net; s=google; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=RjxZhomKHJmQI4TYXg3itqxWqlYsr6RwWZmapj8kxpFGtUQ1wfS3DYYBatU4QZDfvq DGMbBhf0b44zIxAOv4Ia3X1tkvN2aRobcL0DX257lva2hSld/RWwo8ThjCS3Z0krJ16p dG65RosbS5oU6PTVnVUxZqNyQHbNmNzkpLl7k= MIME-Version: 1.0 Received: by 10.216.185.142 with SMTP id u14mr6344715wem.31.1298581342726; Thu, 24 Feb 2011 13:02:22 -0800 (PST) Received: by 10.216.157.139 with HTTP; Thu, 24 Feb 2011 13:02:22 -0800 (PST) X-Originating-IP: [128.95.133.23] In-Reply-To: References: <4D61599E.4040008@gmail.com> Date: Thu, 24 Feb 2011 13:02:22 -0800 Message-ID: From: Rob Farmer To: Thorsten Glaser Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Backtick versus $() X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 21:02:24 -0000 On Thu, Feb 24, 2011 at 12:51 PM, Thorsten Glaser wrote: > Andres Perera zoho.com> writes: > >> "mandated by posix" and reality usually aren't in sync, as i'm sure you = know > by > > In this case, closely enough. > >> now since you pointed out solaris > > It=92s just /bin/sh on long outdated versions (newer ones, both > from Horracle and not, have AT&T ksh93 there instead). No need > to use it, anyway. sh scripts can usually depend on a POSIX > shell (and it=92s sensible to do so). Some operating environments > have guaranteed that (MirBSD even guarantees mksh but Debian > Policy =A710.4 explicitly states POSIX plus a few extensions). > > And AFAIK all FreeBSD=AE shells have it. Have you used the default FreeBSD shell (tcsh) recently? [rfarmer@sapphire] ~> echo $(date ) Illegal variable name. [rfarmer@sapphire] ~> echo `date` Thu Feb 24 12:59:00 PST 2011 [rfarmer@sapphire] ~> uname -a FreeBSD sapphire.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r218838: Sat Feb 19 03:39:34 PST 2011 rfarmer@sapphire.predatorlabs.net:/usr/obj/usr/src/sys/SAPPHIRE amd64 And I read the article you posted - basically it seemed to say "some keyboards are screwed up, so rather than fix them would everyone stop using this character please." I have a good feeling what the success rate of that will be. --=20 Rob Farmer