zsh-workers
 help / color / mirror / code / Atom feed
* Is "read -AE" buggy?
@ 2011-08-23  7:18 Bart Schaefer
  2011-08-28 16:50 ` Peter Stephenson
  0 siblings, 1 reply; 4+ messages in thread
From: Bart Schaefer @ 2011-08-23  7:18 UTC (permalink / raw)
  To: zsh-workers

Via fooling around with the "wc and leading spaces" thread on -users:

schaefer<535> wc config.modules | read -AE foo
64
461
4569
config.modules
64
461
4569
config.modules

Why did it print everything twice?  Doesn't happen without -A:

schaefer<529> wc config.modules | read -E       
64  461 4569 config.modules

Doesn't happen with -e:

schaefer<540> wc config.modules | read -Ae                         
64
461
4569
config.modules

"cvs annotate" pegs this for rev 1.82 (workers/17582) but I suspect that
is an unrelated syntactic change and really it's been this way since
before the CVS repository was first set up in April 1999.  Indeed, I
can reproduce this in zsh 2.4 (no, that's not a typo for 4.2).


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-08-29 17:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-23  7:18 Is "read -AE" buggy? Bart Schaefer
2011-08-28 16:50 ` Peter Stephenson
2011-08-29 15:26   ` Bart Schaefer
2011-08-29 17:06     ` Peter Stephenson

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).