Ruby (2 blogmarks)
← BlogmarksRuby for "shell scripting"
https://ratfactor.com/cards/ruby-shell-scriptsRuby is a really good Unix citizen and I think it’s woefully underused as a general-purpose "scripting" language.
This article is a nice background and introduction to using Ruby for scripting. I've always felt that small, expressive scripts are one of Ruby's strong suits. When I need a personal one-off script to automate a set of steps, I almost always reach for Ruby.
Here is a fun tidbit:
I think this ancestral timeline may be interesting:
1977 AWK by Aho, Weinberger, and Kernighan
1987 Perl by Larry Wall
1995 Ruby by Yukihiro Matsumoto
I had no idea that awk was so named because it is the initials of the creators.
Fast(er) regular expression engines in Ruby
https://serpapi-com.cdn.ampproject.org/c/s/serpapi.com/blog/faster-regular-expression-engines-in-ruby/amp/A comparison of regular expression engines for Ruby — useful if you’re using regex at scale.