PHP Developers Network
http://forums.devnetwork.net/

Manual / Man Page Entry
http://forums.devnetwork.net/viewtopic.php?f=30&t=120418
Page 1 of 1

Author:  devarishi [ Thu Aug 26, 2010 12:42 pm ]
Post subject:  Manual / Man Page Entry

Hi,


How do we create and link a manual / man page to man command?

To illustrate my point, kindly consider the following:

Syntax: [ Download ] [ Hide ]
-bash-2.05b# ls
case.sh  scriptPid.sh
-bash-2.05b# man case.sh
No manual entry for case.sh
-bash-2.05b#


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:

Syntax: [ Download ] [ Hide ]
-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.

Author:  VladSun [ Fri Aug 27, 2010 4:39 am ]
Post subject:  Re: Manual / Man Page Entry

http://www.fnal.gov/docs/products/ups/R ... pages.html

Author:  devarishi [ Fri Aug 27, 2010 6:09 am ]
Post subject:  Re: Manual / Man Page Entry


Author:  VladSun [ Fri Aug 27, 2010 6:25 am ]
Post subject:  Re: Manual / Man Page Entry

sudo mv your-man-page.1 /usr/local/man/man1

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/