tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Script doubt.
@ 1998-07-02  7:48 Sundar_Rajan
  0 siblings, 0 replies; only message in thread
From: Sundar_Rajan @ 1998-07-02  7:48 UTC (permalink / raw)
  To: tru64-unix-managers


Dear All ,

     I would like to trap all errors in the script run. Please guide me as
to how to achieve this.
Following are the guidelines followed :
I have seen the "man ksh".

# Use subshell to re - direct all log output
(
   set -e
   {existing program}
) > $logfile 2>&1


I want an examples. Any help will be appreciated.

Thanks
Sunder

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-07-02  7:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-02  7:48 Script doubt Sundar_Rajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox