Spotlight | Reviews | Current Issue | Newsletter | Subscribe | Contact |
Departments

user friendly

  linuxpromagazine.com » Issues » 2005 » 51 » A Call for New Manpages!  

Print this page. Recommend
Slashdot it! Delicious Digg

Creating Manpages with groff

A Call for New Manpages!

Author(s): HEIKE JURZIK

Do have difficulty remembering

command syntax? It often pays to

check the manpage. In this issue of

Command Line,we look at how to

create your own manpages,and

how to convert manpages to other

formats.

Good documentation is almost as

important as good programming.

It even makes sense to document

the major functions in the most trivial of

your own scripts, to save you from racking

your brains later when you need to

change something. Manpages give users

tips on usage and details on command

syntax options. Some manpages also

include examples or references to related

tools.

Users can read manpages in a terminal

window, and they can convert a manpage

quickly and easily to another

format such as HTML, PostScript, or

PDF. Manual pages are traditionally created

using the text formating tool groff.

The first version of this program

appeared on legacy Unix systems, where

it was known as roff (= “run off”). Later

developments of the document formatter

were called nroff and troff; groff is the

GNU version for the current crop of

Linux systems. This article shows how to

use groff to write a manpage and how to

convert that manpage into other formats.


Read full article as PDF »


Comments


Print this page. Recommend
Slashdot it! Delicious Digg
Get your backstage pass to Linux!

If you're ready for a deeper look, Linux Magazine gives you a view behind the scenes.

Don't miss out on the tools, tutorials, and reviews you'll need to unlock the secrets of Linux.

more...

 

In the US and Canada, Linux Magazine is known as Linux Pro Magazine.
Entire contents © 2008 [Linux New Media USA, LLC]
Linux New Media web sites:
North America: [Linux Pro Magazine]
UK/Worldwide: [Linux Magazine]
Germany: [Linux-Magazin] [LinuxUser] [EasyLinux] [Linux-Community] [Linux-Nachrichten] [Linux Events]
Eastern Europe: [Linux Magazine Poland] [Linux Community Poland] [Darmowe Programy Poland] [Open Source DVD Poland] [Linux Magazin Romania]
International: [Linux Magazine Brazil] [Linux Magazine Spanish]
Corporate: [Linux New Media AG]