Edit: I know we're not supposed to talk about voting on HN, but really? -2 for saying "hey maybe NodeJS is actually kind of OK for some stuff" is wild.
And if you don't want it to do that then you have to start managing the concurrency yourself. I've never had to manage concurrency in a shell script beyond just making sure my crons don't run over each other if they take too long.
Async is incredibly easy to manage in node, even the simplest linter handles telling you you’re forgetting to await if you are.
This is what GP said, which is incorrect.
If Microsoft had only put all the PowerShell for Linux resources into Busybox.
MSYS2 is also pretty comfy. But that audience is probably better served by running WSL2.
What do you mean? Busybox doesn't come with bash so it wouldn't work with bashisms.
Imagine installing windows powershell on debian because you don't know how to write unix shell scripts.
While byte streams are largely seen as a joke compared to typed pipes like in Powershell and Murex, you do have far greater compatibility with byte streams since all you're sending is bytes -- which means you can write scripts in whatever the hell you want and still use them in Bash / Zsh just fine.
Then you have the 40 years of coreutils. People talk about legacy as being cruft and while there is some truth in that, there's also truth in the fact that if you need to do something in the command line, there's probably already a tool written which does it. That comes from maturity.
Don't get me wrong. There is a lot I'd like to change with regards to command line usage and shell scripting (and I'm working on that ;)) but Powershell throws the baby out with the bath water. Though in fairness to Microsoft, they never quite had a mature command line prior to Powershell so there was no baby to throw out. But for Linux usage....no thanks.
Care to elaborate?
I’m stuck with Windows for bean counting reasons, and though I resent it I feel I would benefit from actually learning to make full use of it. But maybe it’s not worth the trouble?
I think the lack of adoption in the Linux world is a mix of:
* Cultural (i.e. it's Microsoft)
* Not included out of the box
* Existing tools being 'good enough'
This is a wild statement
Just read “in my opinion”.
The only thing more remarkable than bash's cruftyness is the number of people who have developed Stockholm syndrome towards it.