zsh-workers
 help / color / mirror / code / Atom feed
* Bug with exit status of zsh -c
@ 2001-08-14  1:46 Bart Schaefer
  2001-08-14  4:57 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 2001-08-14  1:46 UTC (permalink / raw)
  To: zsh-workers

This recently bit me in a procmail recipe.

	zsh -fc '! print several words here | fgrep -i -s -e words'

returns an exit status of zero.  The leading ! should cause it to return a
nonzero exit status.  By contrast,

	bash -fc '! print several words here | fgrep -i -s -e words'

correctly exits with status 1.

This bug affects zsh 3.0.x, 3.1.x, 4.0.x.


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

end of thread, other threads:[~2001-08-19  4:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-14  1:46 Bug with exit status of zsh -c Bart Schaefer
2001-08-14  4:57 ` Bart Schaefer
2001-08-19  4:16   ` 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).