W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2003

Re: help regarding Tidy

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 09 May 2003 07:02:43 +0200
To: Royalmech <royalmech2001@yahoo.com>
Cc: html-tidy@w3.org
Message-ID: <3ef12d23.111011686@smtp.bjoern.hoehrmann.de>

* 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:54 GMT