dotfiles/.local/bin/scripts/grepman

4 lines
111 B
Plaintext
Raw Normal View History

2021-05-20 10:15:04 +00:00
#!/bin/sh
2021-07-29 14:02:20 +00:00
# Grep through all manuals
2021-05-20 10:15:04 +00:00
find /usr/share/man -name "*$1*" | xargs gunzip -c | grep $2 --color=auto