on the standard output and waits for the user to type yes or no in the standard input. Returns true if the user has typed yes, false if the user has typed no.
The optional parameter progname is used as prefix for the promp... nction. The existence test is performed with:
type -t FUNCNAME = function
mbfl_main_set_main fu...
}
To call the function and return the character typed in, use command substitution. Here's an example.