The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 07-11-2007
theteeth07 theteeth07 is offline
Registered User
 

Join Date: Jul 2007
Posts: 2
Question Need help with trap

Hi

Our problem is knowing:

What is the "best" way of simulating a TRAP for ERR within a function, since we know this will not work directly with ksh93 and aix5. How can we save the error encountered in the function and then deal with it in the calling script?

Thanks!
Reply With Quote
Remove advertisements
!!
!! Forum Sponsor