Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Mar 2009 15:37:10 +0100
From:      Johan van Selst <johans@stack.nl>
To:        Jerry <gesbbb@yahoo.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: shells/bash-4.0 port horribly broken
Message-ID:  <20090312143710.GA106@mud.stack.nl>
In-Reply-To: <20090312103015.2ee5dbef@scorpio>
References:  <20090311210322.GA17971@ozzmosis.com> <20090312073556.GA39778@ozzmosis.com> <20090312112958.4d0cac92.ehaupt@FreeBSD.org> <76B7C6A4-B380-4224-AF69-03ABB1CE5175@lassitu.de> <20090312103015.2ee5dbef@scorpio>

next in thread | previous in thread | raw e-mail | index | archive | help

--pWyiEgJYm5f9v55/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Jerry wrote:
> Was this some sort of 'improvement' by the Bash developers, or is it
> an un-squashed bug?

It seems that this might actually be a feature.
Quoting the COMPAT document of bash4:

38. Since bash-4.0 now follows Posix rules for finding the closing delimiter
    of a $() command substitution, it will not behave as previous versions
    did, but will catch more syntax and parsing errors before spawning a
    subshell to evaluate the command substitution.


Ciao,
Johan

--pWyiEgJYm5f9v55/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----

iEYEAREIAAYFAkm5HhYACgkQaOElK32lxTuiXwCgvtfxJYl9ufsEO9gY9IGGRJW+
Te4AoMHehyMwYI3F7xgUhnj4+nansJ2m
=fav/
-----END PGP SIGNATURE-----

--pWyiEgJYm5f9v55/--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090312143710.GA106>