Aucbarpa.1180
net.sources
utzoo!decvax!ucbvax!ARPAVAX:usenet
Tue Apr 20 19:48:30 1982
misc/euuname.sh
: From cbosg!mcnc!unc!smb Sat Feb 27 05:45:42 1982
: Date: 27-Feb-82 05:45:41-EST

: Heres a shell file that should be distributed with netnews.
: Its intended to be the program that replies to the mapping control
: message, it extracts info from the L.sys file, add extra names, and
: suppresses private ones.

: To use this, change the senduuname control message to call
: LIBDIR/euuname instead of uuname, and install this script in that location.
: the lists secret and extras are names you want deleted from added to
: your uuname output.

PATH=/usr/ucb:/bin:/usr/bin
export PATH
cd /usr/lib/news
trap "rm -f /tmp/nam$$; exit" 0 1 2
sort secret >/tmp/nam$$
echo Subject: edited uuname output enclosed
((cat extras; uuname) | sort | comm -23 - /tmp/nam$$) | uniq

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.