Path: utzoo!dciem!nrcaer!cognos!glee
From: glee@cognos.uucp (Godfrey Lee)
Newsgroups: comp.mail.uucp
Subject: Re: compressed maps
Message-ID: <3096@cognos.UUCP>
Date: 1 Jun 88 19:29:27 GMT
Article-I.D.: cognos.3096
Posted: Wed Jun  1 15:29:27 1988
References: <478@ontenv.UUCP>
Reply-To: glee@cognos.UUCP (Godfrey Lee)
Organization: Cognos Inc., Ottawa, Canada
Lines: 27

In article <478@ontenv.UUCP> soley@ontenv.UUCP (Norman S. Soley) writes:
>I've just installed uuhosts here (finally!) and would like to use the
>feature that keeps the maps compressed. Only problem is I can't figure
>out a sensible way to make this work with pathalias. Is there anything
>can be done short of uncompressing the maps, running pathalias, then
>compressing the maps again?

Just zcat the files and pipe to pathalias, here is my shell script:

------------
newpathalias
------------
#!/bin/csh
cd /system/maps/comp.mail.maps
zcat path.local d.* u.* | pathalias -d seismo $* >/tmp/pathalias
cd /usr/local/lib
if -f pathalias then
	mv pathalias pathalias.old
endif
sort /tmp/pathalias >pathalias
chmod a+r pathalias
rm /tmp/pathalias
-- 
Godfrey Lee                                      P.O. Box 9707
Cognos Incorporated                              3755 Riverside Dr.
VOICE:  (613) 738-1440   FAX: (613) 738-0002     Ottawa, Ontario
UUCP: decvax!utzoo!dciem!nrcaer!cognos!glee      CANADA  K1G 3Z4