in reply to Re^2: To learn to search flat files or to cheat...
in thread To learn to search flat files or to cheat...
You would edit a file with vi that can be modified by a live CGI? That's a recipe for lost data. You have to follow the same rules that the CGI script does for updating it if you want to be safe, i.e. set and respect locks.