From owner-freebsd-questions@FreeBSD.ORG Sat Mar 21 14:21:28 2009 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 2D67C10656DD for ; Sat, 21 Mar 2009 14:21:28 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from mtaout02-winn.ispmail.ntl.com (mtaout02-winn.ispmail.ntl.com [81.103.221.48]) by mx1.freebsd.org (Postfix) with ESMTP id 7CAE68FC28 for ; Sat, 21 Mar 2009 14:21:27 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090321142125.BBFG4080.mtaout02-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Sat, 21 Mar 2009 14:21:25 +0000 Received: from catflap.slightlystrange.org ([82.21.101.171]) by aamtaout03-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090321142125.GAHW2093.aamtaout03-winn.ispmail.ntl.com@catflap.slightlystrange.org> for ; Sat, 21 Mar 2009 14:21:25 +0000 Received: by catflap.slightlystrange.org (Postfix, from userid 106) id 4B8C266EF; Sat, 21 Mar 2009 14:21:23 +0000 (GMT) Received: from torus.slightlystrange.org (torus.slightlystrange.org [10.1.3.50]) by catflap.slightlystrange.org (Postfix) with SMTP id AFA6166E8 for ; Sat, 21 Mar 2009 14:21:22 +0000 (GMT) Received: by torus.slightlystrange.org (sSMTP sendmail emulation); Sat, 21 Mar 2009 14:21:22 +0000 From: "Daniel Bye" Date: Sat, 21 Mar 2009 14:21:22 +0000 To: freebsd-questions@freebsd.org Message-ID: <20090321142122.GA99623@torus.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <20090321124859.GA27682@anton.digitaltorque.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb" Content-Disposition: inline In-Reply-To: <20090321124859.GA27682@anton.digitaltorque.ca> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 7.1-STABLE i386 X-Cloudmark-Analysis: v=1.0 c=1 a=cxg5JRxgiXAA:10 a=ehNlctqhnw0A:10 a=fkWhYGHMheT3R4dsNnYA:9 a=yLQV3RLV_pfT59BtsHxbamneJ4EA:4 a=LY0hPdMaydYA:10 a=Ret2TRKzQmGui9sHLSUA:9 a=rtHyF-usU_rr3hbsjVH6TuUONDAA:4 a=rPt6xJ-oxjAA:10 Subject: Re: bash suddenly doesn't like $() syntax X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2009 14:21:28 -0000 --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 21, 2009 at 08:49:01AM -0400, Michael P. Soulier wrote: > Hello, >=20 > I'm running the shells/bash port on 6.3, and I recently ran a portupgrade= . All > of a sudden when I login, my standard .profile and .bashrc are causing a = bunch > of error messages, like so >=20 > -bash: command substitution: line 39: syntax error near unexpected token = `)' > -bash: command substitution: line 39: ` }")' >=20 > It would see that bash no longer likes the $() command substitution synta= x. >=20 > Does that mean that it's defaulting to some sort of posix compatibility m= ode > now?=20 It's a bug in bash 4. It was discussed here a few days ago. I would deinstall v.4 and install shells/bash3 until the bug's fixed. Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAknE9+IACgkQixf5fBYiFmrjyACfb73GetkS4otabMj5/LkfZE1O X5sAmQH/TP7V9ZJKgg/93/y8UydofKSk =eVuC -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb--