Aeagle.154 net.news utzoo!decvax!ucbvax!ARPAVAX:mhtsa!eagle!jal Mon Dec 7 13:27:46 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