mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-25 10:25:23 +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:
|
#For loops iterate for as many arguments given:
|
||||||
#The contents of var $VARIABLE is printed three times.
|
#The contents of var $VARIABLE is printed three times.
|
||||||
for $VARIABLE in x y z
|
for VARIABLE in x y z
|
||||||
do
|
do
|
||||||
echo "$VARIABLE"
|
echo "$VARIABLE"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user