unable to capture return value using backticks and local
TICKED=`false` echo RV: $? # prints "RV: 1" foo() { local TICKED=`false` echo RV: $? } foo # prints "RV: 0", but I would expect "RV: 1" -- Adam Monsen ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash
Re: unable to capture return value using backticks and local
7;local' to be a modifier rather than a separate builtin. -- Adam Monsen ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash