change input shebang

This commit is contained in:
Evan Burkey 2024-08-13 08:32:35 -07:00
parent e36d4b1999
commit 251a7f405e

View File

@ -1,4 +1,4 @@
#!/usr/bin/env zsh #!/usr/bin/env sh
get(){ get(){
curl -s --cookie "session=$1" "$2" | perl -pe 'chomp if eof' > "$3" curl -s --cookie "session=$1" "$2" | perl -pe 'chomp if eof' > "$3"
@ -14,7 +14,7 @@ for year in {2015..2023}; do
d="$day" d="$day"
fi fi
url="https://adventofcode.com/$year/day/$day/input" url="https://adventofcode.com/$year/day/$day/input"
get "$1" "$url" "input/$year/$d" & get "$1" "$url" "input/$year/$d"
done done
touch "input/$year/test" touch "input/$year/test"
done done