contents of my file are like this:
p1: begin
abcd temp.part
xyz
end p1
I want to replace "temp." to "", this works. Also, the file should have "@" as the last line in the file;
for example the output should be:
p1: begin
abcd part
xyz
end p1
@
right now what i get is
p1: begin
abcd part
xyz
@
the line "END P1" is totally removed. how do i add the "@" to the end of file without having "END P1" removed from the file.