mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-20 03:31:42 +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
|