aboutsummaryrefslogtreecommitdiff
path: root/2015/10
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2022-11-30 12:23:17 +0100
committerThomas Voss <mail@thomasvoss.com> 2022-11-30 12:23:17 +0100
commitf3e3e3e354b87f4ce27bd74bf14cec05d06974b6 (patch)
tree112352e9c3ba5d5d924036def2b5f853d3f8dc28 /2015/10
parent4742dd73046c53cff7fe54deee58358c3b193206 (diff)
Lots of cleanup and stuff
Diffstat (limited to '2015/10')
-rw-r--r--2015/10/README5
-rwxr-xr-x2015/10/puzzles.sh3
2 files changed, 4 insertions, 4 deletions
diff --git a/2015/10/README b/2015/10/README
index 1102d82..caf3dad 100644
--- a/2015/10/README
+++ b/2015/10/README
@@ -2,8 +2,9 @@
NOTE
======
-I did not come up with the shell script solution myself, that is why I also included the very slow
-Go solution. The shell script solution comes from this Reddit post:
+I did not come up with the shell script solution myself, that is why I also
+included the very slow Go solution. The shell script solution comes from this
+Reddit post:
https://www.reddit.com/r/adventofcode/comments/3w6h3m/comment/cxtsigs/
diff --git a/2015/10/puzzles.sh b/2015/10/puzzles.sh
index 291ac96..d510052 100755
--- a/2015/10/puzzles.sh
+++ b/2015/10/puzzles.sh
@@ -1,7 +1,6 @@
#!/usr/bin/env sh
-output()
-{
+output() {
echo $in | tr -d '\n' | wc -c
}