#! /bin/csh
#
# 5799-WZQ (C) COPYRIGHT = NONE
# LICENSED MATERIALS - PROPERTY OF IBM
#
# $Header:syncnews 12.0$ 
# $ACIS:syncnews 12.0$ 
# $Source: /ibm/acis/usr/src/new/notes/Samples/RCS/syncnews,v $ 


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
