Episode #638
Ruby as a Filter

Building on recent episodes about Ruby’s special features for command-line scripting, today we tackle a text filtering problem. Learn how Ruby’s -p flag along with a bunch of handy shortcuts can take a script’s worth of munging logic and shrink it into a one-liner!

Members only

Log in below or get 48-hour access for $5.

Need more time? See all available plans.