Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
# Make it easier to change the name of the notes file
|
||||
set notefile notes.txt
|
||||
|
||||
if {$argc} {
|
||||
# Write a message to the file
|
||||
set msg [clock format [clock seconds]]\n\t[join $argv " "]
|
||||
set f [open $notefile a]
|
||||
puts $f $msg
|
||||
close $f
|
||||
} else {
|
||||
# Print the contents of the file
|
||||
catch {
|
||||
set f [open $notefile]
|
||||
fcopy $f stdout
|
||||
close $f
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue