aboutsummaryrefslogtreecommitdiff
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