Re: dar man page and -aa feature

Denis Corbin <[email protected]> Mon, 19 Mar 2007 19:28:54 +0100
Newsgroups gmane.comp.sysutils.backup.dar.general
Message-ID <[email protected]>
Wiebe Cazemier wrote:
> On Thursday 15 March 2007 19:54, Denis Corbin wrote:
> 
>>>Now I have to learn man page syntax...
>>>
>>>
>>
>>Well, maybe not. Actually, the source of the manual information is the
>>different man pages which get transformed in HTML from several ad-hoc
>>tools. I guess, it would be much interesting to have HTML as source and
>>have a (portable) process to generate from this the man page info pages
>>or other format...
>>
>>Thus, if you have some ideas of tools to use and of the information
>>stream from source to the different final information format (man page,
>>info page, ...) I'm interested in them.
>>
>>Regards,
>>Denis.
> 
> 
> I am a compleet man page noob, so I have no idea... I will stick to the nroff
> format for now (at least, that is the format of the source files, right?).
> 
> 

Yes it is, man page is the source code.

nroff formatting is not that complicated in fact...
formating is done by line beginning with a dot '.'
then you have different directives
.P for a new paragraph

.RS / .RE increment the text they enclose

.TP <num>
<text>
<description>

provide the <description> for the given <text> (used for options)
description beging indented by <num> characters.

.B bolds the next line.

There is no need to take care of carriage return, this is done
automatically.

Well, there are some similarities with LaTeX and HTML...


Regards,
Denis.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Dar-discussions mailing list
Dar-discussions-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/dar-discussions
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF/tZtpC5CI8gYGlIRAjhEAKCmVXaAs+rFxu3r2evxJhVt9PIviACgl7Em
BwTE3bGWDoMaTYjeyfylONY=
=oh5e
-----END PGP SIGNATURE-----