Really old sh -- pipefail

Richard Laager rlaager at wiktel.com
Thu Sep 10 04:06:49 UTC 2026


On 2026-09-09 22:40, Hal Murray wrote:
>> dash immediately dies.
> 
> Thanks.
> 
> I don't think it actually dies.  I was testing from the command line and
> that continued to work.  I guess it's flushing the input or something like
> that.

It's definitely dying when running a script (as opposed to interactive 
mode):

$ cat test.dash
set -o pipefail
echo HERE
$ dash test.dash ; echo $?
test.dash: 1: set: Illegal option -o pipefail
2

-- 
Richard


More information about the devel mailing list