A file remote/123456 has this format:
T means the recipient is still To-do
D means the recipient is Done
Each address is terminated by a null character
Not by a space, tab, newline, etc.
No question about "what if an address contains a space?" etc.
No parsing required
To mark an address done, find the appropriate T and change to D
Can be done atomically
Bernstein, the author, says "Don't parse"
|Next||Copyright © 2004 M. J. Dominus|