aoc 1 done
This commit is contained in:
commit
bccac96c3e
26
aoc_1.able
Normal file
26
aoc_1.able
Normal file
File diff suppressed because one or more lines are too long
2000
aoc_1_input.txt
Normal file
2000
aoc_1_input.txt
Normal file
File diff suppressed because it is too large
Load diff
12
garbage.sh
Normal file
12
garbage.sh
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
buff="var data = ["
|
||||
counter=0
|
||||
while IFS= read -r line; do
|
||||
buff+="$line <= $counter,"
|
||||
counter=$((counter+1))
|
||||
done < "aoc/aoc_1_input.txt"
|
||||
|
||||
buff+="];"
|
||||
|
||||
echo $buff >> aoc_1.able
|
Loading…
Reference in a new issue