Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

TTY EOF ignored during read -d ?



Try this from an interactive shell:

() { local -a lines; IFS=$'\n' read -d '' -A lines; print $#lines } 

I was not able to end the input by typing ctrl-D.  I initially thought
this might be related to the recent refactoring of execcmd(), but it
appears to be a long-standing problem, it also happens (with a named
function) in 4.2.0.



Messages sorted by: Reverse Date, Date, Thread, Author