I'm trying to manipulate a text file with sed looking for a pattern of .mkv
and I would like it to append this to the beginning of the matching line
pipe:///usr/bin/ffmpeg -loglevel 0 -re -i
but I am having issues working though the delimiter issue. I tried changing the /
delimited to another such as !
or |
but I get unknown command errors.
this code without //
being appended works
sed '/.mkv/s/^/test /' test