dotfiles/.local/bin/scripts/grepman

4 lines
111 B
Bash
Executable File

#!/bin/sh
# Grep through all manuals
find /usr/share/man -name "*$1*" | xargs gunzip -c | grep $2 --color=auto