Last active
April 12, 2018 14:08
-
-
Save retpolanne/37de63b4633d9fff4c31c66009098383 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# The directory is different on arch, I'm too lazy to change it. | |
# install doc-rfc before using it | |
# https://news.ycombinator.com/item?id=16570470 | |
RFCS_DIR="/usr/share/doc/RFC/" | |
RFC_QUERIED=$1 | |
echo "$(find $RFCS_DIR -name '*'$RFC_QUERIED'*')" | head -1 | xargs zmore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment