This commit was manufactured by cvs2svn to create tag 'v5_1_1'.
[linux_from_scratch.git] / BOOK / goTidy
blobe2f4eed02a66e0a73e742a39718135699e41e803
1 #!/bin/bash
2 #######################################################################
4 # File: goTidy
6 # Description: Tidy is best used inside a loop, but Makefiles don't do
7 # bash loops well. This file alleviates that problem.
9 # Author: James Robertson
11 ########################################################################
13 for file in `find "$1" -name "*.html"`; do
14 tidy -config tidy.conf $file
15 done
17 exit 0