zsh-users
 help / color / mirror / code / Atom feed
* Strange behavior of $jobstates
@ 2018-11-13  4:46 Manabu Matsui
  2018-11-13  7:53 ` dana
  0 siblings, 1 reply; 5+ messages in thread
From: Manabu Matsui @ 2018-11-13  4:46 UTC (permalink / raw)
  To: zsh-users

I found a strange behavior of $jobstates. When I pipe the output of
echo $ jobstates,
its output is empty. This has occurred for zsh 5.6.2 (x86_64-apple-darwin18.0.0)
installed on my mac with homebrew.

% sleep 30
sleep 30
^Z
zsh: suspended  sleep 30
% echo $jobstates
suspended:+:16815=suspended
% echo $jobstates | cat

% echo $jobstates
suspended:+:16815=suspended

This does not occur for zsh 5.4.2 (x86_64-ubuntu-linux-gnu) on ubuntu.

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

end of thread, other threads:[~2018-11-15  0:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-13  4:46 Strange behavior of $jobstates Manabu Matsui
2018-11-13  7:53 ` dana
2018-11-14  1:43   ` Manabu Matsui
2018-11-14  9:27     ` Peter Stephenson
2018-11-15  0:45       ` Manabu Matsui

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