chiark / gitweb /
tiocnotty: use with statement
[bin.git] / get-rfc
1 #! /bin/sh
2 # Depends: wget
3 mkdir -p "$HOME/misc/rfc"
4 cd "$HOME/misc/rfc"
5 [ -f "rfc$1.txt" ] || wget "http://www.ietf.org/rfc/rfc$1.txt"
6 ${PAGER:-pager} "rfc$1.txt"