DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T r

⟦8ffe88d92⟧ TextFile

    Length: 627 (0x273)
    Types: TextFile
    Names: »restore.active«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/euug-87hel/sec1/news/misc/restore.active« 

TextFile

: 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