agamez26 / epubcheck

Automatically exported from code.google.com/p/epubcheck
0 stars 0 forks source link

Suppress superfluous output? #234

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm using ebpubcheck as a command line tool in a script, piped as follows:

/usr/bin/java -jar /opt/epubcheck/epubcheck.jar /path/to/file.epub 2>&1

The issue I'm having is that, even when a book is valid, there will be output.

Right now I grep for "check finished with warnings or errors" but I would 
prefer a command line option. Something that would instruct the app to return 
absolutely nothing if an epub is valid. Something like --noout in xmllint.

Is this possible?

Thank you for consideration.

Original issue reported on code.google.com by err...@pressbooks.com on 18 Dec 2012 at 11:28

GoogleCodeExporter commented 9 years ago
Dear errors,
this is a good suggestion. We will add this in a release following the 
very-soon-now 3.0 release.

Original comment by markus.g...@gmail.com on 19 Dec 2012 at 7:48

GoogleCodeExporter commented 9 years ago
Revision 459 adds a -q or -quiet argument so that no message is sent to stdout, 
only errors are output to stderr

Original comment by tledou...@gmail.com on 17 Apr 2013 at 5:11

GoogleCodeExporter commented 9 years ago

Original comment by rdeltour@gmail.com on 27 May 2013 at 10:29