Somehow I'm not able to read the trailing \n sign into the REPLY variable. Under any circumstances I want to avoid a blank line that results from the \n being echoed by read but echo one in case of another character. Given:declare -l REPLYread >&2 -r -N 1 -p Acknowledged? (y): REPLYif [[ $REPLY != $'\n' ]]; then  echo >&2fiFor me a possible workaround is it to make read to suppress (-s) echoing the input. But ideally the user should see the single character he input after the prompt.Also IFS= read -d'' doesn't get me the \n character into the variable.Any ideas?
How to read '\n' into variable with Bash's built-in command?
bash;readline;newlines