diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-12-01 22:34:11 -0700 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-12-01 22:34:11 -0700 |
commit | 684c10937a811a51320a9c3a653b8a183e07d959 (patch) | |
tree | 6d8e19bf27b763fc430b122df73727e9c3cca6ff | |
parent | f76bfc2d781c0d9b27b8862682fbd51c6fb55af9 (diff) | |
download | aoc-684c10937a811a51320a9c3a653b8a183e07d959.tar.gz aoc-684c10937a811a51320a9c3a653b8a183e07d959.zip |
fix front justified zero's
-rwxr-xr-x | aoc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -102,7 +102,7 @@ aoc() { cp -r template/* $curr cd $curr - get_problem_input $(get_aoc_cookie) $year $day $AOCINPUT + get_problem_input $(get_aoc_cookie) $year $(echo $day | sed 's/^0*//') $AOCINPUT echo "Initialized $curr" else @@ -149,7 +149,7 @@ aoc() { echo "..====.." echo "Submitting Answer=($output)" - submit_problem $(get_aoc_cookie) $year $day $level $output + submit_problem $(get_aoc_cookie) $year $(echo $day | sed 's/^0*//') $level $output fi if [[ $1 == "cookie" ]]; then |