cvs commit: ALFS/docs/syntax_doc/stylesheets goTidy

jwrober at linuxfromscratch.org jwrober at linuxfromscratch.org
Tue Mar 30 19:42:57 PST 2004


jwrober     04/03/30 20:42:57

  Modified:    docs/syntax_doc/stylesheets goTidy
  Log:
  changed file type
  
  Revision  Changes    Path
  1.3       +27 -27    ALFS/docs/syntax_doc/stylesheets/goTidy
  
  Index: goTidy
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/stylesheets/goTidy,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- goTidy	14 Mar 2004 04:27:27 -0000	1.2
  +++ goTidy	31 Mar 2004 03:42:57 -0000	1.3
  @@ -1,27 +1,27 @@
  -#!/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
  -#
  -###############################################################################
  -
  -NAME=`basename "$0"`
  -DESTDIR="$1"
  -
  -cd $DESTDIR
  -
  -if [ -z "$1" ]; then
  -        echo "USAGE: $NAME destdir"
  -        exit
  -fi
  -
  -for file in `find ./ -name "*.html"`; do 
  -	tidy -config tidy.conf $file 2>/dev/null;
  -done
  -
  -exit 0
  +#!/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
  +#
  +###############################################################################
  +
  +NAME=`basename "$0"`
  +DESTDIR="$1"
  +
  +cd $DESTDIR
  +
  +if [ -z "$1" ]; then
  +        echo "USAGE: $NAME destdir"
  +        exit
  +fi
  +
  +for file in `find ./ -name "*.html"`; do 
  +	tidy -config tidy.conf $file 2>/dev/null;
  +done
  +
  +exit 0
  
  
  



More information about the alfs-log mailing list