summaryrefslogtreecommitdiff
path: root/nocompile/bin/rfc
blob: 56440ae863df7f51f01e2d5a40758c4b324ff75c (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh
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"