3 ms·
In my case, my memory doesn't work that way. I have learnt jq several times but I don't use it frequently enough to retain the knowledge. A better tool for me
by stevage 3y ago
In my case, my memory doesn't work that way. I have learnt jq several times but I don't use it frequently enough to retain the knowledge.
A better tool for me would be something that uses JS syntax but with some syntactic sugar and a great man page.
- throwaway2037 3y agoWhat is "JS syntax"? And can you write a frontend for jq that converts "JS syntax" to jq syntax? And is the jq man page poor? I'm sure they will accept patches for it.
- andelink 3y agoThe jq man page is pretty good IMO. It’s where/how I learned to use jq
- ruuda 3y agoI have that same problem, the advanced features I use too little to remember. Then I started working on a configuration language that should have a non-surprising syntax (json superset, mostly inspired by Python, Rust, Nix). And it turns out, this works well as a query language for querying json documents. https://github.com/ruuda/rcl https://github.com/ruuda/rcl Here is an example use case: https://fosstodon.org/@ruuda/111120049523534027 https://fosstodon.org/@ruuda/111120049523534027