mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 05:27:39 +00:00
18 lines
438 B
Plaintext
18 lines
438 B
Plaintext
|
#!/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
|