blob: 74488c8c37af13a713be055e9b22087fe0e42ad3 (
plain) (
tree)
|
|
#!/bin/sh
# Figure out RFC number
self=rfcr
if ! [ "$1" ] ; then
printf >&2 '%s: Need an RFC number\n' "$self"
exit 2
fi
rn=$1
# Retrieve the RFC with rfcf(1)
rfcf "$rn" |
# Pipe it through rfct(1) to format it as text
rfct |
# Either spit it directly or through a pager
pit
|