chiark
/
gitweb
/
~cjwatson
/
bin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ubuntu-daily: default to oneiric
[bin.git]
/
get-rfc
diff --git
a/get-rfc
b/get-rfc
index aff8b7a648ca5856a6f4d169f23cb1c0a01a844b..3e41df8c1b8ae1d5b9d9a5dffd6e6642655e81d3 100755
(executable)
--- a/
get-rfc
+++ b/
get-rfc
@@
-1,5
+1,6
@@
#! /bin/sh
# Depends: wget
#! /bin/sh
# Depends: wget
+mkdir -p "$HOME/misc/rfc"
cd "$HOME/misc/rfc"
[ -f "rfc$1.txt" ] || wget "http://www.ietf.org/rfc/rfc$1.txt"
${PAGER:-pager} "rfc$1.txt"
cd "$HOME/misc/rfc"
[ -f "rfc$1.txt" ] || wget "http://www.ietf.org/rfc/rfc$1.txt"
${PAGER:-pager} "rfc$1.txt"