fix front justified zero's

This commit is contained in:
Elizabeth Hunt 2023-12-01 22:34:11 -07:00
parent f76bfc2d78
commit 684c10937a
Signed by: simponic
GPG Key ID: 52B3774857EB24B1

4
aoc
View File

@ -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