News for hackers. Stuff that matters.
Re:Jeffrey Snower was originally demoted over PowerShell by oaiey on Sunday May 08, 2022 @06:58AM (#31302963)
Bash as a shell is not so outstanding. It is the gnu tools and the other command line first Landscape. So bash on windows can never fly because these tools are not natively present (cygwin and friends are just awkward).

So Powershell (and the new terminal) gives us this whole package with its build-in, service and windows provided commandlets.

Consequently: bash will never beat PS on Windows except when someone provided a gnu tools and hundreds of other command line tools for windows.

Re:Jeffrey Snower was originally demoted over PowerShell by oaiey on Sunday May 08, 2022 @07:00AM (#31302977)
On the topic of Powershell on Linux I think the story there could be different, however Powershell violates the core philosophy of Linux so hard (mit vs. GPL, pipe-and-filter vs loaded DLLs, ...) that Powershell will never be something integral and natural fitting there.
Re:Jeffrey Snower was originally demoted over PowerShell by sidpatil on Sunday May 08, 2022 @10:27AM (#31304328)
> mit vs. GPL

By this measure, we shouldn't be using X or Wayland because they're MIT.

> pipe-and-filter vs loaded DLLs

At first I didn't understand what you were referring to, but I realized you were talking about cmdlets. In that regard, PowerShell is more like a scripting language than it is like a traditional Unix shell.

The more "Unix-like" approach would be to write thin command-line wrappers around the libraries you want to use. If I'm not mistaken, this is how projects like LAME and FFmpeg are implemented.

Re:Jeffrey Snower was originally demoted over PowerShell by oaiey on Sunday May 08, 2022 @02:54PM (#31306975)
Regards the licencing: you are right. I was a vit blinded by the core gnu tools.

Tiny wrappers do not work since .NET, while being very Performanz will never be C like tiny.

Re:Jeffrey Snower was originally demoted over PowerShell by sidpatil on Sunday May 08, 2022 @03:45PM (#31307499)
> Tiny wrappers do not work since .NET, while being very Performanz will never be C like tiny.

I meant tiny wrappers around non-.NET libraries, to approximate the functionality you get in PowerShell in a traditional UNIX shell.

Re:Jeffrey Snower was originally demoted over PowerShell by smackeyacky on Sunday May 08, 2022 @08:37AM (#31303472)
WSL2 availability makes powershell redundant for most server oriented dev tasks.
Re:Jeffrey Snower was originally demoted over PowerShell by justsomehnguy on Sunday May 08, 2022 @09:16AM (#31303713)
Translation: WSL2 makes running traditional tools for managing *nix servers easier from a Windows machine.
Re:Jeffrey Snower was originally demoted over PowerShell by oaiey on Sunday May 08, 2022 @02:56PM (#31306992)
Dev tasks. Yes. Admin tasks: not so much. The ask is not to create a windows client env to administer Linux machine. The ask is one management surface for Linux and Windows servers.