Correct bash for...in loop example

Removed the $ in the variable declaration of the for...in bash loop to correct the code.
This commit is contained in:
JohnYangSam 2013-09-12 02:01:52 -07:00
parent b28900b889
commit 1528dd4fbe

View File

@ -82,7 +82,7 @@ esac
#For loops iterate for as many arguments given:
#The contents of var $VARIABLE is printed three times.
for $VARIABLE in x y z
for VARIABLE in x y z
do
echo "$VARIABLE"
done