News for hackers. Stuff that matters.
Re:Pipeable Ruby - forget about grep / sed / awk / wc ... by moe on Thursday April 21, 2011 @07:56AM (#2470278)

  # seq $((2**32)) | pru "/find me/" >/dev/null
  gems/pru-0.1.3/lib/pru.rb:13:in `[]': failed to allocate memory (NoMemoryError)
Guess I'll try to not forget about grep and sed just yet...
Re:Pipeable Ruby - forget about grep / sed / awk / wc ... by smcdow on Thursday April 21, 2011 @09:33AM (#2470530)
Out of curiosity, I tried this and it worked fine:

  seq $((2**32)) | perl -ne '/find me/ && print'