blob: 633eaace9639a2c742da07e251611d6dc47eaeb7 (
plain) (
tree)
|
|
#!/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 -fsSL https://tools.ietf.org/rfc/rfc"$rn".txt
|