groff
[Top][All Lists]
Advanced

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

Re: [Groff] eqn returns 0 on error


From: Ralph Corderoy
Subject: Re: [Groff] eqn returns 0 on error
Date: Sat, 29 Oct 2011 16:06:10 +0100

Hi,

Werner wrote:
> Doug McIlroy wrote:
> > When eqn encounters erroneous input, it normally continues
> > processing, presumably to try to find multiple errors in one pass.
> > When it eventually terminates, though, it returns 0, indicating
> > successful execution.
> 
> This is correct.  eqn only returns non-zero for fatal errors.  As far
> as I can see, this behaviour is true for all preprocessors of groff.

I've taken to collecting stderr and deleting lines matching known
patterns to consider OK on a per-case basis, anything left over is a
failure needing further investigation.

Cheers, Ralph.



reply via email to

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