🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.misc
Article #5547

Re: Updating UUCP maps?

#5547
From: Dave Glowacki
Date: Fri, 23 Feb 1990 17:39
25 lines
1275 bytes
To store the maps in compressed form (thus freeing up LOTS of disk space),
set COMPRESS=1 in uuhosts, then change the final lines in Rich's script to:

##  The path files.  First read local updates like u.BBN, then read the
##  domain files, then the raw map files.
P1="u.[A-Z]*"
P2="d.*"
P3="u.[a-z]*"

##  Print file name then file, so pathalias can report any errors correctly
(for i in ${P1} ${P2} ${P3}; do
	##  Handle both compressed and uncompressed (in case any maps
	##   were too small to be compressed efficiently)
	case $i in
	  *.Z)	echo "file {$i}"
		zcat $i ;;
	  *)	echo "file {$i}"
		cat $i ;;
	esac
	echo "private {}"
done) | pathalias -i -c ${DEBUG} ${DEAD} ${AVOID} |\
	awk '{ printf "%s\t%s\t%s\n", $2, $1, $3 }' >COSTS
awk '{ printf "%s\t%s\n", $1, $3 }' <COSTS >PATHS
sort +1.0 -n -o COSTS COSTS
sort -f -o PATHS PATHS
Technical Details
Message-ID: <10998@saturn.ADS.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!rex!ames!saturn!dglo
References: <52@dynasys.UUCP> <2274@litchi.bbn.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!rex!ames!saturn!dglo
From: dglo@saturn.ADS.COM (Dave Glowacki)
Newsgroups: comp.mail.misc,comp.mail.uucp
Subject: Re: Updating UUCP maps?
Message-ID: <10998@saturn.ADS.COM>
Date: 23 Feb 90 17:39:28 GMT
References: <52@dynasys.UUCP> <2274@litchi.bbn.com>
Organization: Advanced Decision Systems, Mt. View, CA (415) 960-7300
Lines: 25