Take notes on the command line: Difference between revisions

Line 1,186:
fp = open(filename, "r")
println(read(fp, String))
close(fp)
else
fp = open(filename, "a+")
write(fp, string(DateTime(now()), "\n\t", join(ARGS, " "), "\n"))
close(fp)
end
close(fp)
</lang>
 
4,102

edits