diff options
Diffstat (limited to '2021/day08-1.sh')
-rw-r--r-- | 2021/day08-1.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/2021/day08-1.sh b/2021/day08-1.sh new file mode 100644 index 0000000..ef4866f --- /dev/null +++ b/2021/day08-1.sh @@ -0,0 +1,2 @@ +#!/bin/sh +sed 's/^[^|]*|//' | egrep -o '[[:<:]]([a-g]{2,4}|[a-g]{7})[[:>:]]' | wc -l |