~yerinalexey/dotfiles

ref: 144a38b0aa0a39003633d53b77fe4e3ca29c054b dotfiles/scripts/rfcsearch -rwxr-xr-x 270 bytes
144a38b0Alexey Yerin river,update-volume: fix old wob crashes 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# Search through RFCs installed on the system
# $ pacman -S rfc

PREFIX=/usr
RFCDIR=$PREFIX/share/doc/rfc

tail +70 "$RFCDIR"/rfc-index.txt | \
	grep -v "^ " | grep -v "^$" | cut -d"." -f1 | \
	fzf | cut -d" " -f1 | xargs -r -I{} less "$RFCDIR"/txt/rfc{}.txt