[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eqn returns 0 on error
From: |
Werner LEMBERG |
Subject: |
Re: eqn returns 0 on error |
Date: |
Sat, 29 Oct 2011 08:29:08 +0200 (CEST) |
> 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.
A possible improvement would be to add a command line option to all
programs of the groff suite which makes normal errors return as fatal.
This is a rather trivial change but a lot of work if you document that
also... Sorry in advance for not having time to do that.
Any takers? I'm glad to assist.
Werner