aboutsummaryrefslogtreecommitdiff
path: root/2015/12/puzzle-1.sh
diff options
context:
space:
mode:
Diffstat (limited to '2015/12/puzzle-1.sh')
-rwxr-xr-x2015/12/puzzle-1.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/2015/12/puzzle-1.sh b/2015/12/puzzle-1.sh
index 7b509fe..e1e1f0e 100755
--- a/2015/12/puzzle-1.sh
+++ b/2015/12/puzzle-1.sh
@@ -1,3 +1,3 @@
#!/usr/bin/env sh
-tr -c '\-0-9' '\n' <input | squash | paste -sd+ | bc
+tr -c '\-0-9' '\n' <input | grep . | paste -sd+ | bc