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