diff options
author | Aleteoryx <alyx@aleteoryx.me> | 2024-12-09 22:22:04 -0500 |
---|---|---|
committer | Aleteoryx <alyx@aleteoryx.me> | 2024-12-09 22:22:04 -0500 |
commit | 4e699214a9fc35ede70becbd7f5e242732a8c50c (patch) | |
tree | e2fc0817e832cab07d6316d817edf860060e2ce7 /2024/tcl/lib.tcl | |
parent | 0f6d3c97e450d129b020b6fe2f3d63bc0bc7aa61 (diff) | |
download | adventofcode-4e699214a9fc35ede70becbd7f5e242732a8c50c.tar.gz adventofcode-4e699214a9fc35ede70becbd7f5e242732a8c50c.tar.bz2 adventofcode-4e699214a9fc35ede70becbd7f5e242732a8c50c.zip |
2024.9
Diffstat (limited to '2024/tcl/lib.tcl')
-rw-r--r-- | 2024/tcl/lib.tcl | 2 |
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 { |