$ ./test
“Press ctrl+D exit”
–n “Input your favoriate film:”
aaaa
“yes, aaaa is a good movie!”
–n “Input your favoriate film:”
bbbb
“yes, bbbb is a good movie!”
–n “Input your favoriate film:”
cccc
“yes, cccc is a good movie!”
–n “Input your favoriate film:”

bill@bill-VirtualBox ~ $ ./test
–n”Enter a number from 1 to 3:”
0
“’basename ./test’:This is not between 1 and 3”
bill@bill-VirtualBox ~ $ ./test
–n”Enter a number from 1 to 3:”
1
“You select 1”