Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!iwarp.intel.com!news From: merlyn@iwarp.intel.com (Randal Schwartz) Newsgroups: comp.unix.questions Subject: Re: SEX! or, how do I mail to a lot of unix users? Message-ID: <1990May31.230138.14896@iwarp.intel.com> Date: 31 May 90 23:01:38 GMT References: <900531083002.30e0d06c@Csa2.LBL.Gov> Sender: news@iwarp.intel.com Reply-To: merlyn@iwarp.intel.com (Randal Schwartz) Organization: Stonehenge; netaccess via Intel, Beaverton, Oregon, USA Lines: 32 In-Reply-To: jason@cs.odu.edu (Jason C Austin) In article , jason@cs (Jason C Austin) writes: | #!/bin/sh | | users=`cat user-list` | | for user in $users | do | echo "Mailing $user" | mail $user < message | done Too many processes. If you want progress reporting, say: while read user do echo "Mailing $user" mail $user