summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2013-09-13 10:14:41 -0700
committerAdam Bard <github@adambard.com>2013-09-13 10:14:41 -0700
commit4723fc11da363422f8868e865f47c3fbfc45adbe (patch)
tree902407604fedb8b5407db4d61dd267f36e0f27dc
parentb1a70dd99871c0a339cf4d543f9840468ebb024b (diff)
parent1528dd4fbe680f26646be3af17d9fb5dce209dd0 (diff)
Merge pull request #340 from JohnYangSam/patch-1
[bash/en] Correct bash for...in loop example
-rw-r--r--bash.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash.html.markdown b/bash.html.markdown
index 76c794c6..708131bd 100644
--- a/bash.html.markdown
+++ b/bash.html.markdown
@@ -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