zsh-workers
 help / color / mirror / code / Atom feed
* BUG? Zsh does not print the last line of stdout of a child process if that line does not have newline char at end. BUG?
@ 2005-04-28 21:51 Batalov, Denis
  2005-04-29  1:18 ` Wayne Davison
  2005-04-29  1:45 ` Alexey Tourbin
  0 siblings, 2 replies; 3+ messages in thread
From: Batalov, Denis @ 2005-04-28 21:51 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 637 bytes --]

I have encountered unexpected zsh behaviour which looks like a bug. At the same time it is so basic that others must have seen it before, so maybe it's not. I would appreciate some clarification.

Basically, if the last line in the output of a command executed from the zsh command-line does not have the terminating newline character, then the line is not shown by zsh. Here is a simple test one can try:

$ echo -n gogi
$

On other shells, e.g. bash, the behaviour is as expected:

$ echo -n gogi
gogi$

Any comments? Please CC directly to my e-mail address, as I am not a regular reader.

Thanks,
--
Denis V. Batalov

[-- Attachment #2: Type: text/html, Size: 1509 bytes --]

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

end of thread, other threads:[~2005-04-29  1:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-28 21:51 BUG? Zsh does not print the last line of stdout of a child process if that line does not have newline char at end. BUG? Batalov, Denis
2005-04-29  1:18 ` Wayne Davison
2005-04-29  1:45 ` Alexey Tourbin

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