this post was submitted on 10 Dec 2023
99 points (95.4% liked)

Programming

16971 readers
373 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

TL;DR: It would be cool if all CLI apps supported JSON output, but in the meantime we can use jc

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 28 points 9 months ago* (last edited 9 months ago) (6 children)

While jc is a great tool, and I'm definitely a fan, I believe the real solution to the overarching problem lies in a paradigm shift: see nushell

[–] [email protected] 5 points 9 months ago* (last edited 9 months ago) (1 children)

I've always struggled with actually retaining knowledge on how to use the myriad tools you'd usually need to extract/parse data (awk, sed and friends) and this was a game changer. I don't quite daily drive it just yet but when I do need it, it's vastly more ergonomic.

[–] [email protected] 2 points 9 months ago

love to read fellow* people in the unix world discovering what made powershell great 10+ years ago as though it's a paradigm shift. and the top comment of the thread is still nitpicking the points in the post while missing the forest for the trees. I mean ifconfig as an example is lol but still.

like powershell's got such bizarre warts and design choices and it's more ergonomic than unstructured text pipelines despite that

i know it's not that simple but still, lol

*linux has been my primary os for 9+ years, not throwing stones here

load more comments (4 replies)