From owner-freebsd-questions@FreeBSD.ORG Sat Mar 21 16:29:53 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 962E71065672 for ; Sat, 21 Mar 2009 16:29:53 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.freebsd.org (Postfix) with ESMTP id 6BC9E8FC13 for ; Sat, 21 Mar 2009 16:29:53 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 7821 invoked from network); 21 Mar 2009 16:29:53 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 21 Mar 2009 16:29:52 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 5C68650824 for ; Sat, 21 Mar 2009 12:29:47 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 68E7B1D21B; Sat, 21 Mar 2009 12:29:46 -0400 (EDT) To: freebsd-questions@freebsd.org References: <20090321124859.GA27682@anton.digitaltorque.ca> <20090321142122.GA99623@torus.slightlystrange.org> From: Lowell Gilbert Date: Sat, 21 Mar 2009 12:29:45 -0400 In-Reply-To: <20090321142122.GA99623@torus.slightlystrange.org> (Daniel Bye's message of "Sat\, 21 Mar 2009 14\:21\:22 +0000") Message-ID: <44tz5m7sau.fsf@lowell-desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 16:29:53 -0000 "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. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/