The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > UNIX and Linux Applications
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 04-24-2008
krishmaths krishmaths is offline
Registered User
 

Join Date: Sep 2006
Location: Mysore, India
Posts: 155
You can write a function, say "handle_error" where you can define the if condition, and execute this function whenever you need it.
Reply With Quote