So I have the following in a file:
/icon.png
/my/path/tester/icon.png
/logo.png
/my/path/tester/logo.png
I want to replace all lines that do NOT contain 'tester' and add '/my/path/tester/' to the beginning... leaving:
/my/path/tester/icon.png
/my/path/tester/icon.png
/my/path/tester/logo.png
/my/path/tester/logo.png
I would also prefer to edit the file in place using sed.
Thanks in advance!