summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-12-08 11:31:18 -0500
committerJune McEnroe <june@causal.agency>2021-12-08 11:31:18 -0500
commitcb493d08e36a496439ad4056d2ea7c16e2c84132 (patch)
treede343199bedb682f1951480bf964f6b96dd2370d
parentSolve day 7 part 2 (diff)
downloadaoc-cb493d08e36a496439ad4056d2ea7c16e2c84132.tar.gz
aoc-cb493d08e36a496439ad4056d2ea7c16e2c84132.zip
Solve day 8 part 1
Diffstat (limited to '')
-rw-r--r--2021/day08-1.sh2
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
500'>2021-03-05build: Add OpenSSL includes to libcompatJune McEnroe 2020-12-15Import LibreSSL 3.3.1June McEnroe 2020-11-24Import LibreSSL 3.3.0June McEnroe 2020-10-22Import LibreSSL 3.2.2June McEnroe 2020-09-29Import LibreSSL 3.2.1June McEnroe 2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe 2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe 2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe