cmd:Tidy 

Matthew Campbell - April 16th 1999, 03:20 EST

Usage 

rm -f err; ls *htm | doeach.pl 'tidy -wrap 72 -raw @_' @g ~+1/@_ 2@g@g err
tidy --show-warnings no --force-output yes -quiet -indent -raw -wrap ${hfrm:-5000} -asxml --write-back yes
tidy --write-back yes --show-warnings no --clean yes --force-output yes -wrap 5000 l-grub-1-1.html
tidy -quiet -upper -asxml -numeric -indent --show-warnings no --clean yes --force-output yes -wrap 5000 /home/tong/try/grub/l-grub/l-grub-1-1.html > $tf.grub.htm

Description 

HTML TIDY is a free utility to fix mistakes made while editing HTML and to automatically tidy up sloppy editing into nicely layed out markup. It also works great on the atrociously hard to read markup generated by specialized HTML editors and conversion tools, and can help you identify where you need to pay further attention on making your pages more accessible to people with disabilities.

Source 

http://tidy.sourceforge.net/

The maintenance of Tidy has now been taken over by a group of enthusiastic volunteers at Source Forge, see http://tidy.sourceforge.net.

http://www.w3.org/People/Raggett/tidy/

build & Installation 

make
mv tidy ~/local/bin

Run 

rm -f err; ls *htm | doeach.pl 'tidy -wrap 72 -raw @_' @g ~+1/@_ 2@g@g err
[Tip]

!!

tidy nowhere.htm
tidy 4dos650.htm
tidy -f err 4dos650.htm

documented on: Sat 11-14-98 22:38:32