I\'m trying to improve a bash script I wrote using jq, but can\'t quite get the conditional nature of the task at hand to work.
jq
The task: in