Annotation of 43BSD/contrib/notes/Samples/syncnews, revision 1.1

1.1     ! root        1: #! /bin/csh
        !             2: 
        !             3: cd /usr/spool/news
        !             4: foreach i (*)
        !             5: if ( ! -d /usr/spool/notes/$i ) then
        !             6:        echo -n "$i is not a notesgroup, create it? "
        !             7:        set line = $<
        !             8:        if ( $line == 'y' ) then
        !             9:                /usr/spool/notes/.utilities/mknf -aon $i
        !            10:                echo -n "Change default permissions? "
        !            11:                set line = $<
        !            12:                if ( $line == 'y' ) then
        !            13:                notes $i
        !            14:                endif
        !            15:        endif
        !            16: 
        !            17: endif
        !            18: end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.