Re: read: how to have a prompt before the cursor? (2015-06-04 20:37 by mcdutchie #76278)
[Reply To Message #76277]
> I'd like to display a prompt and put the cursor after the prompt for input.
I have since found out that the answer is to disable the "le-prompt-sp" option:
set +o le-prompt-sp
The man page does not mention that the "le-prompt-sp" also influences the behaviour of "read". This is quite confusing because the "read" command doesn't even support a prompt option.