shells/bash-4.0 port horribly broken

Johan van Selst johans at
Thu Mar 12 07:37:18 PDT 2009

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
Url :

More information about the freebsd-ports mailing list