How to replace text over other text
Posted: Tue Dec 02, 2008 12:07 am
I'd like to be able to copy/replace the contents of one line over the top over another. I'd also like to be able to define whether the source line overwrites non-printable chars or not. I'd also like to be able to copy a single source line over multiple sequential target lines.
Eg ...
line 1 : a bb ccc dddd eeeee
line 2 : 1 22 333 4444 55555
For command "copy over non-printable", the resultant text would be ...
line 2 : a1b22 c333 d4444 e55555
For command "copy over all", the resultant text would be ...
line 2 : a1bb2 ccc3 dddd4 eeeee5
For those that used to work on IBM mainframes, the SPF editor does this.
Can anyone please suggest how this could be done?
Eg ...
line 1 : a bb ccc dddd eeeee
line 2 : 1 22 333 4444 55555
For command "copy over non-printable", the resultant text would be ...
line 2 : a1b22 c333 d4444 e55555
For command "copy over all", the resultant text would be ...
line 2 : a1bb2 ccc3 dddd4 eeeee5
For those that used to work on IBM mainframes, the SPF editor does this.
Can anyone please suggest how this could be done?