-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC1086
Vidar Holen edited this page Jan 21, 2015
·
4 revisions
for $var in *
do
echo "$var"
done
for var in *
do
echo "$var"
done
The variable is named var
, and can be expanded to its value with $var
.
The for
loop expects the variable's name, not its value (and the name can not be specified indirectly).
None.