3 ms·
I'm not really talking about coreutils at all at this point, and neither are you. You're talking about shell features. And I can't speculate on how using jq is
by Sir_Cmpwn 9y ago
I'm not really talking about coreutils at all at this point, and neither are you. You're talking about shell features. And I can't speculate on how using jq is generally applicable, but I can give you an example of how to use it in a particular situation.
- AnIdiotOnTheNet 9y agoExcept you specifically stated that the coreutils way of doing things was objectively simpler than the Powershell way. If what you're saying about json wasn't applicable to coreutils than it wasn't applicable to your assertion either.
- Sir_Cmpwn 9y agoFine, the "Unix" way is better than Powershell. Are you done picking nits?
- AnIdiotOnTheNet 9y agoI was never picking nits. The UNIX way is to have simple tools that do one thing well and that can be chained together easily to perform complex tasks. Guess how Powershell works. And it does it without a bunch of error prone text parsing. And it's a much saner scripting language than Bourne shell variants. And it has the entire CLR at it's disposal (including the C interface). And you're seriously trying to tell me that the 70s era implementation of the UNIX philosophy is better?
- imiric 9y agoIt's clear that PowerShell implements a more modern design, but that doesn't instantly make it better or more powerful. It's just different. Unix still works fine; we know its quirks, and we work around them. We try to improve it in some areas, but back track in others. We might even tackle object passing some day, and some development has been done in that[0] area[1]. But that's the good thing: Unix (certain variants more than others) is open to change and anything (mostly) goes, and it's not produced by a single corporation. One that is embracing open source more recently[2], sure, but a corporation none the less. [0]: https://plumbum.readthedocs.io/ https://plumbum.readthedocs.io/ [1]: http://xonsh.org/ http://xonsh.org/ [2]: https://azure.microsoft.com/en-us/blog/powershell-is-open-sourced-and-is-available-on-linux/ https://azure.microsoft.com/en-us/blog/powershell-is-open-so...
- AnIdiotOnTheNet 9y agoOh I agree that trusting Microsoft is not a wise move, I'm just disappointed in the way the open source community clings to such archaic tools and methodologies when there is a demonstrably superior approach. Maybe you're all "that's just, like, your opinion man", but I think if you actually used both Powershell and the UNIX toolset day to day, you'd find that it is objective fact.