blob: 72c076a9e4b19a71337725c841814dd632f6b998 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
# Figure out RFC number
self=rfcf
if ! [ "$1" ] ; then
printf >&2 '%s: Need an RFC number\n' "$self"
exit 2
fi
rn=$1
# Retrieve the RFC with curl(1)
curl https://tools.ietf.org/rfc/rfc"$rn".txt
|