in reply to Re^4: How to delete a particular line in a text file after some operation on that text file at the same time
in thread How to delete a particular line in a text file after some operation on that text file at the same time

You have toi return the position you are at in the file, then read up to that position into one variable. then skip to next line after match then read until the EOF into a different variable. then print those two variables to a different file, then delete old file, then rename new file. i do it with param.sfo's that are only a few kilobytes long, works great
  • Comment on Re^5: How to delete a particular line in a text file after some operation on that text file at the same time