sed insert line after match code example
Example 1: sed add line after match
sed '/^anothervalue=.*/a after=me' test.txt
Example 2: sed insert multiple lines after match
sed '/cdef/r add.txt' input.txt
sed '/^anothervalue=.*/a after=me' test.txt
sed '/cdef/r add.txt' input.txt