diff options
Diffstat (limited to 'nocompile/bin/rfc')
-rwxr-xr-x | nocompile/bin/rfc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nocompile/bin/rfc b/nocompile/bin/rfc new file mode 100755 index 0000000..56440ae --- /dev/null +++ b/nocompile/bin/rfc @@ -0,0 +1,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" |