[Bug 1804504] Re: -o pipefail makes while read loop ugly

2019-01-05 Thread Thorsten Glaser
This is, unfortunately, by design. I’ve committed a manpage change (in CAVEATS) with a rationale, though. ** Changed in: mksh Status: Triaged => Invalid -- You received this bug notification because you are a member of mksh Mailing List, which is subscribed to mksh. Matching

Re: Bug#910276: mksh does never execute an "EXIT trap", if it is created with the "trap" command in a sub shell

2019-01-05 Thread Thorsten Glaser
>I still cannot confirm either way, but some preliminary research >with an extended test script: I’ve found something interesting: tg@blau:~ $ mksh -c 'echo a; (trap -- "echo subshell_exit >&2" EXIT); echo b' a b tg@blau:~ $ mksh -c 'echo a; (trap -- "echo subshell_exit >&2" EXIT;); echo b' a b