$ posh -c 'while :; do ! break; done'; echo $? 0 While it should be 1. This bug affects all the descendants of the pdksh (pdksh, posh, mksh on debian at least). There's a similar bug in for i in a; do ! continue; done
$ posh -c 'while :; do ! break; done'; echo $? 0 While it should be 1. This bug affects all the descendants of the pdksh (pdksh, posh, mksh on debian at least). There's a similar bug in for i in a; do ! continue; done