Many thanks to all of those sun gurus for the help.
This example script was sent for email.
----- Begin Included Message -----
>From frankm@shadow.cna.tek.com Mon Jun 21 11:07:44 1993
Date: Mon, 21 Jun 93 07:59:31 PDT
From: frankm@shadow.cna.tek.com (Frank 'Scruffy' Miller)
To: twhitely@tr1072.to.ford.com
Subject: email distribution script
Content-Length: 200
/bin/csh -f
set user_list = ~/users
foreach user (`cat $user_list`)
/usr/ucb/mail -s "Mail to you on `date` $user << EOF
Dear ${user},
This is where the contents of the letter go.
EOF
end
exit 0
----- End Included Message -----
Also, the vacation program also does the trick. Thanks again.
+------------------------------------------------------------------------+
|Ted Whitely Unix Tech. Support |
|System Administrator Ford Motor Company |
|TSD Systems Group Danou Technical Center |
|Internet: twhitely@tr1072.to.ford.com 16630 Southfield Rd. |
|Phone: (313) 390-5259 Allen Park, MI 48101 |
|FAX #: U.S.A. |
+------------------------------------------------------------------------+
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:57 CDT