summaryrefslogtreecommitdiffstats
path: root/2024/tcl/templ.tcl
diff options
context:
space:
mode:
authorAleteoryx <alyx@aleteoryx.me>2024-12-03 00:12:57 -0500
committerAleteoryx <alyx@aleteoryx.me>2024-12-03 00:15:25 -0500
commit735b9fdf4535be1d721c59077e66def8b115d2ae (patch)
tree7b4dd4abf38151b247eb6c0004cf14aeb658ae96 /2024/tcl/templ.tcl
parent656179e07857277c2e63789157e7b948f2c80114 (diff)
downloadadventofcode-735b9fdf4535be1d721c59077e66def8b115d2ae.tar.gz
adventofcode-735b9fdf4535be1d721c59077e66def8b115d2ae.tar.bz2
adventofcode-735b9fdf4535be1d721c59077e66def8b115d2ae.zip
2024.3
Diffstat (limited to '2024/tcl/templ.tcl')
-rwxr-xr-x2024/tcl/templ.tcl18
1 files changed, 18 insertions, 0 deletions
diff --git a/2024/tcl/templ.tcl b/2024/tcl/templ.tcl
new file mode 100755
index 0000000..e040b2f
--- /dev/null
+++ b/2024/tcl/templ.tcl
@@ -0,0 +1,18 @@
+#!/bin/env tclsh
+
+source lib.tcl
+setup ?
+
+puts {Part 1: }
+
+while {[gets $input line] != -1} {
+}
+
+close $input
+
+puts "1: $"
+
+puts ""
+puts {Part 2: }
+
+puts "2: $"