There are some scenarios when a bash script will not cut it. Not even a Perl script. Not even Python. Your problem calls for C, but at the same you do not want to write a full blown C program. The Tiny C Compiler comes to the rescue.Continue reading Create bash scripts in C
Occasionally when my scanner is emailing me a PDF it gets corrupted along the way. Most of the time the individual scanned images in the PDF are either perfectly valid or at least can viewed, even though the PDF viewer refuses to open the corrupt PDF file.
The bash script below will extract the images and then combine them again into a valid new PDF file.Continue reading Recovery of scanned PDF corrupted by email transfer
Have you grown tired of typing in all those HTML special characters? Use a perl script instead:Continue reading Script to encode HTML special characters