tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Sundar_Rajan () socgen-crosby ! com
To: tru64-unix-managers
Subject: Script doubt.
Date: Thu, 02 Jul 1998 07:48:42 +0000	[thread overview]
Message-ID: <96078715811451.tru64-unix-managers.marc@archive.invalid> (raw)


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

                 reply	other threads:[~1998-07-02  7:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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