🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.misc
Article #1289

Re: SEX! or, how do I mail to a lot of unix users?

#1289
From: mcdowell Steve McDowell50000
Date: Thu, 31 May 1990 17:58
14 lines
1029 bytes
> How do I send mail to everyone on the system??

How about this:

	% mail `cat /etc/passwd | awd -F: '{ print $1 }'` < mailfile

The awk pattern simply extracts the usernames from the passwd file.


 Steve McDowell (mcdowell@e34b.austin.ibm.com)     	 VNET SC10191@AUSVM6
 Contractor to IBM AIXv3 Base Kernel Development         T/L 793-3883    
 Outside IBM: ..!cs.utexas.edu!ibmaus!auschs!e34b.austin.ibm.com!mcdowell
 DISCLAIMER: My statements do not necessarily reflect the position of IBM.
Technical Details
Message-ID: <2487@awdprime.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime!e34b!mcdowell
References: <900531083220.30e0b91a@Csa2.LBL.Gov>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime!e34b!mcdowell
From: mcdowell@e34b..austin.ibm.com (Steve McDowell/50000)
Newsgroups: comp.mail.misc
Subject: Re: SEX!  or, how do I mail to a lot of unix users?
Message-ID: <2487@awdprime.UUCP>
Date: 31 May 90 17:58:40 GMT
References: <900531083220.30e0b91a@Csa2.LBL.Gov>
Sender: news@awdprime.UUCP
Reply-To: mcdowell@awdprime.austin.ibm.com.UUCP (Steve McDowell/50000)
Organization: IBM AWD, Austin, TX
Lines: 14