
Dan S. answered 10/02/19
Senior Systems Engineer Specializing in Linux
When it comes to text processing, really nothing beats Perl. If you're going to be working with text in the shell, I'd use Perl over Python hands down. For one, Perl has first class shell integration, something that none of the modern languages have really appreciated. And that's fine, they're all much better at larger scale applications than Perl is. But when it comes to manipulating text, you can't beat Perl's first class shell integration and how naturally it works with regular expressions.