Json – How can I sed two curly braces on two lines and add a coma between them on a Mac?
I'm trying to parse some JSON and am running into an issue with parsing. My objects are: { "foo" : "bar" } { "spam" : "ham" } I want to change this in a shell script to: { "foo" :…