Add while loop to bash

This commit is contained in:
Levi Bostian 2013-08-22 15:26:26 -05:00
parent 598fe61e1a
commit 1a8b22cb4f

View File

@ -53,6 +53,13 @@ else
echo "And this is not" echo "And this is not"
fi fi
# And the usual while loop:
while [true]
do
echo "put loop content here..."
break
done
# Expressions are denoted with the following format: # Expressions are denoted with the following format:
echo $(( 10 + 5 )) echo $(( 10 + 5 ))