#!/bin/sh #btw: http://www.ietf.org/mirror-instructions.html RFCPATH=/anarchy/rfc if [ ! -f "${RFCPATH}/rfc$1.txt" ];then echo "RFC file not found... downloading..." wget http://www.ietf.org/rfc/rfc$1.txt -O "${RFCPATH}/rfc$1.txt" echo "RFC has now been downloaded." fi less "${RFCPATH}/rfc$1.txt"