Hey people,
I have a database with delimeters and all on a flat ASCII text file. What if I want to change a particular data in there? Whats the best way?
Thanks.
Read the data line by line, find the one you want to change, change it, and rewrite it to another temp file. Delete the original file and rename the temp file. Make sure you flock() the file!!! Multithreading can be tricky...
Diego