Date: Thu, 12 Mar 2009 17:04:26 -0700 From: "Mark McConnell" <markmcconnell@iinet.com> To: freebsd-questions@freebsd.org Subject: Re: Problem with Bash-4 and $(command) syntax Message-ID: <49B9409A.29090.10C8FB5@markmcconnell.iinet.com> In-Reply-To: <20090312102523.6f5ad248@scorpio> References: <20090312102523.6f5ad248@scorpio>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12 Mar 2009 at 10:25, Jerry wrote:
{Problem with Bash-4 and $(command) ...}:
>
> Is this a known problem with Bash-4? I have not been
> able to find anything about it on the Bash site.
>
> Jerry
> gesbbb@yahoo.com
>
I found the same problem, and have reverted to
bash3.2 until it's sorted out.
Like you, I wasn't able to find discussion of this on
the lists I subscribe to - although I'm sure it's going
on. Looking through the diffs in
/usr/ports/distfiles/bash, the bracketed form of
command substitution appears to be a long-
standing problem in bash40-xxx.
The back-tick `command` form works as it should,
but not the Posix-style $(command) form, as of
GNU bash, version 4.0.10(1)-release
Mark
--
--
Mark McConnell
markmc@dataabstractsolutions.com
Data Abstract Solutions - Support
12209 N.E. Fourth Plain Suite DD,
Vancouver WA 98682
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49B9409A.29090.10C8FB5>
