News for hackers. Stuff that matters.
Re:Mastering Jq: Part 1 by code-faster on Wednesday July 01, 2020 @04:43AM (#23699300)
It is a weird way to write it, I never use this notation for myself.

When teaching though, I'd rather make the it more visually explicit that jq commands are a sequence of filters. With the former notation, a | explicitly tells the reader that it's the end of one filter and the start of a new one, the latter is more implicit.

Re:Mastering Jq: Part 1 by llimllib on Wednesday July 01, 2020 @10:21AM (#23701617)
That's possible! I've never had to teach it, good point.