Introduction
Introduction Statistics Contact Development Disclaimer Help
taoc4b: add missing newline - aoc22 - advent of code 2022 solutions
git clone git://src.adamsgaard.dk/aoc22
Log
Files
Refs
README
---
commit 46096a9d7ac59370e0b2054f6230396a7eca83e6
parent 42cee6e53f254613a3c8cfab5f6358693a8e902b
Author: Anders Damsgaard <[email protected]>
Date: Sun, 4 Dec 2022 08:57:23 +0000
aoc4b: add missing newline
Diffstat:
M 4/aoc4b | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/4/aoc4b b/4/aoc4b
t@@ -2,7 +2,7 @@
BEGIN{ FS="," }
{
if (split($1, a, "-") != 2 || split($2, b, "-") != 2)
- printf("split error: %s", $0)
+ printf("split error: %s\n", $0)
if (a[1] <= b[2] && b[1] <= a[2])
sum++
}
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.