aboutsummaryrefslogtreecommitdiff
path: root/2015/12/puzzle-1.sh
blob: 7b509fef08897b3e79ab33b50a804f4010deba7c (plain) (blame)
1
2
3
#!/usr/bin/env sh

tr -c '\-0-9' '\n' <input | squash | paste -sd+ | bc