D&C GLug - Home Page

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

Re: [LUG] txt2man

 

On Wed, 2008-01-02 at 15:24 +0000, Robin Cornelius wrote:
> 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

I would have that it'd be a problem with the way txt2man passes the -
symbol to nroff.  Personally I'm a copy/paste merchant with
manedit/gmanedit.

Cheers.
Grant. :)


-- 
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