The Blog of Josh Comer

Found Some Time to File Parse

I was able to find some time tonight to do a little programming. The following code snippit will parse the Todo.txt file. I kept the structure of the file down to a minimum.

T The First Task
D and The Second Task

The first letter of the line will represent the status of the task (T being still Todo and D being Done). The code will read the entire file in and “hackishly” convert the line in to a vector. The first item is assumed to be either a T or a D and the remainder of the vector is the description, and is interposed with spaces to be a readable string. File /home/josh/code/octopress/source/downloads/code/Clojure/coreV1.clj could not be found