Reading LTP shell code it uses strange for loop syntax:
for arg; do
TCID="${TCID}_$arg"
done
- How does it takes arguments? I'd expect it loops over
$arg, separating with$IFS, but when trying$ arg="aa bb"; for arg; do echo $arg; doneand it prints nothing. - Is it a bashism?