Interesting. I would prefer not to learn Perl, but I'll take your word for it that I might dislike than less than learning more sed. Maybe I will focus on awk instead. I like the idea of a simple regex-based text processing interface and I don't particularly mind which tool I use for that.