I'd like to know if there is any way to check if there is a string inside a `pdf` file using a shell script? I was looking for something like:

```
if [search(string,pdf_file)] > 0 then  
   echo "exist"
fi

```