#! /bin/csh cd /usr/spool/news foreach i (*) if ( ! -d /usr/spool/notes/$i ) then echo -n "$i is not a notesgroup, create it? " set line = $< if ( $line == 'y' ) then /usr/spool/notes/.utilities/mknf -aon $i echo -n "Change default permissions? " set line = $< if ( $line == 'y' ) then notes $i endif endif endif end