Command-line Knowledge Base
pdfgrep
Search contents of pdf files for a specific string
find . -name "*.pdf" -exec pdfgrep -i 'macro' '{}' \; -print
Search term with or without a specific character
NOTE: This example is for a hyphen (-).
pdfgrep -in -C 2 "bottom[-| ]up" $file