I was recently working on a system that used a lot of flat-file db's. After the file was processed by #!perl or #!sh via cron, the file would be renamed filename~. When we would kill/restart processes, we would rename the files to their original. Pain when you have more than a few....