zsh-workers
 help / color / mirror / code / Atom feed
* TTY EOF ignored during read -d ?
@ 2016-10-07 15:54 Bart Schaefer
  0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2016-10-07 15:54 UTC (permalink / raw)
  To: zsh-workers

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-07 15:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-07 15:54 TTY EOF ignored during read -d ? Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).