rfcget is a c-shell script which facilitates the retrieval of Request For Comments (RFC) Documents. The script supports two functions; topic searching, rfc document retrieval. The script uses a local copy of the rfc index file for topic searches. This index must be located in a directory named by the environment variable RFC_DIR. If you choose not to set this variable, the script uses the local directory. RFC_DIR is also used as the location where retrieved documents are placed. You are warned by the script if this variable isn't set. If the index file is not found when the script is run, the tool "syncs" with a nic server copy then proceeds with argument processing.
% rfcget -i -t Enter topic: DVMRP Search again? (y/n) [n]: y Enter topic: distance vector 1075 Distance Vector Multicast Routing Protocol. Waitzman,D.;Partridge,C.; Search again? (y/n) [n]: n Get RFC Number(s): 1075 Getting the following files from from ftp.nisc.sri.com; rfc1075.txt Continue? y/n [y]: y Local directory now /mit/staff/RFC -rw-rw-r-- 1 staff 53385 Dec 18 13:33 rfc1075.txt
Similarly, the script assumes a file name format of rfcxxxx.txt for the files to be retrieved. Problems will arise if this ever changes.
There should be an option to search for .ps files as well as .txt files.