$ uname -r
4.2

$ set -o pipefail
/bin/ksh: set: pipefail: bad option
$ echo $KSH_VERSION
@(#)PD KSH v5.2.14 99/07/13.2

$ echo $0
/bin/ksh

$ (exit 2)
$ echo $?
2
$ (exit 2) |tee aa.txt
$ echo $?
0


Is there another way to get what I want ?
Are there any plans to implement this option ?

-- 
Regards
Piotrek Kapczuk

Reply via email to