v5_1-pre1
Last change
on this file since 9a639a3 was 3984104, checked in by Bruce Dubbs <bdubbs@…>, 20 years ago |
Update to style sheets; added tidy to Makefile
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2171 af4574ff-66df-0310-9fd7-8a98e5e911e0
|
-
Property mode
set to
100644
|
File size:
438 bytes
|
Rev | Line | |
---|
[3984104] | 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.