I have a file called "192.168.1.106.txt" that is being continuously appended with data (it is an rfid timing system file and as runners finish their time is added to the file). What I want to do is repeatedly access the data in the main file without changing it. So an idea I got on this site was to copy the entire file to a new file, names "the_time_I_accessed_it.tx
t" and then determine which is new data and grab that.
The data in the new file comes in like this: 1,907,0,"08:51:37.869",1,1
Is there a way to quickly determine which records are new? What I do is write it to an array and parse it as per the diagram. My idea, as given to me on this site, is to copy the entire file to a new file and then "work" on that. Always looking for a better approach. Again, I can't modify the original file