rtext /

Filename Size Date modified Message
357 B
685 B
1.1 KB
3.7 KB


text processing tools in Ruby


The rtext project currently includes the following utilities:

  • textats.rb


This is a (currently in-progress) wc-like program that provides additional statistics. It was inspired by Alex Shinn's wordstat, written in Perl, but was implemented from scratch, only using his program's output as a guide. Alex Shinn's wordstat is at:


The name textats.rb is a portmanteau of "text" and "stats", with the standard Ruby filename extension attached. A symlink or alias so this can be executed using ts instead of textats.rb is probably a good idea, for the sake of convenience.