/dev/stderr invalid with nested and chained redirections

2017-07-10 Thread cygwin-mailinglist
I have a script which does not find /dev/stderr when its stderr is redirected and piped. The minimal reproduction follows below. This is a verbatim copy from the terminal with edited-in comments prefixed with hashes. $ uname -a CYGWIN_NT-6.1-WOW 2.8.1(0.312/5/3) 2017-07-03 14:06 i686 Cygw

Re: Redirection to stderr

2017-07-10 Thread cygwin-mailinglist
On Mon, July 10, 2017 12:33, Marco Atzeri wrote: > > On 10/07/2017 11:06, cygwin-mailinglist wrote: [...] >> Rationale aside, it is a bug, isn't it? > > I guess a side effect of a lost race. Which race, exactly? > Redirecting something on itself it is not guarantee to