On Fri, Aug 08, 2025 at 07:39:17 -0400, Anonym wrote:
> bash-5.3# IFS='\n' read -r detail < <(echo "schön") ; echo "${detail}"
> schö
> bash-5.3# 

Just in case the anonymous poster reads this... your IFS is incorrect.
You've set it to a literal backslash and lowercase n.

What you want is IFS=$'\n' (but even that's pointless because read
will terminate when it reaches the first newline, and will not include
the newline in the detail variable).

Reply via email to