443
you are viewing a single comment's thread
view the rest of the comments
[-] Mountaineer@aussie.zone 17 points 1 year ago

I don't think it's strictly compliant, although they claim to have based it's syntax on Korn shell, which is the strictest definition of POSIX shells.

You can do pretty much everything in powershell that you can do in something like bash BUT, it will be done slightly differently, so trying to make a script cross compatible is pointless (you might as well just write it natively in powershell etc).

Powershell isn't inherently bad, unlike bash for instance which just allows piping out text output, Powershell can pass around true .net objects.
But if what you're looking for is cross OS compatability, you're pushing shit uphill.

99.9% of the time, I open powershell and just ssh into a "real" linux box.

[-] mvirts@lemmy.world 8 points 1 year ago* (last edited 1 year ago)

Lol except they aliased wget and curl but dont parse the standard options 😡

[-] Zeth0s@lemmy.world 6 points 1 year ago

That's borderline criminal. Nothing more to add

[-] PuppyOSAndCoffee@lemmy.ml 4 points 1 year ago

powershell is inherently bad btw

[-] PuppyOSAndCoffee@lemmy.ml 2 points 11 months ago

Your quote cannot be read because reading is disabled on this system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.

[-] SeeJayEmm@lemmy.procrastinati.org 1 points 11 months ago

Do your complaint is that the default security policy, that is easily changed with one command, is conservatively set?

this post was submitted on 25 Sep 2023
443 points (83.8% liked)

Unixporn

15168 readers
57 users here now

Unixporn

Submit screenshots of all your *NIX desktops, themes, and nifty configurations, or submit anything else that will make themers happy. Maybe a server running on an Amiga, or a Thinkpad signed by Bjarne Stroustrup? Show the world how pretty your computer can be!

Rules

  1. Post On-Topic
  2. No Defaults
  3. Busy Screenshots
  4. Use High-Quality Images
  5. Include a Details Comment
  6. No NSFW
  7. No Racism or use of racist terms

founded 5 years ago
MODERATORS