9 lines
195 B
Bash
Executable File
9 lines
195 B
Bash
Executable File
#!/bin/bash
|
|
source "$(dirname "$0")/../.env"
|
|
|
|
day=$(date +%-d)
|
|
|
|
echo "Getting input for day $day"
|
|
|
|
curl -s -S --cookie "$COOKIE" --output ./input.txt https://adventofcode.com/2023/day/$day/input
|