it's once again time for Me Asking Noob-Level Questions About jq
(Specifically, I have a big ol' JSON dataset with like tens of thousands of objects containing a bunch of key-value pairs. However it is missing a crucial key-value. I need to be like, "ok, for every object combine value1+value2+value3, number each unique combination so I'm dealing with a nice identifier number rather than a monster string, and add newKey: uniqueID to each object." I feel this would be easy if I were used to 1) programming and 2) JSON but I'm not. I could do this in a GUI spreadsheet program but my laptop only has so much RAM.)
@nev threw this together for you, lightly tested but you can probably edit it to do what you want https://paste.sr.ht/~d6/38c9166a97d2ce2b198bd2ac18c8435de3a6591d
@d6 thank you so much! i'll give it a try
@nev now I'm like do you know anyone hosting OpenOffice or whatever on a cloud. oh you could burn googles compute on it with Google sheets
@t54r4n1 that's what I usually do. I may have to fire up the Gaming Rig which has more RAM to do it comfortably. However it would be nice if I could figure out how to do it in a terminal.