The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #11 (permalink)  
Old 10-19-2007
radoulov's Avatar
radoulov radoulov is online now Forum Staff  
addict
  
 

Join Date: Jan 2007
Location: Варна, България / Milano, Italia
Posts: 2,859
Quote:
Originally Posted by rakeshou View Post
set -o pipefail doesnt seem to work on SunOS 5.8

Code:
bash-2.03$ uname
SunOS
bash-2.03$ set -o pipefail
bash: set: pipefail: unknown option name
[...]
Yes,
it's a new feature of bash Bash-3.0.

Quote:
echo $PIPESTATUS works on bash but not on ksh

Code:
bash-2.05$ ls -l rakesh | tail -5
rakesh: No such file or directory
bash-2.05$ echo $PIPESTATUS
2
Hm ...., I said bash and zsh.
I said that the pipefail option is available in ksh93 (not ksh88)!