Xargs for email

Ron Sharcott <[email protected]>
Newsgroups gmane.os.tru64.managers
Message-ID <[email protected]>
Solution provided. 

# This is where we send a notice out to latenight users
#who | awk '{print $1}' | sort -u | while read user ; do
#mailx -s "Warning: logoff nightly" $user <
/messages/nightly.logoff.computers.msg
#done

Avoid xargs and redirects. Loop the task as in a multiline command or a
script. Of course some solutions offered included using xargs to call a
shell with the command but these came after I had something working.

And never start a subject line on this list with "Re:" if you want to let
others know what a solution is. A royal pain that.

Ron Sharcott (3635)


-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: Thursday, November 30, 2006 8:32 AM
To: Ron Sharcott
Subject: Re: Xargs for email


What was the solution?

                                                                      - 
Bluejay Adametz
 
Make the most of what comes, and the least of what goes. 




Ron Sharcott <[email protected]> 
Sent by: [email protected]
11/30/2006 11:26

To
"'[email protected]'" <[email protected]> cc

Subject
Xargs for email






Thanks all. I believe I have a solution now.


Ron Sharcott (3635)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.