The following BASH script fails to run on BASH 3.1: -------------------------------------------------------------- #!/bin/bash Test=$[ ` # Remove the ' in this comment to make it work. for Counter in 1 2 do echo "$Counter + " done ` 100 ] echo "$Test" -------------------------------------------------------------- Removing the ' from the comment fixes the script. The script runs perfectly on BASH versions <= 3.0.
try this patch: http://bugs.gentoo.org/attachment.cgi?id=77322
this isnt a regression and it has been fixed upstream, so the next release of bash will handle this properly