avatar
pnwrainorshine.bsky.social @pnwrainorshine.bsky.social

But yeah, I don't use awk a lot anymore for json. Before json tools were very good I would do a simplistic conversion to xml and use xpath and then work from there. These days I often load json into postgresql and use that excellent toolset. Even that's probably only for the over 40's!

sep 2, 2025, 9:44 pm • 1 0

Replies

avatar
Shriram Krishnamurthi @shriram.bsky.social

It really frustrates me that I don't know a command pipeline remotely as well as I do the Unix shell for, say, json. I mean, it's fine, I fire up Racket and code away, but there's got to be a better way. I should probably learn jq and friends and quit my bellyaching.

sep 3, 2025, 12:05 am • 3 0 • view
avatar
Shriram Krishnamurthi @shriram.bsky.social

I'm careful to say "I don't know" as opposed to the proper Internet way of speaking, which is to say "there doesn't exist". (-:

sep 3, 2025, 12:05 am • 2 0 • view
avatar
Jack Rusher @jackrusher.com

I still use sed and awk on the command line, but with JSON I just end up live coding everything with an editor connected Lisp REPL 🤷🏻‍♂️

sep 3, 2025, 9:08 am • 3 0 • view