fix front justified zero's
This commit is contained in:
parent
f76bfc2d78
commit
684c10937a
4
aoc
4
aoc
@ -102,7 +102,7 @@ aoc() {
|
|||||||
|
|
||||||
cp -r template/* $curr
|
cp -r template/* $curr
|
||||||
cd $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"
|
echo "Initialized $curr"
|
||||||
else
|
else
|
||||||
@ -149,7 +149,7 @@ aoc() {
|
|||||||
|
|
||||||
echo "..====.."
|
echo "..====.."
|
||||||
echo "Submitting Answer=($output)"
|
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
|
fi
|
||||||
|
|
||||||
if [[ $1 == "cookie" ]]; then
|
if [[ $1 == "cookie" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user