Re: Tidy for Windows - Appending output to existing file
Bjoern Hoehrmann <[email protected]> Mon, 24 Feb 2014 14:25:24 +0100
| Newsgroups | gmane.comp.web.html-tidy.user |
|---|---|
| Message-ID | <[email protected]> |
* Peter Higginbotham wrote: >Not sure if this is bug or feature request or usage advice. >I'm using tidy for Windows 25 march 2009 with Windows 7. >How do I get tidy to *append* its output to a file? >The -f switch always seems to overwrite the specified file. >Adding something like: > >>outfile.txt >to the tidy command line either only has the >last file's output in it or is empty. I am not sure what your last sentence means, but having Tidy print to `stdout` and using the console's `>>` redirection is the correct and only method available. Plain % tidy input1.html >> multiple-files % tidy input2.html >> multiple-files ... works fine as far as I can tell. -- Björn Höhrmann · mailto:[email protected] · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/