From owner-freebsd-stable@FreeBSD.ORG Fri May 25 05:44:55 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFFF3106566B; Fri, 25 May 2012 05:44:55 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) by mx1.freebsd.org (Postfix) with ESMTP id 313F68FC08; Fri, 25 May 2012 05:44:54 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.5/8.14.5) with ESMTP id q4P5iicI071005 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 May 2012 07:44:44 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.5/8.14.5/Submit) with ESMTP id q4P5iiQJ071002; Fri, 25 May 2012 07:44:44 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Fri, 25 May 2012 07:44:39 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: sbruno@freebsd.org In-Reply-To: <1337890075.2709.16.camel@powernoodle-l7.corp.yahoo.com> Message-ID: References: <1337890075.2709.16.camel@powernoodle-l7.corp.yahoo.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-446179856-1337924684=:84474" X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no Cc: "freebsd-stable@freebsd.org" Subject: Re: bash 4.2 patchlevel 28 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2012 05:44:55 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-446179856-1337924684=:84474 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 24 May 2012 13:07-0700, Sean Bruno wrote: > Noted that the following syntax is broken somewhere between 4.2 > patchlevel 10 and 28. I'm sure its because we shouldn't be doing that > over here at big purple, but we do ... and its a PITA. I'm bisecting to > find out what is going on. > > test: > VARIABLE="$(uname)" > bash: command substitution: line 3: syntax error near unexpected token > `)' > bash: command substitution: line 3: `uname)"' > > Odd, but his works at patchlevel 10 I'm unable to reproduce this behaviour on one of my systems: trond@enterprise:~>bash --version GNU bash, version 4.2.28(0)-release (amd64-portbld-freebsd9.0) Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. trond@enterprise:~>my_var="$(uname)" trond@enterprise:~>echo $my_var FreeBSD trond@enterprise:~> I'm not sure what's going on in your case. - -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. dir. 61 14 54 39, | Office.....: +47 61 14 54 39, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk+/HEwACgkQbYWZalUoElvZYwCeLq5IHGp2dLyf+pcbzC1jk3RK us4An1AX5SelbwMEEVmooiopPmF9SAlI =9bTW -----END PGP SIGNATURE----- --2055831798-446179856-1337924684=:84474--