W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2002

Re: Any table "summary" attribute tool?

From: Jany Quintard <jany.quintard@free.fr>
Date: Fri, 9 Aug 2002 09:47:13 +0200
To: michaelhyleung@hsbc.com.hk
Cc: html-tidy@w3.org
Message-ID: <20020809074712.GG13774@p552c69w>

* michaelhyleung@hsbc.com.hk [Wed, 07/08/2002 at 02:33 -0400]
> Hello,
> If I?m managing a large volume of HTML pages, is there any tools that I can
> use to satisfy the table ?summary? attribute requirements without going to
> each page and modify it manually?
> PS.  Am I overlooking or I don?t see any options for me to add the
> ?summary? attribute under the configuration file setting(HTML tidy) ?

for file $(find . -name "*.html)
  cat $file | sed s!<table!&\ summary="Automatically_added"!g > \

  cat /tmp/add.html > $file

This should do the trick (UNTESTED!!!!), if you have a Unix box.
I am not sure that the
spaces in the sed command work. See the man.
Save your files before trying, in case I goofed, or
try it on a copy !!!

Received on Friday, 9 August 2002 03:47:26 UTC

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