A2osX/TESTS/WHILETEST

12 lines
226 B
Plaintext
Raw Normal View History

2019-01-16 04:50:18 +00:00
#!/bin/shell
#
# 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