2 # grabrfc - copy new rfcs and drafts into /lib/rfc
7 dom=`{ndb/query sys $sysname dom}
8 if(~ $dom '') dom=$sysname
11 ftpfs -q/ -a $user@$dom ftp.rfc-editor.org # was ftp.isi.edu
22 if(test ! -e $LIB/$target && test -f $i){
24 chmod 664 $LIB/$target
30 tr A-Z a-z <rfc-index.txt | sed 's/^0*//' |
31 sed 's/^[0-9]/rfc&/' >$LIB/index
34 ftpfs -q/ -a $user@$dom ftp.ietf.org
39 cd /n/ftp/internet-drafts
42 if (test ! -e $LIB/$target && test -f $i &&
43 test `{ls -s $i | sed 's/ .*//'} -ge 2){
45 chmod 664 $LIB/$target