NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/57438: set -o with unknown option aborts a script



The following reply was made to PR bin/57438; it has been noted by GNATS.

From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/57438: set -o with unknown option aborts a script
Date: Sat, 27 May 2023 01:18:59 +0300

 On Thu, May 25, 2023 at 22:10:01 +0000, Robert Elz wrote:
 
 >  That is what POSIX requires.
 
 What is the kosher way to set e.g. pipefail that is not supported in
 older shell versions?
 
    (set -o pipefail) && set -o pipefail
 
 ?
 
 -uwe
 


Home | Main Index | Thread Index | Old Index