diff --git a/2024/day-6/solution-1.sh b/2024/day-6/solution-1.sh index b5feffc..3be9636 100644 --- a/2024/day-6/solution-1.sh +++ b/2024/day-6/solution-1.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash -ARRAY_SHAPE=10 # It's a square -FILENAME=test-input +ARRAY_SHAPE=130 # It's a square +FILENAME=input read -r -a MAP_ARRAY <<< "$( paste -s -d '' "$FILENAME" | sed -E 's/(.)/\1\ /g' )" # Get initial position