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: 8173222f388eed6fe7c9ce7eae36299e9e8e35e0 (
plain
) (
blame
)
1
2
3
#!/bin/sh
tr
-c
'\-0-9'
'\n'
<input
|
grep
.
|
paste
-sd+
|
bc