mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
3984104b1c
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2171 af4574ff-66df-0310-9fd7-8a98e5e911e0
18 lines
438 B
Bash
18 lines
438 B
Bash
#!/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
|