linux sed insert line after pattern code example
Example 1: sed add line after match
sed '/^anothervalue=.*/a after=me' test.txt
Example 2: ubuntu sed insert line after
sed '/searched text here/a text to replace here' file/location/fileName.txt