tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Ron Sharcott <Sharcott@camosun.bc.ca>
Subject: Xargs for email
Date: Thu, 30 Nov 2006 08:44:59 -0800	[thread overview]
Message-ID: <48F1819CF0FBFC438A9A2771BBC5BAAF0AC60814@exchsrv3.camosun.bc.ca> (raw)

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: Bluejay@fujigreenwood.com [mailto:Bluejay@fujigreenwood.com] 
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 <Sharcott@camosun.bc.ca> 
Sent by: tru64-unix-managers-owner@ornl.gov
11/30/2006 11:26

To
"'tru64-unix-managers@ornl.gov'" <tru64-unix-managers@ornl.gov> cc

Subject
Xargs for email






Thanks all. I believe I have a solution now.


Ron Sharcott (3635)







             reply	other threads:[~2006-11-30 16:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-30 16:44 Ron Sharcott [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-11-30 16:25 Xargs for email Ron Sharcott
2006-11-29 18:15 Ron Sharcott
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox