RFC(1)

πŸ“¦
version 1.0.0 Β· 3 versions
, in opensuse-leap 16.0

🌸 RFC(1) β€” the manual page, but make it group chat 🌸

okay bestie, welcome to rfc(1), from the General Commands Manual section β€” literally the cutest way to read RFCs in your terminal, no cap πŸ’…


✨ NAME ✨

rfc β€” Read RFCs in your terminal. that's the whole vibe 🫢


✨ SYNOPSIS ✨

rfc [<command>|<number>]

✨ DESCRIPTION ✨

You pass it an RFC &lt;number&gt; and it shows that RFC right there in your terminal. slay.

It uses a local cache so it does not re-download the same RFC every single time β€” like, imagine the audacity 😭. Not here. We're efficient. We're iconic. ✨


✨ COMMANDS ✨

  • search query β€” searches for query in your local RFCs using grep, and options are passed through. iykyk πŸ”
  • list β€” lists the RFCs you have locally available. a little shelf of your faves πŸŽ€
  • sync [week|month|all] β€” batch-download RFCs, bestie. week and month respectively download only the RFCs that were added or updated during the last week/month. all (the default) downloads all RFCs. it might take some time; be patient πŸ’€ like fr, go get a snack.
  • clear β€” clears the local cache. bye bye πŸ¦‹

✨ OPTIONS ✨

  • -v, --version β€” prints the version number and exits ⭐
  • -h, --help β€” prints the help and exits πŸ’–
  • --debug β€” enables the tracing of all Bash commands. ⚠️ this must be the first argument. like, it has to be first, no negotiating πŸ”₯

✨ EXIT CODES ✨

  • 0 β€” Success. πŸŽ‰
  • 1 β€” RFC not found. 😭
  • 2 β€” Unrecognized command. πŸ™ˆ
  • 3 β€” Network error. πŸ’€
  • 4 β€” Neither curl nor wget are installed. 🫠

✨ ENVIRONMENT ✨

  • RFC_DIR β€” the cache directory. default is $XDG_CACHE_HOME/RFCs if XDG_CACHE_HOME is defined, otherwise ~/.cache/RFCs. πŸ“
  • PAGER β€” the command used to show RFCs. default is less. 🌸
  • CURL β€” curl (default) or wget. ✨

✨ EXAMPLES ✨

Read the RFC 2822:

$ rfc 2822

like, that's it. that's the whole thing. ate. πŸ‘‘


✨ BUGS ✨

Bugs should be reported at https://github.com/bfontaine/rfc/issues. please be nice about it 🫢


✨ AUTHOR ✨

Written by Baptiste Fontaine Β«b@ptistefontaine.fr>>. πŸ‘‘


bestie reminder: --debug first, always. the option order is not a suggestion πŸ’…

and that's a wrap! this page is from March 2024, part of the RFC(1) manual in the General Commands Manual β€” mwah, no notes πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from