blob: 67da2889ced68e552ca7588d25a3462c29da00af [file] [log] [blame]
Denis Vlasenko918a34b2008-07-28 23:17:31 +00001cond=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:$?