- From: Alain Knaff <Alain.Knaff@aev.etat.lu>
- Date: Tue, 2 Apr 2019 07:50:49 +0000
- To: "public-htacg@w3.org" <public-htacg@w3.org>
Hi, When using tidy as a converter to convert HTML to XHTML, it prints its usage "banner" to stderr. $ tidy -asxhtml index.html >output.html Info: Document content looks like XHTML 1.0 Strict No warnings or errors were found. About HTML Tidy: https://github.com/htacg/tidy-html5 Bug reports and comments: https://github.com/htacg/tidy-html5/issues Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ Validate your HTML documents: http://validator.w3.org/nu/ Lobby your company to join the W3C: http://www.w3.org/Consortium Do you speak a language other than English, or a different variant of English? Consider helping us to localize HTML Tidy. For details please see https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md $ This makes it unusable in environments such as cronjobs. I could theoretically redirect stderr to /dev/null, but this would also silence actual error messages, should they occur... The XHTML in output.html looks ok by the way :-) IMHO, a banner should only be printed in response to a specific option (such ass tidy --about), or maybe if command line options are erroneous (... in which case it should be accompanied by a short statement what exactly is erroneous with the options) Thanks, -- Alain Knaff Ingénieur Informaticien LE GOUVERNEMENT DU GRAND-DUCHÉ DE LUXEMBOURG Ministère de l'Environnement, du Climat et du Développement durable Administration de l'environnement 1, avenue du Rock'n'Roll . L-4361 Esch-sur-Alzette Tél. (+352) 40 56 56-309 E-Mail: Alain.Knaff@aev.etat.lu www.emwelt.lu . www.environnement.public.lu . www.luxembourg.lu
Received on Wednesday, 3 April 2019 08:21:26 UTC