[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

couple of bugs

From: Pierre Gaston
Subject: couple of bugs
Date: Tue, 29 Apr 2014 22:25:26 +0300

A couple of 4.3 bugs have surfaced on IRC, I'm not sure they are reported
here, so just in case here they are

1) bash gets stuck

shopt -s extglob
echo !(*/) # never returns, cannot be interrupted

2) $0 is not always expanded:

echo "without \$1 ${@:0:1}";set -- one;echo "with \$1 ${@:0:1}"
without $1
with $1 ./bash

3)  bash finds a process substitution inside (( ))) somehow

$ for ((i=0; i<($(echo 2)+3);i++));do echo $i;done
bash: syntax error near unexpected token `newline'

reply via email to

[Prev in Thread] Current Thread [Next in Thread]