W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2000

RE: wildcards with html-tidy/DOS

From: Stuart Updegrave <supde@microsoft.com>
Date: Fri, 24 Mar 2000 11:45:37 -0600
To: "'Ari Davidow'" <ari@ivritype.com>, html-tidy@w3.org
Message-ID: <OF6A2185BC.6ABA4870-ON86256870.006CDC34@rfdinc.com>

If you're doing this from a console, you'll need to use the DOS for ... in
command. From a prompt, type "for /?" to get more information. You might
want to dump to a file for ease of reading, printing, etc. "for /? >

You may also want to investigate the use of Windows Script Host to automate
Tidy. More information available from the following URL:


WSH allows the use of VBScript or JScript (as well as other Active
languages) to write OS-level processing scripts.


-----Original Message-----
From: Ari Davidow [mailto:ari@ivritype.com]
Sent: Monday, January 24, 2000 11:04 AM
To: html-tidy@w3.org
Subject: wildcards with html-tidy/DOS

I hope this is the right place to ask this question.

I am trying to run html-tidy on an NT machine (actually, I'd love to run it
on a solaris box, but haven't succeeded in downloading that version).

What I =want= to do, is to process the files such that they are written to
new directory, something like

html-tidy in/*.txt >out/*.txt

This is not working. I can redirect single files
   html-tidy in/foo.txt >out/foo.txt

but not wildcards.

Beyond that, as may be evinced from the non-html file ending, what I'm
=really= trying to do with this group of files is to process some text
files that contain html, but which are not, in and of themselves html.
In an ideal world, this would mean that I'd have a way to suppress the
html header and footer, but I can find no way to do so. Is there anything
to be done?


Ari Davidow
Received on Friday, 24 March 2000 13:14:58 UTC

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