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 /? >
c:\for.txt"

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

  http://msdn.microsoft.com/scripting/windowshost/

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

cheers,
~stuart

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


Ari Davidow
ari@ivritype.com
http://www.ivritype.com/
Received on Friday, 24 March 2000 13:14:58 GMT

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