summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--bash.html.markdown7
1 files changed, 7 insertions, 0 deletions
diff --git a/bash.html.markdown b/bash.html.markdown
index 7421f880..1473e669 100644
--- a/bash.html.markdown
+++ b/bash.html.markdown
@@ -53,6 +53,13 @@ else
echo "And this is not"
fi
+# And the usual while loop:
+while [true]
+do
+ echo "put loop content here..."
+ break
+done
+
# Expressions are denoted with the following format:
echo $(( 10 + 5 ))