change input shebang
This commit is contained in:
parent
e36d4b1999
commit
251a7f405e
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env zsh
|
||||
#!/usr/bin/env sh
|
||||
|
||||
get(){
|
||||
curl -s --cookie "session=$1" "$2" | perl -pe 'chomp if eof' > "$3"
|
||||
@ -14,7 +14,7 @@ for year in {2015..2023}; do
|
||||
d="$day"
|
||||
fi
|
||||
url="https://adventofcode.com/$year/day/$day/input"
|
||||
get "$1" "$url" "input/$year/$d" &
|
||||
get "$1" "$url" "input/$year/$d"
|
||||
done
|
||||
touch "input/$year/test"
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user