summary refs log tree commit diff homepage
path: root/2021/day08-1.sh
blob: ef4866f6a88048e9be70ef47d99d22f6608887c4 (plain) (blame)
1
2
#!/bin/sh
sed 's/^[^|]*|//' | egrep -o '[[:<:]]([a-g]{2,4}|[a-g]{7})[[:>:]]' | wc -l