Re: pdksh errexit bug

2017-01-12 Thread Theo Buehler
On Thu, Jan 12, 2017 at 12:10:00PM -0500, Cinolt Yuklair wrote: > I'm currently running OpenBSD 6.0-release and I believe I found a bug > in the default shell pdksh. You're right. This bug has been reported here: https://marc.info/?t=14807643661&r=1&w=2 and was fixed in -current about a mon

pdksh errexit bug

2017-01-12 Thread Cinolt Yuklair
I'm currently running OpenBSD 6.0-release and I believe I found a bug in the default shell pdksh. I've written about it in detail in this StackOverflow post: http://stackoverflow.com/questions/41614964/ksh-errexit-on-conditional-execution/41617070#41617070 To summarize, the following script will