blob: 8bb65be41b09adbf9857dd947a275496ad3d674a (plain
.TH HAN 1 "May 2015" "Manual page for han"
\- try running builtin help, then man(1)
.I (HELPTOPIC | MANARGS...)
If called with a single argument, try running the help builtin for the given
keyword, writing its output to a file. If it succeeds, show that. If not, pass
the call to man(1).
This was written so it could be used as a 'keywordprg' in Vim for Bash files;
you can then use the K normal-mode binding over both shell builtins (e.g. read,
set, export) and external programs (e.g. cat(1), grep(1), ed(1)).
Tom Ryder <email@example.com>