 # example: sh ./find-tokens-used-only-once.sh ../../Fizzygum-builds/latest/js/pre-compiled-max.js > deleteme.txt
 # ...then open the pre-compiled-max.js to check where the single-invocation happens and check if you can remove

 cat $1 | sed "s/'[^\n]*'/ /g" | sed 's/"[^\n]*"/ /g' | sed -E 's/^.*FontStack.*$/ /g' | sed -E 's/^.*addBulletPoint.*$/ /g' | sed -E 's/^.*addNormalParagraph.*$/ /g' | sed -E 's/^.*addNormalParagraph.*$/ /g' | sed -E 's/^[ ]*regex.*$/ /g' | sed -E 's/Color\.[A-Z]+/ /g' | sed 's/\/\/.*//' | sed 's/\//\n/g' | sed 's/\s/\n/g' | sed 's/;/\n/g' | sed 's/:/\n/g' | sed 's/,/\n/g' | sed 's/(/\n/g' | sed 's/)/\n/g' | sed 's/\./\n/g' | sed 's/{/\n/g' | sed 's/}/\n/g' | sed 's/=/\n/g' | sed 's/+/\n/g' | sed 's/-/\n/g' | sed 's/*/\n/g' | sed 's/\[/\n/g' | sed 's/\]/\n/g' | sed 's/>/\n/g' | sed 's/</\n/g' | sed 's/!/\n/g' | sed 's/?/\n/g' | sed 's/|/\n/g' | sed 's/&/\n/g' | sed 's/"/\n/g' | sed "s/'/\n/g" | sed 's/`/\n/g' | sed 's/\\n/\n/g' | sed 's/\\/\n/g' | sed 's/@/\n/g' | sed -E 's/^[0-9]+$/\n/g' | sed -E 's/^0x[0-9a-f][0-9a-f]$/\n/g' | sort | uniq -u | while read line ; do echo === $line === ; grep $line --group-separator======================== $1 ; done