in reply to find added or deleted line in a file

I have a file say "f1" with ten line and I found that line no 7 has been added or say deleted so how can i get that line into another file can any1 let me know please Thanks!

Let me understand, you have sucessfully opened a file, read lines, and found that the 7th line has been added or deleted, but you don't know how to get that line into another file?

That sounds impossible, have you understood perlintro?

  • Comment on Re: find added or deleted line in a file