diff options
Diffstat (limited to '2015/12/puzzle-2.sh')
-rwxr-xr-x | 2015/12/puzzle-2.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/2015/12/puzzle-2.sh b/2015/12/puzzle-2.sh index e97fc8a..b1e649c 100755 --- a/2015/12/puzzle-2.sh +++ b/2015/12/puzzle-2.sh @@ -2,6 +2,6 @@ jq 'walk(if type == "object" then del(select(.[] == "red")) end)' input \ | tr -c '\-0-9' '\n' \ - | squash \ + | grep . \ | paste -sd+ \ | bc |