#! /bin/sh # adddirs - add any directories needed for newsgroups in active file # =()<. ${NEWSCONFIG-@@}>()= . ${NEWSCONFIG-/usr/local/lib/news/bin/config} PATH=$NEWSCTL/bin:$NEWSBIN/maint:$NEWSBIN/relay:$NEWSBIN:$NEWSPATH ; export PATH umask $NEWSUMASK for dir in `awk '$4 !~ /^[x=]/ { print $1 }' $NEWSCTL/active | tr . /` do if test ! -d $NEWSARTS/$dir then echo "making $dir (and parents if needed...)" mkpdir $NEWSARTS/$dir fi done