linux sed add text after match code example Example: sed add line after match sed '/^anothervalue=.*/a after=me' test.txt