I hereby claim:
- I am gkfx on github.
- I am georgebateman (https://keybase.io/georgebateman) on keybase.
- I have a public key ASBE2wNhxle1wQ9TQPFMe4dUhLo8fgnQPuNPKicqTD2Gtgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# I, the copyright holder of this work, release this work into the public domain. This applies worldwide. | |
# In some countries this may not be legally possible; if so: | |
# I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. | |
apropos() { | |
/usr/bin/apropos "${@}" |\ | |
sed -n 's/\(\S*\) (\([^)]\))\s*- \(.*\)/\1 (\2)\c@\3\x00/p' |\ | |
tr -d '\n' |\ | |
xargs -0 whiptail --ok-button "Open" --output-fd 3 --title "apropos ${*}" --menu "Choose a man page." 25 100 16 -- 3>&1 1>&2 2>/dev/null |\ | |
sed -n 's/^\(\S*\) (\([^)]\))$/\2 \1/p' |\ |