Skip to content

Commit 26ab404

Browse files
authored
Update programming_more_bash_conditional_loop.txt
1 parent d049673 commit 26ab404

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

programming_more_bash_conditional_loop.txt

+6
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ done
6464
until condition; do
6565
statements
6666
done
67+
sample:
68+
until [ $var_count == 10 ]
69+
do
70+
echo $var_count
71+
var_count=$((var_count+1))
72+
done
6773

6874
--> select (menu)
6975
select name [in list]

0 commit comments

Comments
 (0)