* A Costa <[EMAIL PROTECTED]> [2005-04-12 02:23]:

> Package: pdl
> Version: 1:2.4.2-2
> Severity: normal
> 
> 
> Bad formatting in '/usr/share/man/man3/PDL::Reduce.3pm.gz'
> causes garbage output:
> 
>   % whatis PDL::Reduce
>   PDL::Reduce (3pm)    - - a *(C`reduce*(C' function for PDL
> 
> It's the same bug as:
> 
>   #304143 perl-doc: 
>   'whatis perlpacktut' garbage: "tutorial on *(C`pack*(C' and *(C`unpack*(C'"
>   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=304143
> 
> ...see that link for more details, and speculations as to the
> cause.

In PDL::Reduce.pm.gz there are many instances of:

    \f(CW\*(C`reduce\*(C'\fR

which seems to be a perfectly acceptable nroff construct.  

The whatis program seems to scan the "NAME" section of man pages and display
the contents.  However, whatis seems to do some kind of parsing also, by
removing the "\f(CW" and "\fR" as above.

My question is: wouldn't it be simpler to fix the whatis program in the
man-db package, such that the construct above is correctly parsed and
produces something like:

    $ whatis PDL::Reduce
    PDL::Reduce (3pm)    - - a "reduce" function for PDL

?

I am Cc:ing this message to [EMAIL PROTECTED]

-- 
Rafael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to