Anyone think of a shorter way of doing this?
it converts a directory of ttf and otf fonts to cufon (also removes capitals and spaces)
Code:
#!/bin/bash
for f in *.otf *.ttf; do
php convert.php "$f" -u "U+??" > $(echo ${f%.*}.font.js | tr ' [A-Z]-' '_[a-z]_' | tr -s _);
done