I just gave it a try. most of linux commands are implemented as alias.
and there is regex, array, lots of things there.
to do a text analysis for english its very easy to do like this
it will count words, lines, characters,
cat alice.txt | measure –word –line -character
Lines Words Characters ----- ----- ------------- 4 137 707
Nice huh? you should give it a try.