Want line terminators in input text to just Go Away? Ruby has a mode for that!
Ruby has tools like -n and -p for filtering and summarizing text right from the command-line. But what about columnar input, like process listings or CSV? Today we'll see how …
Learn how Ruby's -p flag along with a bunch of handy shortcuts can take a script's worth of text filtering and shrink it to a one-liner!
Put on your flip-flops, because today we venture ever deeper into the world of Ruby one-liners!
Don't spend time mastering UNIX tools if you can use Ruby one-liners instead.
Regular expressions are sometimes accused of being a write-only language. Learn how to clarify your patterns with Ruby's extended regex syntax!
A little history lesson about computer text formats
Today we learn how to match patterns and parse out values all at once.
In this episode, we get lazy and lean on the information that Ruby captures about regex matches.