Your Windows 10 PC will soon be ‘junk’ - users told to resist Microsoft deadline::If you’re still using Windows 10 and don’t want to upgrade to Windows 11 any time soon you might want to sign a new online petition

  • TheBananaKing@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    As a linux user, I SSH to a Linux box when I want to do things that aren’t file/print/email/media/games - though honestly, Powershell is pretty fucking awesome as a scripting language.

    Imagine if every command used JSON when piping to/from another command, so you aren’t fucking around with cut and awk and sed all the time just to pull values out. It’s nice. I don’t have much application for it personally, but it honestly is pretty grown-up.

    • Free Palestine 🇵🇸@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      People will disagree with me on this one and it’s totally fine, but I don’t like JSON. Over the many years of using nothing other than Linux or other Unix-like operating systems I just got used to using stuff like awk to filter out data. PowerShell might be nice for scripting, but it’s terrible for interactive usage. I spend a lot of time in the Terminal and fish shell is my favorite because it’s awesome for interactive usage. You don’t have to use your shell for scripting though. You can also just use something like Python, Ruby, heck even JavaScript. There’s also Nushell which has an interesting way of handling data, I think it’s kinda similar to what PowerShell does. Check that out if you are interested.