Rhymelikedime
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Gingernate@programming.dev to Unixporn@lemmy.ml · 2 years ago

Im going to get banned for this

programming.dev

message-square
138
fedilink
446

Im going to get banned for this

programming.dev

Gingernate@programming.dev to Unixporn@lemmy.ml · 2 years ago
message-square
138
fedilink
  • Mountaineer@aussie.zone
    link
    fedilink
    English
    arrow-up
    17
    ·
    2 years 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
      link
      fedilink
      arrow-up
      8
      ·
      edit-2
      2 years ago

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

      • Zeth0s@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        2 years ago

        That’s borderline criminal. Nothing more to add

    • PuppyOSAndCoffee@lemmy.ml
      link
      fedilink
      arrow-up
      6
      arrow-down
      2
      ·
      2 years ago

      powershell is inherently bad btw

      • 𝓢𝓮𝓮𝓙𝓪𝔂𝓔𝓶𝓶@lemmy.procrastinati.org
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        Nuh uh btw

        • PuppyOSAndCoffee@lemmy.ml
          link
          fedilink
          arrow-up
          2
          ·
          2 years 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.

          • 𝓢𝓮𝓮𝓙𝓪𝔂𝓔𝓶𝓶@lemmy.procrastinati.org
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

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

Unixporn@lemmy.ml

unixporn@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !unixporn@lemmy.ml

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
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2 users / day
  • 185 users / week
  • 757 users / month
  • 1.8K users / 6 months
  • 3 local subscribers
  • 17.2K subscribers
  • 784 Posts
  • 6.32K Comments
  • Modlog
  • mods:
  • Dessalines@lemmy.ml
  • Stardust-kyun@lemmy.ml
  • jackmarxist [any]@hexbear.net
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org