Sed to read the file and replace and insert the pattern
I want to read from the file and check for the pattern, if the line has some word like <string>: then string should be copied into buffer.
Afterwards, I want to insert the same <string> with some word in the next line of the file.
Could you please help me out to use sed command to perform the above mentioned operations?
I think you'd better use awk
do you mean this?
|All times are GMT -5. The time now is 05:01 PM.|