# We accept this and people might rely on it. # However, various other shells do not accept it. f() { break echo bad1 } while :; do f echo bad2 exit 2 done