I need help with the below shell script. I have three environments: test, dev and prod. When the user enters test it should ftp to test host and ftp the file.Same in case of dev and prod. I have just tried for test and I am getting the error: Error message - dummy.sh: line 29: syntax error: unexpected end of file!/bin/bashwhile :doread -r INPUT_STRINGcase $INPUT_STRING in        test)               echo Please enter id no :                                 read -r input_variable                                if [[ ${#input_variable} -ne 7 ]]                                then                                echo Please check the id no given                                exit 1                                fi                                HOST=xxx                                USER=xxx                                PASSWORD=xxx                                ^Iftp -inv $HOST <<- EOF                                user $USER $PASSWORD                                cd /work/path//$input_variable/to/destination/                                mput x.csv^IEOF;;esacdone
Please help with Error message - dummy.sh: line 29: syntax error: unexpected end of file
shell script;scripting