pdfgrep: how to install pdfgrep on Mac

Viewed 2333

I am trying to make a regex search on a pdf file on Mac. For that, I'm trying to install pdfgrep. I have cloned the repository, but I'm not sure how to install it.

On the README, it says to

use the standard procedure:

./configure
make
sudo make install

,but just running these commands doesn't make the installation. Can anyone help me?

3 Answers

If you want to use the regular expression (PCRE) option, please use brew install pdfgrep --with-pcre. Or brew reinstall pdfgrep --with-pcre if you already installed pdfgrep.

Related