Advent of Code is a programming competition ran by Eric Wastl every year since 2015.
I wrote a bash function to get my daily Advent of Code input. It
assumes that you are in a directory ending in the pattern year/day,
where year is the year you’re doing the problems. Here’s the code