source: goTidy@ 7efb663

Last change on this file since 7efb663 was 11b36cd, checked in by Matthew Burgess <matthew@…>, 20 years ago

Upgraded to lfs-xsl-0.9 (Manuel)

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/b5_1/BOOK@3518 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 438 bytes
Line 
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
13for file in `find "$1" -name "*.html"`; do
14 tidy -config tidy.conf $file
15done
16
17exit 0
Note: See TracBrowser for help on using the repository browser.