add text at the beginning and at the end of lines in a file
I have one text file with about 15 lines of data. I am trying to write a script that would add this <p> at the beginning and at the end of a line, from line 5 to line 15, but ignore first 5 lines of text.
I had a go with the sed command but I just donít know how to do it, can anyone advice of ways to achieve this please?
Thank you in advance
Last edited by smithy2010; 07-19-2012 at 05:43 PM.