Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Bug with exit status of zsh -c
- X-seq: zsh-workers 15616
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Bug with exit status of zsh -c
- Date: Mon, 13 Aug 2001 18:46:13 -0700
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author