Category Archives: Perl

Replace Strings in Multiple Files

The best tool for replacing strings is Perl. It can even do it for multiple files. You don’t need to know much Perl to use the “Perl PIE” technique, that turns a potentially long script into a one-liner. I used … Continue reading

Posted in Perl, Shell Script | Leave a comment

Magic Folder to Convert DOC and OpenOffice to PDF

Most of the information in this post is derived from The code’s reposted here as a service, because the code there needs some editing. Also, a useful thread about executing OOo macros is at Here’s the code to … Continue reading

Posted in Perl, System Administration, Visual Basic for Applications | Tagged , | Leave a comment