Le Mon, Apr 22, 2024 at 10:56:03AM +0300, Oğuz a écrit : > > Me neither, but the current behavior is useful. I agree!
Anyway, reading man page, `$?` have to be equivalent to `${PIPESTATUS[-1]}`!
which is not always the case.
> I've never seen anything like that in a real shell script.
I have to confess my neither, upto this post on SO, more than ten years later!
--
Félix Hauri - <[email protected]> - http://www.f-hauri.ch
