summaryrefslogtreecommitdiffstats
path: root/2024/tcl/lib.tcl
diff options
context:
space:
mode:
Diffstat (limited to '2024/tcl/lib.tcl')
-rw-r--r--2024/tcl/lib.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/2024/tcl/lib.tcl b/2024/tcl/lib.tcl
index 588a5e8..9222b78 100644
--- a/2024/tcl/lib.tcl
+++ b/2024/tcl/lib.tcl
@@ -13,7 +13,7 @@ proc setup {n {mode lines}} {
close $fd
}
data {
- set input [read $fd]
+ set input [string trim [read $fd]]
close $fd
}
fd {