Hi,
This is probably old hat, but we're experimenting with Lua so I
built a simple command line text processor using Lua 5.2.3 which
lets you do things like:
munge -e "_:upper()" < input > output
where "_" is bound to each line of text.
See blog post:
http://a-coda.tumblr.com/post/109233093351/moonstruck
__Jason