Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
exit trap and list pipelines
- X-seq: zsh-workers 39897
- From: Anthony Heading <anthony@xxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: exit trap and list pipelines
- Date: Wed, 09 Nov 2016 21:36:17 -0500
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=ajrh.net; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=pVONZbhYeY55SWrRsY8aRF379jc=; b=IbxvU0bP3RvrTf03xnky8 ATTMQRsWf9t560DIyiV1X3y5ws7Utyzi2GFqicdNsQZeSfo8Cd5JENY0pCdSR55F JQ2mwSCu+69ZhAtz5gn55EPprlhXAky8FoYNyz2Y3F6vXY/+dsp6Ut4Wu/x6ECy4 j0FRkzjqTM9nn8bMdQrNPo=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=smtpout; bh=pVONZbhYeY55SWrRsY8aRF379 jc=; b=SO94nkhFuYxinyEmn3YCRbVNVlr3DLYvfWyWqKn4OoMuX13oaM4RkEdNs yGIVTducx7XTN0zGkdKYVi8ubd+fPZKhzL96YwYt5NW9jehivgmbQC5mIiy96TOX VX3153CmBvTtqdD3ufWaJwZAsgy9bGFhrGLSKeE4iPvLs7uh4I=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hi,
Printing '6' here seems wrong? I think it didn't some years back.
% zsh -c 'trap "echo hello" EXIT; { :; } | wc -c'
6
hello
% bash -c 'trap "echo hello" EXIT; { :; } | wc -c'
0
hello
Anthony
Messages sorted by:
Reverse Date,
Date,
Thread,
Author