Manual / Man Page Entry
Posted: Thu Aug 26, 2010 12:42 pm
Hi,
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.
How do we create and link a manual / man page to man command?
To illustrate my point, kindly consider the following:
Code: Select all
-bash-2.05b# ls
case.sh scriptPid.sh
-bash-2.05b# man case.sh
No manual entry for case.sh
-bash-2.05b#For the time being I have done this:
Code: Select all
-bash-2.05b# sh case.sh --help
No help document is available at this time.
-bash-2.05b#That is writing related information in the script itself.