Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
if test 3 -lt 5; then echo '3 is less than 5'; fi
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
if test 4 -ge 6; then
|
||||
echo '4 is greater than or equal to 6'
|
||||
elif test 4 -lt 6; then
|
||||
echo '4 is less than 6'
|
||||
else
|
||||
echo '4 compares not to 6'
|
||||
fi
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
case value in
|
||||
choicea)
|
||||
foo
|
||||
;;
|
||||
choiceb)
|
||||
bar
|
||||
;;
|
||||
esac
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
test 3 -lt 5 && echo '3 is less than 5'
|
||||
test 4 -ge 6 || echo '4 is not greater than or equal to 6'
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
# This is a while loop
|
||||
l=1
|
||||
while [ l -le 5 ]; do
|
||||
echo $l
|
||||
done
|
||||
|
||||
# This is an until loop
|
||||
l=1
|
||||
until [ l -eq 5 ]; do
|
||||
echo $l
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue