> -----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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to