diff options
Diffstat (limited to '2015/10')
-rw-r--r-- | 2015/10/README | 5 | ||||
-rwxr-xr-x | 2015/10/puzzles.sh | 3 |
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 } |