summaryrefslogtreecommitdiffstats
path: root/2024/tcl/templ.tcl
diff options
context:
space:
mode:
Diffstat (limited to '2024/tcl/templ.tcl')
-rwxr-xr-x2024/tcl/templ.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/2024/tcl/templ.tcl b/2024/tcl/templ.tcl
index e040b2f..51a96ff 100755
--- a/2024/tcl/templ.tcl
+++ b/2024/tcl/templ.tcl
@@ -5,7 +5,7 @@ setup ?
puts {Part 1: }
-while {[gets $input line] != -1} {
+foreach line $input {
}
close $input