Thanks for the reply. Basically the man pages have
already been written in the default file format. We
only have to add as many examples as possible to
illustrate the usage of the command.
First, you have to read on how to write a man page and
become familiar with the tags. Check these links:
The man pages are already present in /usr/share/man,
and in the directories within. To find out where the
documentation page for say "less" is, just do,
For example, in my system it is in
/usr/share/man/man1/less.1.gz. You can use online man
pages, but, it will be a pain converting them to the
standard man page format. So, let's just use the
existing man pages and add the examples.
Extract the .gz file using:
You can then edit the file (using any editor, vim or
emacs or any other) with examples for each option and
wherever necessary. You can use online documentation
or examples from books to provide the necessary
Check the newly modified man page using:
#nroff -man -Tascii less.1 | less
We will then make a schedule and work on the commands.
We can move the discussion to private email from now
on. This will be a continous work-in-progress. We can
each do like 3 commands/week depending on work and
- praveen shankar <praveenr_s@xxxxxxxxxxxxxx> wrote:
Yes, I am Interested in writing man page even i find
diff''' to work it.....
Mail me what is the next step...