File:  [CSRG BSD Unix] / 43BSD / contrib / news / misc / euuname.sh
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:54 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

: 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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.