Take notes on the command line: Difference between revisions

Added 11l
(Added Arturo implementation)
(Added 11l)
Line 9:
Then all the arguments, joined with spaces, prepended with a tab, and appended with a trailing newline, are written to NOTES.TXT.
If NOTES.TXT doesn't already exist in the current directory then a new NOTES.TXT file should be created.
 
=={{header|11l}}==
 
<lang 11l>:start:
I :argv.len == 1
print(File(‘notes.txt’).read(), end' ‘’)
E
V f = File(‘notes.txt’, ‘a’)
f.write(Time().format("YYYY-MM-DD hh:mm:ss\n"))
f.write("\t"(:argv[1..].join(‘ ’))"\n")</lang>
 
=={{header|8086 Assembly}}==
Line 198 ⟶ 208:
NOTES.TXT
 
A:\></pre>
 
=={{header|Ada}}==
1,453

edits