pdfocr
pdfocr copied to clipboard
line 85 typo?
Trying to run the script results in a syntax error right out of the box. Changing the ~ on line 85 to a - fixed it.
After completing the first task, the script dumped another error during cleanup:
/home/username/bin/pdfocr:57:in 'block in rmdir': undefined method 'in?' for "merged.pdf":String (NoMethodError)
from /home/username/bin/pdfocr:56:in 'foreach'
from /home/username/bin/pdfocr:56:in 'rmdir'
from /home/username/bin/pdfocr:401:in '<main>'
I have no familiarity with ruby, so I'm going to assume that these errors weren't happening for whoever updated this last. Is there an interpreter version dependency or something that I'm missing?