aboutsummaryrefslogtreecommitdiffstats
path: root/goTidy
blob: e2f4eed02a66e0a73e742a39718135699e41e803 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
#######################################################################
#
# File:        goTidy
#
# Description: Tidy is best used inside a loop, but Makefiles don't do
# bash loops well.  This file alleviates that problem.
#
# Author:      James Robertson
#
########################################################################

for file in `find "$1" -name "*.html"`; do
        tidy -config tidy.conf $file
done

exit 0