I have a file containing my source code for a project I'm working on at the moment.
I have the word
resolution scattered over the file, and want to prefix it with
--snippet-- resolution = readString[:16] resolution = resolution.replace("\"", "") --snippet--
How can I do this?
Python, sed, grep, awk, anything...