|
|
|
|
|
by anamoulous
3620 days ago
|
|
This is the kind of stuff that is great for shell scripting / one liners. I doubt they are ever going deprecate it. Maybe the best thing is to rewind your mind 30 minutes and pretend you never read about it : ) Example ruby -ne 'puts $1 if $_ =~ /^(([\d\.])+)/' < /etc/hosts
|
|