3 ms·
I'm curious if you've taken the time to learn Powershell? It's a supercharged version of bash that works with Windows, but instead of piping character-only dat
by mywittyname 6y ago
I'm curious if you've taken the time to learn Powershell?
It's a supercharged version of bash that works with Windows, but instead of piping character-only data, it can pipe structured data between commands in the form of objects. The reason I ask is because, while it adds a ton of flexibility to shell scripting (to the point where I consider it to be a language), it is also quite complex.
The benefit of shell scripting is that it is simple enough to have as a tertiary language that you can pickup and use after a six month hiatus. Once you get into more powerful language territory, there are a lot more components to memorize and it becomes difficult (for me at least) to keep those idioms in my head if they go unused for months.
- ravi-delia 6y agoEvery time I learn more about Powershell I get more jealous of Windows users. Not so jealous I'd switch back, but man would I like some of those features on Linux. I know it's ported, but it just doesn't have the tooling on Linux and I'll be damned if my standard scripting language doesn't run natively.
- BeetleB 6y ago> The benefit of shell scripting is that it is simple enough to have as a tertiary language that you can pickup and use after a six month hiatus. I definitely did not find that to be the case. I've learned and relearned shell scripting a bunch of times. I always forget it and need to relearn it. Worse than perl.
- asimilator 6y ago> The benefit of shell scripting is that it is simple enough to have as a tertiary language that you can pickup and use after a six month hiatus. I've been using/abusing traditional shell scripting languages for over a decade now and I still struggle with the rough edges (especially quoting/escaping/argument passing).