gettext
msggrep
msggrep [option] [inputfile]
The msggrep program extracts all messages of a translation catalog that match a given pattern or belong to some given source files.