The UNIX and Linux Forums  

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 -->
  #4 (permalink)  
Old 04-23-2007
vino's Avatar
vino vino is offline Forum Staff  
Supporter (in vino veritas)
  
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,798
See if PIPESTATUS helps. From man sh
Code:
       PIPESTATUS
              An array variable (see Arrays below) containing a  list  of  exit
              status  values  from  the processes in the most-recently-executed
              foreground pipeline (which may contain only a single command).