Monthly Archives: November 2014

Inserting text in the middle of a line with AWK

Maybe I was not searching for the right terms but I had a bit of hard time to find how to this on the internet. Most of the solutions are about writing either in the line above or below the target line. I wanted to write text on the middle of a JSON object. Bear in mind I ain’t no AWK or SED wizard, I just started using AWK and there is probably far more efficient ways of doing this, I just couldn’t find them.

Continue reading Inserting text in the middle of a line with AWK