advent-of-code/2019/04/run_day4.sh
2019-12-04 14:48:10 +01:00

4 lines
100 B
Bash
Executable File

#!/bin/sh
awk -f day4.awk input | rg --pcre2 '(.)\1' | wc -l | awk '{printf("Part 1: %s\n", $1);}'