advent-of-code/2019/04/run_day4.sh

4 lines
100 B
Bash
Raw Normal View History

2019-12-04 14:48:10 +01:00
#!/bin/sh
awk -f day4.awk input | rg --pcre2 '(.)\1' | wc -l | awk '{printf("Part 1: %s\n", $1);}'