declare -f and for (( ... ))
t;$1 ; i++ )) do eval "$(declare -f f)"; done } $ f 20 $ declare -f f f () { for ((i=0 ; i<$1 ; i++ )) do eval "$(declare -f f)"; done } Fix: Either strip trailing whitespace in make_cmd.c
Expansions in arithmetic commands and subscripts
ror token is "/home/user") $ (( 1<(2+3)*4 )) && echo 'math ok' bash: ((: 1/proc/self/fd/63*4 : division by 0 (error token is "/self/fd/63*4 ") $ (( '1' + \1 + "1" == 3 )) && echo 'valid!?' valid!? $ a=(0 1 2 3) $ ec