I'm writing a man page for a program that I am packaging. How can I display the manpage file that I created, to check if it's all right? Is there a way to pass my file directly to the man
command instead of having it search the installed manpages by name?
I tried doing things like man myprog.1
and man < myprog.1
but in both cases I got an error saying that the man page could not be found.