Jump to content

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,105

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.