Re: help regarding Tidy

* Royalmech wrote:
>Sir,I use windows 2000.I am exploring the various options
>provided by HTML Tidy.I tried the following command
>
>  tidy <file.html> -o <file2.html>
>
>so that the corrected code is written into file2.html
>leaving the original input file file.html untouched.
>But it doesnt work.

That's a known shortcoming, you need to specify configuration option
before any file name,

  % tidy -o file2.html file.html

should work. You could also use IO redirection, e.g.

  % tidy file.html > file2.html

HTH.

Received on Friday, 9 May 2003 01:03:02 UTC