procmail
[Top] [All Lists]

Re: Mailing to all users

1998-07-17 09:32:46

For similar reasons, this is dangerous. You can try to fool around
with xargs, or just break down and write a temporary script. Better
yet, if you intend to do this on a regular basis, use a real mailing
list manager such as SmartList.

man xargs, or look at comp.unix.shell in DejaNews until you feel
nauseous.

Personnally, I tried using xargs to place a list that was on several
lines to one big line.  For some reason, I couldn't get xargs to work
correctly.  This is what I did instead:

tr '\012' ' '   < source > bigline
echo "" >> bigline

The echo is to add a \012 at the end of the big line.

I had the xarg problem on a Sun Os.

Jacques G.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

<Prev in Thread] Current Thread [Next in Thread>