Ruby one-liners
I'm a huge fan of Ruby, the programming language, to automate tasks and do scripting stuff with.
Here's a collection of one-liners that totally surprised me, because I didn't know I could use ruby -e
to do simple string manipulation, without whipping up a file to execute:
https://github.com/learnbyexample/Command-line-text-processing/blob/master/ruby_one_liners.md
Author at Zettelkasten.de • https://christiantietze.de/
Howdy, Stranger!