summaryrefslogtreecommitdiff
path: root/rc/apropos
blob: a0a5c316c81b45fb675ed9eff329840d13046085 (plain)
1
2
3
#!/bin/rc -e
# apropos -- find man pages by name
man -w $1 | awk -F/ '{ print $NF "(" $(NF-1) ")" }' | mc