A2osX/TESTS/WHILETEST.txt

17 lines
296 B
Plaintext
Raw Normal View History

NEW
PREFIX
AUTO 4,1
#!/BIN/SH
2019-01-16 04:50:18 +00:00
#
# Tests the While Loop function of shell
#
echo This should display 4 lines of counting
set count = 1
while [ $count -lt 5 ]
echo "Count is ${count}"
set count = $count + 1
loop
echo End of Test
MAN
TEXT /MAKE/USR/SHARE/TESTS/WHILETEST