[wplug] tidy bash script
ARiley at edgarsnyder.com
ARiley at edgarsnyder.com
Thu Jul 22 13:03:03 EDT 2004
perfect. thanks so much!
Jonathan S
Billings
<billings at negate. To
org> General user list <wplug at wplug.org>
Sent by: cc
wplug-bounces+ari
ley=edgarsnyder.c Subject
om at wplug.org Re: [wplug] tidy bash script
07/22/2004 12:32
PM
Please respond to
General user list
<wplug at wplug.org>
ARiley at edgarsnyder.com wrote:
> Does anyone know how
> to descend into directories and climb back out?
>
> #!/bin/bash
> conf="-config /etc/tidy.conf"
>
> for file in *.html;
> do tidy $conf $file
> done
#!/bin/bash
conf="-config /etc/tidy.conf"
for file in `find . -type f -name \*.html`;
do tidy $conf $file
done
--
Jonathan S. Billings <billings at negate.org>
_______________________________________________
wplug mailing list
wplug at wplug.org
http://www.wplug.org/mailman/listinfo/wplug
More information about the wplug
mailing list