Ingo Schwarze <schwa...@usta.de> wrote:
> * "mkdir ./tmp" needs error checking: what if it exists, but > is not a directory? Just barrelling on regardless is clearly > a bad idea. Besides, i doubt the wisdom of creating a tmp > directory in the current working directory. > Use /tmp/, that's what it's for. > Look at what this command does, see mktemp(1): > mktemp -d -p /tmp/ pdftexter.XXXXXXXXXX About this, in the last version I decided to cache old ocr jobs and I moved all this caching stuff under ~/.cache, maybe better choice, let me know.. Dan ------ Blog: https://bsd.gaoxio.com - Repo: https://code.5mode.com Please reply to the mailing-list, leveraging technical stuff.