Date: Fri, 25 May 2012 12:20:09 -0400 From: Jason Hellenthal <jhellenthal@dataix.net> To: Chris Rees <utisoft@gmail.com> Subject: Re: bash 4.2 patchlevel 28 Message-ID: <20120525162008.GA2504@DataIX.net> In-Reply-To: <7288e440-9637-4214-81ae-78d7f54dd61f@email.android.com> References: <1337890075.2709.16.camel@powernoodle-l7.corp.yahoo.com> <alpine.BSF.2.00.1205250742580.84474@mail.fig.ol.no> <20120525154530.GA2272@DataIX.net> <7288e440-9637-4214-81ae-78d7f54dd61f@email.android.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 25, 2012 at 04:58:48PM +0100, Chris Rees wrote: > > > Jason Hellenthal <jhellenthal@dataix.net> wrote: > > > > > > >On Fri, May 25, 2012 at 07:44:39AM +0200, Trond Endrest?l wrote: > >> 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 > >> <http://gnu.org/licenses/gpl.html> > >> > >> 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. > >> > > > >Same here but on 8.3-STABLE i386 > > Common misconception- it's actually 8-STABLE; no minor version. > Common mistake not noting 8-STABLE with a revision number attached to it. Its either 8-STABLE @rNNNNNN - This could be anything from 8.0 -> now(); - or - 8.3-STABLE which designates that it is the stable branch @ or after 8.3-RELEASE I don't know why everyone needs to bikeshed this thing. But do what you must and add 's/.3//' to any conversation that mentions it. -- - (2^(N-1))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120525162008.GA2504>