All Projects → bfontaine → Rfc

bfontaine / Rfc

Licence: mit
📄 Read RFCs from the command-line

Programming Languages

shell
77523 projects
bash
514 projects

Projects that are alternatives of or similar to Rfc

Dart Code Metrics
Software analytics tool that helps developers analyse and improve software quality.
Stars: ✭ 96 (-48.11%)
Mutual labels:  cli, tool
Npm Try
🚆 Quickly try npm packages without writing boilerplate code.
Stars: ✭ 103 (-44.32%)
Mutual labels:  cli, tool
Rundeck Cli
CLI tool for Rundeck
Stars: ✭ 98 (-47.03%)
Mutual labels:  cli, tool
Boilr
⚡️ boilerplate template manager that generates files or directories from template repositories
Stars: ✭ 1,268 (+585.41%)
Mutual labels:  cli, tool
Proji
A powerful cross-platform CLI project templating tool.
Stars: ✭ 156 (-15.68%)
Mutual labels:  cli, tool
Starred search
Fuzzy search your list of starred ★ repositories on GitHub
Stars: ✭ 89 (-51.89%)
Mutual labels:  cli, tool
Redis Cui
Simple, visual command line tool for redis
Stars: ✭ 101 (-45.41%)
Mutual labels:  cli, tool
Image To Xls
A simple tool to make ascii art from an image using excel colored cells.
Stars: ✭ 75 (-59.46%)
Mutual labels:  cli, tool
Genesis
Templating, scaffolding and generation tool
Stars: ✭ 122 (-34.05%)
Mutual labels:  cli, tool
Git Hub
Git command line interface to GitHub
Stars: ✭ 119 (-35.68%)
Mutual labels:  cli, tool
Fileinfo
📄Get information on over 10,000 file extensions right from the terminal
Stars: ✭ 86 (-53.51%)
Mutual labels:  cli, tool
Grex
A command-line tool and library for generating regular expressions from user-provided test cases
Stars: ✭ 4,847 (+2520%)
Mutual labels:  cli, tool
Labeler
Manage labels on GitHub as code
Stars: ✭ 78 (-57.84%)
Mutual labels:  cli, tool
Matrix Commander
simple but convenient CLI-based Matrix client app for sending and receiving
Stars: ✭ 90 (-51.35%)
Mutual labels:  cli, tool
Nostromo
CLI for building powerful aliases
Stars: ✭ 76 (-58.92%)
Mutual labels:  cli, tool
Snitch
Snitch is the tool that keeps your tests under surveillence.
Stars: ✭ 100 (-45.95%)
Mutual labels:  cli, tool
Fsq
A tool for querying the file system with a SQL-like language.
Stars: ✭ 60 (-67.57%)
Mutual labels:  cli, tool
Neutron
Neutron is a CLI developed to help developers create new react projects with Redux + Redux Saga and offers well-structured code standardization.
Stars: ✭ 65 (-64.86%)
Mutual labels:  cli, tool
Trino
Trino: Master your translations with command line!
Stars: ✭ 118 (-36.22%)
Mutual labels:  cli, tool
Fselect
Find files with SQL-like queries
Stars: ✭ 3,103 (+1577.3%)
Mutual labels:  cli, tool

rfc

Build Status

rfc is a little tool written in Bash to read RFCs from the command-line. It fetches RFCs and drafts from the Web and caches them locally.

Usage

Just type rfc followed by the RFC number or the draft name:

$ rfc <RFC num>

e.g.:

rfc 42 # Read the RFC 42
rfc 1234 # Read the RFC 1234
rfc draft-ietf-core-coap-18 # Read IETF draft core-coap version 18

Use rfc help to see all available subcommands.

Options

  • --version: same as the version subcommand
  • --help: same as the help subcommand

Exit codes

  • 0: normal execution
  • 1: the requested RFC or archive cannot be found
  • 2: unrecognized option/subcommand
  • 3: unable to connect to the network
  • 4: can't find curl nor wget

Install

Basic install

mkdir -p ~/bin
curl -sL https://raw.githubusercontent.com/bfontaine/rfc/v0.2.6/rfc > ~/bin/rfc
chmod u+x ~/bin/rfc

This creates the ~/bin directory if it doesn’t exist, and download rfc in it. If it’s not in your PATH, you have to add it:

echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc

You may also want to install the manpage, located in man/rfc.1.

Using Homebrew

If you use Homebrew or Linuxbrew you can install rfc with one command:

brew install bfontaine/utils/rfc

Archlinux

For archlinux users, you can use the AUR package rfc-read.

The command for use it is rfc.

Requirements

  • curl or wget. It’ll try $CURL, then curl, then wget.
  • less or another pager. It uses $PAGER if it’s set.

Customization

You can choose which directory rfc uses by setting the RFC_DIR environment variable. The directory is automatically created if it doesn’t exist.

The default directory is ~/.RFCs.

Troubleshooting

rfc version 0.2.5 and above has a special --debug flag that, if passed as the first argument, enables tracing of all the Bash commands in the script.

Credits

Baptiste Fontaine and contributors.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].