Aeagle.155
net.news
utzoo!decvax!ucbvax!ARPAVAX:mhtsa!ihnss!eagle!jal
Mon Dec  7 13:30:01 1981
Bnews: conversion prog
Here is an updated version of the conversion program provided
earlier.  The update is needed because the previous version
would look for uid's in /etc/passwd and would find some within
encrypted passwords (oops).
-----------------------------------------------------------------
Here is a shell script that will create a .newsrc file for
the person that runs it.  It extracts the data from .uindex.
NOTE: It does NOT preserve any .newsrc file that was there before.

UID=`grep "^$LOGNAME:" /etc/passwd | cut -d: -f3`
SUBS=`grep "^$UID" /usr/spool/news/.uindex | cut -d: -f3 | tr "," "\040"`
echo "options -n $SUBS" > $HOME/.newsrc
echo '$HOME/.newsrc' created


eagle!jal

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.