So, if you ever get sick and subscribe to lots of feeds automatically through rss2email, you know that you end up with lots of unprocessed email, like maybe a hundred chinesepod.com episodes or something. And maybe all those emails arrive base64, and maybe you want to archive each show's mp3 version. What you could do is keep opening email in mutt or something and cutting and paste'ing until your fingers fall off (mouse, keyboard, mouse, keyboard, ad pukeum).
Or you could write some perl:Basically, we just made life easier by being able to peer into things from a shell perspective with some pre-canned regexps and transforms, like:
Granted, this is still line-oriented, so maybe I'll see what the impact of moving to a multi-line parser would be....
What other good pre-canned regexps are there? I know the above are incomplete. I looked into Regexp::Common, but that needs some love and some more regexps, like email.