bash script to parse all pdfs