sed: match string and append new line (before or after)
Before is the requirement for this example. I have a sample file with below content at /tmp/file This is line one This is line two This is line three This is line four Here in we have to put our content “your text” at one line before the string is matched one line after the … Read more