Bug#414268: [Pkg-aide-maintainers] Bug#414268: aide: syntax errors tell wrong line number

Marc Schiffbauer marc at schiffbauer.net
Sat Mar 10 17:25:16 CET 2007


* Marc Haber schrieb am 10.03.07 um 15:40 Uhr:
> On Sat, Mar 10, 2007 at 01:48:25PM +0100, Marc Schiffbauer wrote:
> > For example I got this message:
> > linux:/etc/aide# aide -D -c /var/lib/aide/aide.conf.autogenerated
> > 44:syntax error:(
> > 44:Error while reading configuration:(
> > Configuration error
> > 
> > Correct would be "45".
> 
> That depends on your point of view. Aide begins counting with line
> zero, IIRC.

Maybe, but not a human... and this message is for a human, right?

I think fixing this would increase usability. Any other parser that
I know of points me to the line number where the first line is
number 1 not 0.



>
> Greetings
> Marc

dito

-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134




More information about the Pkg-aide-maintainers mailing list