Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Re[2]: awk and ksh question - solved
We do what Robert says ... aliases ... it just simplifies the work.
Raj
QOTD: Any clod can have facts, but having an opinion is an art!
-----Original Message-----
Sent: Tuesday, February 04, 2003 9:11 AM
To: Multiple recipients of list ORACLE-L
It still seems like overkill to me. I just put the pager addresses in a alias in either /etc/aliases or .mailrc as a list for dba_oncall, eliminating the need for db_oncall.txt.
In /etc/aliases:
db_oncall: 9991234567_at_pageme.co, lisa.koivu_at_efairfield.com
Or in .mailrc
alias db_oncall 9991234567_at_pageme.co lisa.koivu_at_efairfield.com
Then when I want to send them a file I do:
$ cat FILE_TO_SEND | mail -s FILE_TO_SEND dba_oncall
No messing with awk or special characters, or worrying what shell it runs in, I know the mail aliases live where all the other mail aliases live so I don't have to go hunting for special files when something needs to change.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jamadagni, Rajendra INET: Rajendra.Jamadagni_at_espn.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 - 08:29:19 CST
- text/plain attachment: ESPN_Disclaimer.txt