aboutsummaryrefslogtreecommitdiff
path: root/2015/05/puzzles.sh
blob: 57ddb1177bf31abeda023055ef19f33def3c1b47 (plain) (blame)
1
2
3
4
5
6
#!/usr/bin/env sh

# Could do this with just grep(1) and skip using wc(1), but I am lazy

sed -nf puzzle-1.sed input | wc -l
sed -nf puzzle-2.sed input | wc -l