Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • Is there no way at all you could use jq or similar to modify it in the first place instead of text-mangling? Commented Mar 31, 2019 at 20:29
  • surely! what's jq? googling... Commented Mar 31, 2019 at 20:30
  • In that case, if you could provide a minimal example of the file structure and the changes you'd like to make, someone can probably steer you right. Commented Mar 31, 2019 at 20:31
  • Ok, I added the file, plus the bit I edit, plus the result and also what I used to get there. Commented Mar 31, 2019 at 20:38