Finds all hyphenated words within a set of text files.
$ grep -oh --perl '\b\w+(-\w+)+\b' *.tex | sort -uf
Find possible variations of hyphenated words to check for consistency
$ grep -i --color -C 1 --perl 'semi[\s-]*decision' *.tex
This will find, e.g.: “semidecision”, “semi decision” and “semi-decision”.