man -k '^printf'
lists man pages specifically available for printf utility only, printf(1)
and printf(3)
in my PC. If you do not mention these signs around printf, the command doesn't work.
I want to make an alias mank
for this but I am stuck at the logic.
I want to be able to type mank utility
and have the same output as man -k '^utility'
.
This way without typing silly symbols, we would get all the man pages available for that utility.
alias mank=apropos
. – Kusalananda Jun 28 '17 at 07:03