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

Bug#537838: [checks/manpages] .ig EOC -> .EOC warned as missing macro

Russ Allbery wrote:
> Steffen Moeller <steffen_moeller@gmx.de> writes:
>> a fancy man page has this little section here (actually many of these
>> sections and the package (torque) has many man pages, hence the bug is
>> not minor) :
>> ..if !\n(Pb .ig Ig
>> ..ft 6
>> ..IP "\&\s-1\\$1\s+1\f1"
>> ..Ig
>> ..if  \n(Pb .ig Ig
>> ..ft 2
>> ..IP "\&\\$1\s+1\f1"
>> ..Ig
>> ...
>> which means that the block may be skipped.
>> lintian does not get it but warns about .Ig being an undefined macro -
>> it is not. It is the end of the comment.
> Lintian doesn't analyze man pages itself.  It asks man to do that, which
> in turn asks groff to do that.  So groff does not get this code, which
> strongly implies that it's actually wrong, or at least being intentionally
> warned about.

This is strange since running those page through nroff -man or groff -man is just
flawless. I am attaching one of those bits:

W: torque-server: manpage-has-errors-from-man usr/share/man/man8/pbs_server.8B.gz 239:
warning: macro `Ig' not defined

Attachment: pbs_server.8B.gz
Description: application/gzip

Reply to: