blob: 67da2889ced68e552ca7588d25a3462c29da00af [file] [log] [blame]
Denys Vlasenkoa62bc802016-10-03 00:06:55 +02001cond=true
2while $cond; do
3 echo A
4 if test "$cond" = true; then
5 cond='echo TRUE'
6 else
7 cond=false
8 fi
9 while true; do echo AA; continue 2; echo BB; done
10 echo B
11done
12echo OK:$?