I have an installation script that gives out the following prompt:
Please type a selection or press "Enter" to accept default choice [1]:
I cannot make expect catch it. I tried to play around the equates surrounding Enter, but nothing seems to work.
Any ideas would be welcome
echo "" | /path/to/installation/script
will suffice, to send a newline to the command's stdin.