From owner-freebsd-questions@FreeBSD.ORG Sat Mar 21 19:01:39 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 E691E1065705 for ; Sat, 21 Mar 2009 19:01:39 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.freebsd.org (Postfix) with ESMTP id BFEB28FC08 for ; Sat, 21 Mar 2009 19:01:39 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: (qmail 13242 invoked from network); 21 Mar 2009 18:34:58 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 21 Mar 2009 18:34:58 -0000 Message-ID: <49C53351.9040800@telenix.org> Date: Sat, 21 Mar 2009 14:34:57 -0400 From: Chuck Robey User-Agent: Thunderbird 2.0.0.19 (X11/20090121) MIME-Version: 1.0 To: Lowell Gilbert References: <20090321124859.GA27682@anton.digitaltorque.ca> <20090321142122.GA99623@torus.slightlystrange.org> <44tz5m7sau.fsf@lowell-desk.lan> In-Reply-To: <44tz5m7sau.fsf@lowell-desk.lan> X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: bash suddenly doesn't like $() syntax 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: Sat, 21 Mar 2009 19:01:40 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lowell Gilbert wrote: Oh, crap, I flubbed it about the bash error. It's SO often something claimed by folks, I knee-jerked that it had to be a previous line in error. Sorry. > "Daniel Bye" writes: > >> On Sat, Mar 21, 2009 at 08:49:01AM -0400, Michael P. Soulier wrote: >>> Hello, >>> >>> 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 >>> >>> -bash: command substitution: line 39: syntax error near unexpected token `)' >>> -bash: command substitution: line 39: ` }")' >>> >>> It would see that bash no longer likes the $() command substitution syntax. >>> >>> Does that mean that it's defaulting to some sort of posix compatibility mode >>> now? >> 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. > > Which happened a week ago. > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknFM1AACgkQz62J6PPcoOm6ZgCdEobknTEk0bl4E5xWGX7uJmBf zfQAniMO5Isd9x96j/ZCYQdP9fpVtBj1 =hD1K -----END PGP SIGNATURE-----