I am trying to use the sed command but my version seems to be different to the one described in books or online.
I am using debian and want to add some text to the begining of each line of a text file. Both i and a switches add new lines rather than editing current ones and my version doesn't seem to understand the s switch...
Any advice?
I am using debian and want to add some text to the begining of each line of a text file. Both i and a switches add new lines rather than editing current ones and my version doesn't seem to understand the s switch...
Any advice?