Date: Sat, 21 Mar 2009 14:21:22 +0000 From: "Daniel Bye" <danielby@slightlystrange.org> To: freebsd-questions@freebsd.org Subject: Re: bash suddenly doesn't like $() syntax Message-ID: <20090321142122.GA99623@torus.slightlystrange.org> In-Reply-To: <20090321124859.GA27682@anton.digitaltorque.ca> References: <20090321124859.GA27682@anton.digitaltorque.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090321142122.GA99623>