busybox/shell/ash_test/ash-misc/break5.tests

5 lines
148 B
Plaintext
Raw Normal View History

while true; do echo A; { echo B; break; echo C; }; echo D; done
echo $?
for v in a b c; do echo A:$v; (echo B; break; echo C); echo D; done
echo $?