A simple command to process each line of ARGF.
By the way, do you know the '-n' option of ruby?
$ gem install each
$ cat foo.txt a b c d e f $ cat foo.txt | each '_.split.upcase' B E
Copyright (c) 2012 jugyo, released under the MIT license