|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T r
Length: 627 (0x273)
Types: TextFile
Names: »restore.active«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
└─⟦this⟧ »EUUGD11/euug-87hel/sec1/news/misc/restore.active«
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
└─⟦95173b3df⟧ »EurOpenD3/news/bnews.2.11/misc.tar.Z«
└─⟦ff4664b96⟧
└─⟦this⟧ »misc/restore.active«
: recreate the active file from readers .newsrc files
: and from the existing articles
lib=${1-/usr/lib/news}
tmp=/tmp/$$
: Find the highest numbered articles from the .newsrcs
cat `sed 's/[^:]*:[^:]*:[^:]*:[^:]*:[^:]*://
s/:.*//' /etc/passwd | sort -u | sed 's;$;/.newsrc;' ` 2>/dev/null |
sed '/:/!d
s/:.*[,-]/ /
s/: */ /' >$tmp
: in case there are groups no-one reads, look in the list of newsgroups
sed 's/[ ].*/ 1/' $lib/newsgroups >>$tmp
sort +0 -1 +1nr $tmp | sort -m +0u -1 | sed 's/$/ 00001 y/
/^fa/s/y$/n/' >$lib/active
: finally, scan the spool directory and fix up the active file.
$lib/expire -u
rm -f $tmp