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: Mon, 24 Jan 2000 11:45:51 -0800
Message-ID: <5B3F16B2DB67D1119A0D00805F312AA2149801F3@RED-MSG-58>
To: "'Ari Davidow'" <ari@ivritype.com>, html-tidy@w3.org
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 Scripting
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 a
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 Monday, 24 January 2000 14:47:47 UTC

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