source: goTidy@ 729ac53

6.0
Last change on this file since 729ac53 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
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.