Create a Manual / Man Page for a Script or Tool
How do we create and link a manual / man page to man command?
To illustrate my point, kindly consider the following:
As you can see that I have two scripts. I want to display a manual / man page for the scripts. How to achieve it?
For the time being I have done this:
That is writing related information in the script itself.
If it's an extensive manual you may want to better write an info file.
If it's very short, you should just put it in the script...
Anyway, a quick google search returned this , it's kinda long, so you may want to read a short page I wrote some time ago.
If you are writing a very serious/technical manual, you should probably search for "groff" which is the formatting language used in man pages.
|All times are GMT -5. The time now is 05:01 PM.|