Hi,
The variable f keeps the last value when the for loop is finished. Is
there a way to declare it as a local variable, so that it disappears
after for-loop is finished? (I could unset it, but I want to know if
it can be a local variable)
$ for f in a b; do echo $f; done
a
b
$ echo $f
b
--
Regards,
Peng