X-Git-Url: https://git.sommitrealweird.co.uk/advent-of-code-2019.git/blobdiff_plain/42b59ef856518f51a3d8b4cd628ed22384ccf27b..e40766a241079d2d16f8b58f8b65b968fd95249e:/day03/wires_2.sh diff --git a/day03/wires_2.sh b/day03/wires_2.sh old mode 100644 new mode 100755 index 1e86e0c..d4cba38 --- a/day03/wires_2.sh +++ b/day03/wires_2.sh @@ -15,8 +15,10 @@ set -e #wire_1=(R98 U47 R26 D63 R33 U87 L62 D20 R33 U53 R51) #wire_2=(U98 R91 D20 R16 D67 R40 U7 R15 U6 R7) +filename=${1:-input.txt} + # read in data from file instead -exec 3