Hi everyone, I'm trying to separate a JSON file by transaction_id so that each transaction_id corresponds to one record. However, I'm having trouble with my shell script because it seems unable to read the JSON file, and as a result, it won't process as I intended. Below is a snippet of my code that I'm currently using. I'm really hoping someone can help me figure this out!
1 Answer
Have you considered using jq for this? It's a fantastic tool for working with JSON data, and it would simplify your task greatly if it were available to you.
Thanks for the suggestion! I'd love to use jq, but my current Unix version doesn't allow me to install new libraries. Kind of stuck on that front.