We do what Robert says ... aliases ... it just simplifies the work.
Raj
______________________________________________________
Rajendra Jamadagni MIS, ESPN Inc.
Rajendra dot Jamadagni at ESPN dot com
Any opinion expressed here is personal and doesn't reflect that of ESPN Inc.
QOTD: Any clod can have facts, but having an opinion is an art!
-----Original Message-----
From: Robert Eskridge [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 04, 2003 9:11 AM
To: Multiple recipients of list ORACLE-L
Subject: Re[2]: awk and ksh question - solved
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: [EMAIL PROTECTED], [EMAIL PROTECTED]
Or in .mailrc
alias db_oncall [EMAIL PROTECTED] [EMAIL PROTECTED]
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.
********************************************************************This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you.*********************************************************************2