if [ "$1" != "" ]; then echo "Find html files in $1"; find $1 -name "*.html" -type f echo " "; echo " "; echo " "; files=( $(find $1 -name "*.html" -type f) ) echo " Minifying..."; echo " "; total = 0; for entry in $(find $1 -name "*.html" -type f) do echo s=$(stat -c%s "$entry"); echo "Size of $entry = $s bytes."; cat $entry | sed -e :a -re 's///g;/