I've spent several hours trying to insert/append a line after a pattern match following numerous examples, but can't get any of them to work... not sure if this is because of differences between FreeBSD sed and GNU sed..
I'm trying to append a line after a match, rather than inserting text straight after the match.
I'd appreciate an example of doing this properly, if someone could assist.
I'm trying to append a line after a match, rather than inserting text straight after the match.
I'd appreciate an example of doing this properly, if someone could assist.