Ok, so I made a NAME_1 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/.NAME_1.d/ifresh.sh: line 5: unexpected EOF while looking for matching `"'
/home/dolores/.NAME_1.d/ifresh.sh: line 6: syntax error: unexpected end of file

Script:
#!/bin/NAME_1

NAME_2 shiny-mirrors refresh -t 16 --updated-only --measure-method total --file-size=big --ipv=v4 --limit=777 --max=777
NAME_2 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""