42-archive/42sh/sample/while2.sh
ariard@student.42.fr c0977b20ff until exec ok
2017-02-06 21:02:37 +01:00

16 lines
185 B
Bash

ONE=11
while [ $ONE -gt 1 ]
do
TWO=11
while [ $TWO -gt 1 ]
do
THREE=11
while [ $THREE -gt 1 ]
do
echo hello
((THREE--))
done
((TWO--))
done
((ONE--))
done > file1