holman/spark — pull request #39 by gwern (2011-11-16 02:06:55+00:00)
Title: eat stdin with 'cat', not 'read' which doesn't seem to work with stdin (...

...this should fix issue #9)
should be tested thoroughly, of course, but this seems to work with all the various ways of arguments and stdin-ing I tried.