Text processing - Perl, I have used it for 20 years now to do this and it is still one of the best languages for it.
For certain sets of problems, it makes it trivial. I remember cranking out a report in a few hours that took a Java team 2 weeks to re-implement.