I have a todo
file listing all the item to process, I want my program to read the todo
list and process each item.
There is no problem if it can be done in once. But there is possibility that I need to manually stop/kill the program. And next time I run the program again, it will process the remaining item. So reading in all item and output the remaining does not work. One solution is to output all the processed item, and next time I can read all item and all processed item to get a new todo
list.
Is there a way to modify the current todo
file? Or is there any other solution to achieve this?