diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-12-01 22:42:37 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-12-01 22:42:37 -0500 |
commit | d8ca5eca153208f30e91ec821ed0acfcc410c273 (patch) | |
tree | fba88a6ece015def53d8b9233840b5f4961d2e1f /bin | |
parent | 0b0c77ccbda06413ee3a3f42055d7f12a812568a (diff) | |
download | advent-of-code-d8ca5eca153208f30e91ec821ed0acfcc410c273.tar.gz advent-of-code-d8ca5eca153208f30e91ec821ed0acfcc410c273.zip |
set -eu
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/get-input | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/get-input b/bin/get-input index da76600..2d4a424 100755 --- a/bin/get-input +++ b/bin/get-input @@ -1,4 +1,5 @@ #!/bin/sh +set -eu day=${1:-$(date +%-d)} year=${2:-$(date +%Y)} |