Skip to content

Commit

Permalink
2023 - fix shell script for: automated download of input.
Browse files Browse the repository at this point in the history
  • Loading branch information
fmmr committed Dec 11, 2023
1 parent 011545a commit 51b491f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/script/download_aoc_input.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
YEAR=`date '+%Y'`
DAY=`date '+%d'`
DAY_NO_ZEROS="$(echo $DAY | sed 's/^0*//')"
YEAR=$(date '+%Y')
DAY=$(date '+%d')
DAY_NO_ZEROS="${DAY//0/}"

AOC_SESSION_COOKIE="FIND_IN_BROWSER"

Expand Down

0 comments on commit 51b491f

Please sign in to comment.