Here is a program I am working with but this is the output.

```
echo "Please select your favorite color"
echo "         or 4 to exit"
echo "---------------------------------"

#set menu prompt
menu="select color : "

#set menu list
select menu in Blue Yellow Red Quit
do
       case $menu in
               Blue)
                        echo "----------------------------"
                        echo "Your favorite color is Blue!"
                        echo "----------------------------"
                        ;;
               Yellow)
                        echo "----------------------------"
                        echo "Your favorite color is Yellow!"
                        echo "----------------------------"
                        ;;
               Red)
                        echo "----------------------------"
                        echo "Your favorite color is Red!"
                        echo "----------------------------"
                        ;;
               Quit)
                        echo "----------------------------"
                        echo "Thank you!"
                        echo "----------------------------"
                        ;;           
               *)
                        echo -e "Error: please try again (select 1......4)!"
       esac

```

```
Please select your favorite color
         or 4 to exit
./select.sh: line 36: syntax error: unexpected end of file

```

how do I fix it?
Background: I'm brand new to linux and coding so I barely have any understanding to what's going on. I'm 100% youtube university

---

**Edit:** #?4 Error: please try again (select 1....4)! –

```
echo "Please select your favorite color"
echo "         or 4 to exit"
echo "---------------------------------"

#set menu prompt
menu="select color : "

#set menu list
select menu in Blue Yellow Red Quit
do
       case $menu in
               Blue)
                        echo "----------------------------"
                        echo "Your favorite color is Blue!"
                        echo "----------------------------"
                        ;;
               Yellow)
                        echo "----------------------------"
                        echo "Your favorite color is Yellow!"
                        echo "----------------------------"
                        ;;
               Red)
                        echo "----------------------------"
                        echo "Your favorite color is Red!"
                        echo "----------------------------"
                        ;;
               Quit)
                        echo "----------------------------"
                        echo "Thank you!"
                        echo "----------------------------"
                        ;;           
               *)
                        echo -e "Error: please try again (select 1......4)!"
       esac
done

```