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.
Want line terminators in input text to just Go Away? Ruby has a mode for that!
Put on your flip-flops, because today we venture ever deeper into the world of Ruby one-liners!
Diving deeper into the world of Ruby one-liners, today we'll learn about more special variables, querying the input stream, and... ghoooooost loooooops! 👻
In this Bash-focused episode, we'll explore a nifty trick for reading from subcommands as if they were files!
Starting processes is one thing. Keeping track of them after they've started is another.
This episode explores ARGF, a powerful object for working with input files in command-line programs.