mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-27 04:49:20 +00:00
12 lines
226 B
Plaintext
12 lines
226 B
Plaintext
|
#!/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
|