bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Patch] Adding examples to the man pages


From: Dr. David Alan Gilbert
Subject: Re: [Patch] Adding examples to the man pages
Date: Sun, 20 Mar 2005 01:27:34 +0000
User-agent: Mutt/1.5.6+20040907i

Hi Paul,
  So adding the following to basename.c gets me a passable entry in
the manpage:

      fputs (_("\
Examples:\n\
   basename /usr/foo/lossage/functions.l     returns functions.l\n\
   basename /usr/foo/lossage/functions.l .l  returns functions\n\
   basename functions.lisp p                 returns functions.lis\n\
\n\
"), stdout);

(These examples were actually in a comment at the top of basename.c)

But help2man hasn;t done any bold/italicising of the parameters;
I guess that is OK, but it is not particularly nice and doesn't
follow the recommendations for man pages.  Is there something
I'm missing to get help2man to do a nicer job?

Dave
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    | Running GNU/Linux on Alpha,68K| Happy  \ 
\ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]