News for hackers. Stuff that matters.
Re:Pipeable Ruby - forget about grep / sed / awk / wc ... by telemachos on Thursday April 21, 2011 @08:09AM (#2470316)
Many people (including Matz) discourage Ruby's Perlisms (or Perlish roots?), but at least for now, they're still there. (I say at least for now because Matz has said that they may go away at some point.)

Check man ruby and you'll see familiar (if you're used to Perl one-liners) command-line switches: -p, -l, -n, -F, -a, -i and so on.

See also here for some familiar friends: http://www.zenspider.com/Languages/Ruby/QuickRef.html#19

There are no comments on this comment yet.