summaryrefslogtreecommitdiff
path: root/tidy.sh
blob: 7ac04098c7459d22d9c794eb256c518466512c75 (plain)
1
2
3
4
5
6
7
#!/usr/bin/env bash

if [ $# == 0 ]; then
  find . -name '*.html' -type f -print -exec tidy -mq -config tidy.conf '{}' \;
else
  tidy -mq -config tidy.conf $@
fi