summaryrefslogtreecommitdiffhomepage
path: root/bash.html.markdown
diff options
context:
space:
mode:
authorNami-Doc <vendethiel@hotmail.fr>2013-11-25 08:09:34 -0800
committerNami-Doc <vendethiel@hotmail.fr>2013-11-25 08:09:34 -0800
commit7c1c5e12c5566f7e9529a9a8b3897af7a469072a (patch)
tree68cb4bf9ead32686f492e68528e9f0761e41c500 /bash.html.markdown
parentd24c824d388669181eed99c3e94bb25c2914304a (diff)
parentaf6701904b459b16cf65709cd8c70fd2f5519457 (diff)
Merge pull request #421 from levibostian/c-basic-additions
Add while loop to bash. Add lots to C.
Diffstat (limited to 'bash.html.markdown')
-rw-r--r--bash.html.markdown7
1 files changed, 7 insertions, 0 deletions
diff --git a/bash.html.markdown b/bash.html.markdown
index d208b957..afc46eb0 100644
--- a/bash.html.markdown
+++ b/bash.html.markdown
@@ -115,6 +115,13 @@ do
echo "$VARIABLE"
done
+# while loop:
+while [true]
+do
+ echo "loop body here..."
+ break
+done
+
# You can also define functions
# Definition:
function foo ()