2 # grabrfc - copy new rfcs and drafts into /lib/rfc
6 dom=`{ndb/query sys $sysname dom}
9 ftpfs -q/ -a $user@$dom ftp.rfc-editor.org # was ftp.isi.edu
20 if(test ! -e $LIB/$target && test -f $i){
22 chmod 664 $LIB/$target
28 tr A-Z a-z <rfc-index.txt | sed 's/^0*//' |
29 sed 's/^[0-9]/rfc&/' >$LIB/index
32 ftpfs -q/ -a $user@$dom ftp.ietf.org
37 cd /n/ftp/internet-drafts
40 if (test ! -e $LIB/$target && test -f $i &&
41 test `{ls -s $i | sed 's/ .*//'} -ge 2){
43 chmod 664 $LIB/$target