As we continue exploring Ruby one-liner alternatives to UNIX command-line operations, today we tackle a common case: a combination of grepping through multiple files, and collating the results.
Tag: cli

Episode #642
Line Ending Processing Mode
Want line terminators in input text to just Go Away? Ruby has a mode for that!

Episode #636
I got my flippy-floppies
Put on your flip-flops, because today we venture ever deeper into the world of Ruby one-liners!

Episode #635
ARGF, That’s Some AWK-ward Ruby!
Diving deeper into the world of Ruby one-liners, today we'll learn about more special variables, querying the input stream, and... ghoooooost loooooops! 👻

Episode #628
Process Substitution
In this Bash-focused episode, we'll explore a nifty trick for reading from subcommands as if they were files!

Episode #423: Subprocesses Part 5: SIGCHLD
Starting processes is one thing. Keeping track of them after they've started is another.

Episode #058: ARGF
This episode explores ARGF, a powerful object for working with input files in command-line programs.