@mjgardner In my Unix sysadmin handbook from about 15yrs ago, they make a big point about shell scripts beyond 50 lines really need to become Perl or Python. I am by no means a programmer but I tend to use that as a yardstick. I've seen a *tonne* of horrendous shell scripts that could use the lesson though.
@sullybiker Yep. And I just found out that this isn’t even the first time the #JavaScript kiddies have done this.
https://github.com/shelljs/shelljs
“#ShellJS is a portable implementation of #Unix #shell commands on top of the #NodeJS API […] say goodbye to those gnarly #Bash scripts!”
Of course, #PerlPowerTools also exists if you want Unix commands that work the same everywhere. It has exactly four non-core #CPAN dependencies.
https://perlpowertools.com