From ded6dddb89cade026e592cd386790b5b10e6fe00 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Sat, 8 May 2004 14:19:53 +0000 Subject: Updated the stylesheets to their current version. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3529 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- goTidy | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 goTidy (limited to 'goTidy') diff --git a/goTidy b/goTidy new file mode 100644 index 000000000..e2f4eed02 --- /dev/null +++ b/goTidy @@ -0,0 +1,17 @@ +#!/bin/bash +####################################################################### +# +# File: goTidy +# +# Description: Tidy is best used inside a loop, but Makefiles don't do +# bash loops well. This file alleviates that problem. +# +# Author: James Robertson +# +######################################################################## + +for file in `find "$1" -name "*.html"`; do + tidy -config tidy.conf $file +done + +exit 0 -- cgit v1.2.3-54-g00ecf