Ok, so I made a bash script to update my mirrors, but it's giving me syntax error
awk: cmd. line:1: /^## / { country = substr ( $0, 4) } /^Server/ { printf "%d. %s: %s\n", ++i, country, $3 country = "" }
awk: cmd. line:1:                                                                                                  ^ syntax error
/home/dolores/.bash.d/ifresh.sh: line 5: unexpected EOF while looking for matching `"'
/home/dolores/.bash.d/ifresh.sh: line 6: syntax error: unexpected end of file

Script:
#!/bin/bash

NAME_1 shiny-mirrors refresh -t 16 --updated-only --measure-method total --file-size=big --ipv=v4 --limit=777 --max=777
NAME_1 awk '/^## / { country = substr ( $0, 4) } /^Server/ { printf "%d. %s: %s\n", ++i, country, $3 country = "" }' /etc/pacman.d/mirrorlist | tac | ccat --bg dark -C always
echo "Mirrorlist at /etc/pacman.d/mirrorlist should be updated"" Write your response with at least 300 words.
user