From aa4e1888910a2b5ca0698f171e1ce9be52ba519f Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 14 Oct 2013 21:39:49 -0400 Subject: fix mistake in one of the examples in bash-arrays --- public/bash-arrays.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/bash-arrays.md b/public/bash-arrays.md index e78b8d5..902635a 100644 --- a/public/bash-arrays.md +++ b/public/bash-arrays.md @@ -74,7 +74,7 @@ done
- <foo>
#!/bin/bash
 array=(foo bar baz)
-for item in "${array[@]}"; do
+for item in "${array[*]}"; do
         echo " - <${item}>"
 done
- <foo bar baz>
-- cgit v1.1-4-g5e80