Scroll to navigation

RFC(1) RFC(1)

NAME

rfc - Read RFCs in your terminal

SYNOPSIS

rfc [<command>|<number>]

DESCRIPTION

Show the RFC <number> in your terminal. It uses a local cache to avoid re-downloading each RFC every time.

COMMANDS

Search for query in local RFCs using grep. Options are passed through.
List locally-available RFCs.
Batch download RFCs. week and month respectively download only RFCs that were added or updated during the last week/month. all (default) downloads all RFCs. It might take some time; be patient.
Clear the local cache.

OPTIONS

Print the version number and exit
Print the help and exit

ENVIRONMENT

Cache directory. Default is ~/.RFCs.
The command to use to show RFCs. Default is less.
curl (default) or wget.

EXAMPLES

Read the RFC 2822:

$ rfc 2822

AUTHOR

Written by Baptiste Fontaine <b@ptistefontaine.fr>.

BUGS

Bugs should be reported at https://github.com/bfontaine/rfc/issues.

May 2019