Asdcarl.111 net.news utzoo!decvax!ucbvax!ucsfcgl!sdcarl!rusty Mon Dec 7 21:32:34 1981 Bnews conversion Re: eagle!jal's shell script for making your .newsrc file, you may not have the program "cut", here is the equivalent script that uses "sed": UID=`grep "^$LOGNAME:" /etc/passwd | sed -e 's/\(.*\):\(.*\):\([0-9][0-9]*\):\([0-9][0-9]\):\(.*\):\(.*\):\(.*\)/\3/'` SUBS=`grep "^$UID" /usr/spool/news/.uindex | sed -e 's/.*://' | tr "," "\040"` echo "options -n $SUBS" > $HOME/.newsrc echo '$HOME/.newsrc' created The first line that sets UID has a hairy re for sed; I confess to not being to handy with re's. You may have to do something different to get $LOGNAME, use `whoami` for instance. Same caveats apply to $HOME.