Comment on Your Windows 10 PC will soon be 'junk' - users told to resist Microsoft deadline
TheBananaKing@lemmy.world 1 year agoAs 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.
netchami@sh.itjust.works 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.