index
:
advent-of-code
master
Solutions to Advent of Code
Thomas Voss
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
2015
/
12
/
puzzle-1.sh
blob: e1e1f0ef13f08c07f6dddff089efa5b7f7c6cdf9 (
plain
) (
blame
)
1
2
3
#!/usr/bin/env sh
tr
-c
'\-0-9'
'\n'
<input
|
grep
.
|
paste
-sd+
|
bc