mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 10:01:38 +00:00
Merge pull request #340 from JohnYangSam/patch-1
[bash/en] Correct bash for...in loop example
This commit is contained in:
commit
4723fc11da
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user