From 1528dd4fbe680f26646be3af17d9fb5dce209dd0 Mon Sep 17 00:00:00 2001 From: JohnYangSam Date: Thu, 12 Sep 2013 02:01:52 -0700 Subject: [PATCH] Correct bash for...in loop example Removed the $ in the variable declaration of the for...in bash loop to correct the code. --- bash.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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