![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to get exit code in a pipe-lined command? | pankai | Shell Programming and Scripting | 3 | 01-10-2008 06:36 PM |
| Getting the exit status of a remote command | zoonalex | Shell Programming and Scripting | 1 | 08-23-2006 04:58 PM |
| how to find the exit status for the last executed command | vijay.amirthraj | UNIX for Dummies Questions & Answers | 1 | 07-04-2006 10:14 PM |
| Incorrect Exit Status Returned from FTP command - Help?? | frustrated1 | Shell Programming and Scripting | 3 | 08-22-2003 03:25 AM |
| How to find the exit status of last command in Unix? | rajugp1 | High Level Programming | 1 | 09-10-2002 11:52 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
This code is too elegant for me, please explain what it does and how?
Quote:
|
|
||||
|
set -o pipefail not available on sunos, $PIPESTATUS works on bash not on ksh
Quote:
Code:
bash-2.03$ uname SunOS bash-2.03$ set -o pipefail bash: set: pipefail: unknown option name Code:
bash-2.05$ ls -l rakesh | tail -5 rakesh: No such file or directory bash-2.05$ echo $PIPESTATUS 2 |
|
|||||
|
Quote:
it's a new feature of bash Bash-3.0. Quote:
I said that the pipefail option is available in ksh93 (not ksh88)! |
| Sponsored Links | ||
|
|