use string substitution in bash versus shelling out to tr, add a charset, try to minify css