D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] txt2man

 

Hi Everyone,

Been using the txt2man utility to translate some text files and command 
help outputs to manpages but it appears to be txt2man cannot handle a 
simple - properly? I've just checked on sid and etch and even txt2man's 
own help page has this issue for example :-

SYNOPSIS
       txt2man [\fB-hpTX] [-t mytitle] [-P pname] [-r rel] [-s sect]
       [\fB-v vol] [-I txt] [-B txt] [ifile]
.....
OPTIONS
       \fB-h  The option -h displays help.

       \fB-P pname
              Set pname as project name in header. Default to uname -s.

.....

It seems that most - get replaced by a \fB- in the nroff output.

Have i missed something here or is txt2man broken? Can't find any 
references to this on internet?


Thanks :-)
Robin



-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html