Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: awk and ksh question - solved

RE: awk and ksh question - solved

From: Stephen Lee <Stephen.Lee_at_DTAG.Com>
Date: Tue, 04 Feb 2003 08:59:47 -0800
Message-ID: <F001.005435B4.20030204085947@fatcity.com>


> -----Original Message-----
> Those are the companies that you'd use the $HOME/.mailrc for.
>


Ah yes .... TMTOWTDI

Since I have multiple scripts that do things and monitor things, the list of mail and/or pager recipients is different for different things, even within a single script. As a general philosophy on scripting, I like to keep things as self-contained as reasonably practical. I think this reduces the Murphy Factor; and it makes it more obvious, when going to a directory for a script, after not looking at the script for months, what stuff is required for the script to do its thing -- it's all right there in that directory. So I usually put larger scripts along with their config files in their own directory.

If there are variables that we know we want to share among all scripts regardless of who wrote the script, we keep those in a file called ORACLE_VARIABLES (imaginative name, huh?). And one of those variables is a list of mail recipients for scripts that want to send to that list of recipients. The script code for pulling that list out of the text file is very simple.

TMTOWDI.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Stephen Lee
  INET: Stephen.Lee_at_DTAG.Com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Feb 04 2003 - 10:59:47 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US