source: goTidy@ 2ec64b3

v5_1_1
Last change on this file since 2ec64b3 was 2ec64b3, checked in by lfs-dev <lfs-dev@…>, 20 years ago

This commit was manufactured by cvs2svn to create tag 'v5_1_1'.

git-svn-id: http://svn.linuxfromscratch.org/LFS/tags/v5_1_1/BOOK@3757 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.