W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2003

Re: Run window version Tidy once more

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 18 Jul 2003 19:35:44 +0200
To: fe.sola@infomed.sld.cu
Cc: Steve Wang <swang@carebridge.com>, html-tidy@w3.org
Message-ID: <3f4c2f53.417714671@smtp.bjoern.hoehrmann.de>

* fe.sola@infomed.sld.cu wrote:
>I downloaded the Tidy.exe utility to test what Tidy does or doesn't. I tried
>the following:
>tidy -asxml foo.html foo.out.html

This is supposed to tidy both, foo.html and foo.out.html.

>in the command windows tidy seems to parse the foo.html document and does show an xhtml 
>valid version of it, the thing is, it doesn't update the foo.out.html file with the 
>tidied version.

Use -m if you want to have foo.html modified.

>The same happens if I use
>tidy -asxml foo.html -o foo.out.html
>tidy -asxml foo.html -out foo.out.html

This is supposed to tidy foo.html, -out and foo.out.html. Use

  tidy -asxml -out foo.out.html foo.html

>The same happens when I use a config file instead of the -asxml directive, the 
>foo.out.html is not updated.
>tidy -config optionfile.txt foo.html -o foo.out.html

tidy foo.html, -o and foo.out.html.

>What's wrong?

The order of the arguments.
Received on Friday, 18 July 2003 13:36:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:54 UTC