Hi all,
I have to process a simple textfile line by line, which I knew how to do.
But after the line has been read (and some operations has been done) I want to delete it from the file.
A textfile with a listing of files on the filesystem is given to my script. On each record I do some operations. If the script fails I knew when/where the script stopped and I just restart it with the remaining list . . .