6.0
Rev | Line | |
---|
[ded6ddd] | 1 | #!/bin/bash
|
---|
| 2 | #######################################################################
|
---|
| 3 | #
|
---|
| 4 | # File: goTidy
|
---|
| 5 | #
|
---|
| 6 | # Description: Tidy is best used inside a loop, but Makefiles don't do
|
---|
| 7 | # bash loops well. This file alleviates that problem.
|
---|
| 8 | #
|
---|
| 9 | # Author: James Robertson
|
---|
| 10 | #
|
---|
| 11 | ########################################################################
|
---|
| 12 |
|
---|
| 13 | for file in `find "$1" -name "*.html"`; do
|
---|
| 14 | tidy -config tidy.conf $file
|
---|
| 15 | done
|
---|
| 16 |
|
---|
| 17 | exit 0
|
---|
Note:
See
TracBrowser
for help on using the repository browser.