chiark
/
gitweb
/
~cjwatson
/
bin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e8a70c
)
get-rfc: switch to HTTPS
author
Colin Watson
<cjwatson@debian.org>
Sat, 22 Dec 2018 15:10:48 +0000
(15:10 +0000)
committer
Colin Watson
<cjwatson@debian.org>
Sat, 22 Dec 2018 15:10:48 +0000
(15:10 +0000)
get-rfc
patch
|
blob
|
history
diff --git
a/get-rfc
b/get-rfc
index 3e41df8c1b8ae1d5b9d9a5dffd6e6642655e81d3..03aaa738bbd93fd1842d3de06d55f860d73ae7c2 100755
(executable)
--- a/
get-rfc
+++ b/
get-rfc
@@
-2,5
+2,5
@@
# Depends: wget
mkdir -p "$HOME/misc/rfc"
cd "$HOME/misc/rfc"
-[ -f "rfc$1.txt" ] || wget "http://www.ietf.org/rfc/rfc$1.txt"
+[ -f "rfc$1.txt" ] || wget "http
s
://www.ietf.org/rfc/rfc$1.txt"
${PAGER:-pager} "rfc$1.txt"