Skip to content

Comment on Moreshell tricks: first class lists, jq, and the es shell

Comments

I was about to comment with my usual 'why not PowerShell', but it seems the author acknowledges this anyway at the end:

I’ll quote Rich’s sh (POSIX shell) tricks to end this:
I am a strong believer that Bourne-derived languages are extremely bad, on the same order of badness as Perl, for programming, and consider programming sh for any purpose other than as a super-portable, lowest-common-denominator platform for build or bootstrap scripts and the like, as an extremely misguided endeavor

This is why I use Plan9's rc shell for a lot of my scripting needs. It's dramatically nicer to write but even more nice to read.

alurmOP

Yeah, PowerShell and nushell are pretty cool, I hope they gain more adoption.

I keep intending to give nushell a serious try, but I'm too set in my ways :(

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.