(Author of post here) Imposing constraints upon oneself is not a bad thing at all, I enjoy that approach (which was also why this time I constrained myself to `jq`). I didn't know that `column` could do so much, thanks for the pointer, btw.
That is the longest way I've ever seen of writing "1" in my life. Bonus points: on Linux, it just is "1\n", versus Mac it's "1," (with no trailing newline)
And the story behind it is a bit silly but memorable. To keep things fun, our ENG team does "left field challenges" and this one was "using only core bin tools, how would you get the field numbers and field values of the tomcat access log file in json format". Its memorable because not long after the code was posted in the ENG chat, we had a PRD incident and some team members used it and found it useful.
Command:
Output: