Hi Folks,
I am here with a simple doubt. I am having a flat file in which I want to replace the characters from say 5 to 15 as some text.
Flat file contains a single line.
For example
01MRRAJESH21000RAJESH INDUSTRIES
In the above line pos 16-21 is Rajesh, I want to search for the substring based on the position and replace that position with some other text.
Hi Karthi,
Thanks for your reply
I do not have any pattern in my flat file. It is just a simple text. I want to replace the text say from position 20 to 30 with my text.
Also,my shell is unable to recognize sed-r. I am using korn shell.