This is a very small set of tools for finding and reading RFCs. These tools demonstrate why I like Unix so much: it's easy to put together things like this. If you want to actually use these, you need to: 1) install them somewhere in your path 2) make sure perl is in /usr/bin 3) make sure gzip is in your path 4) put a gzipped copy of the RFC index in /usr/doc/rfc/rfc-index.txt.gz, or change rfc-index to point to where it really is 5) get netcat from somewhere, and install it in your path. Example usage: kragen@gentle:~/scripts> rfc-index URN 2169 A Trivial Convention for using HTTP in URN Resolution. R. Danie1. June 1997. (Format: TXT=17763 bytes) 2141 URN Syntax. R. Moats. May 1997. (Format: TXT=14077 bytes) kragen@gentle:~/scripts> rfc 2141 > /tmp/rfc-2141.txt kragen@gentle:~/scripts> less /tmp/rfc-2141.txt ... Network Working Group R. Moats Request for Comments: 2141 AT&T Category: Standards Track May 1997 URN Syntax ... Anyway, here they are. :::::::::::::: rfc-index :::::::::::::: #!/usr/bin/perl -w require 5; use strict; # Grab paragraphs from rfc-index matching pattern. $/ = ""; # paragraphs open INPUT, "gzip -dc /usr/doc/rfc/rfc-index.txt.gz |"; while () { print if /$ARGV[0]/o; } :::::::::::::: rfc :::::::::::::: #!/bin/sh webget ds.internic.net 80 "/rfc/rfc$1.txt" :::::::::::::: webget :::::::::::::: #!/bin/sh # Get a file via HTTP/0.9. # Arguments: host port filename # Needs netcat. (echo "GET $3"; echo) | nc "$1" "$2"