Creating a Man page for a command

Hi,

I would like to develop a man page as the one we usually get when we execute man <command name>. This man page will be for a samll utility that i have written.

If this is not possible then what are the available possibilites for creating such help.

thanks in advance.

Well, you should put your utility somewhere like /usr/local/bin and then put your man page somewhere in /usr/local/man. Then if you set the MANPATH variable to include /usr/local/man it should work. Find some man page you like and copy its source code to your man page and then just edit the text to describe your utility.

Hi.

I think I have used txt2man a few times. There are repositories that contain it, but you may be able to get it at the URL below.

There are a number of similar utilities -- depends on how much you want to search, download, install, try, etc ... cheers, drl