W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2000

Re: Tidy - Bug report (2)

From: J. David Bryan <jdbryan@acm.org>
Date: Tue, 12 Dec 2000 23:39:55 -0500
Message-Id: <200012130439.XAA28294@mail.bcpl.net>
To: HTML Tidy List <html-tidy@w3.org>
On 12 Dec 2000, at 7:44, Rolf Hemmerling wrote:

> Problem: If I use "automatic" file redirection, I get an EMPTY file. In
> fact, as I was not careful enough, I **lost** the original file, as I
> usually copied the "new" file over the "old" file, to get a better
> formated version ! 

Do not use file redirection.  Instead, use the "-m" option when running 
Tidy.  With this method, Tidy will not rewrite the file if it finds an 
error, so your original file would be unchanged.

                                      -- Dave
Received on Tuesday, 12 December 2000 23:39:58 GMT

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