Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
err_return inside function who's return value is checked
- X-seq: zsh-users 17506
- From: Russell Harmon <russ@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: err_return inside function who's return value is checked
- Date: Sun, 30 Dec 2012 02:52:11 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=xyRD9zG9J+swqEQrZRv2gLHYDnYALk+nu/ljOzMW3pE=; b=yDfiEznMefL+h5uYmDMkngfiJLXZ9PF3QBrPq0SfkI+fpX6rnNyLQU3akZZoVjVW6f osoO1Jj+I4jNiawMgO1TNlKkO8Fk1K/c8PaorqlIuSuXFRNmsuo/ZVkFwGRnoZH0Bp+1 h9GB1BvCe+w7KiJ58oxN2z7LCPjnwPTZFHT1UkJQyaxBMSSpIsMwRwYHvBp3IRFtL3GT rs5Fq8BVtBzGmTY2Ts+kX0g5K9gda1Hg1soYblhkyReg1HrpB1TPF3JDYMHHD6gg/K2r TqIoGRMWGkviLPIxAPVuQGWjwla9BxaGpjyF9PpFb0R1oUSrMQlov5V3ykc5EttBhmUt jNlQ==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eatnumber1.com; s=google; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=xyRD9zG9J+swqEQrZRv2gLHYDnYALk+nu/ljOzMW3pE=; b=LBCuUZo1QIJaZcaBXRtXA8YcO1TKql08p5gH8kx7bI5wDQwlmv1O9eUGgyhBiXS1/9 P9ypMst7U0HdmFZA86qDreVpCGKELTBRMIvQOTCEBGFtP4ucy1Kf6ZpOQD4nPOr8UME3 QMo2KfRaTTpIqPK5qQ+WaXHcCwNp7YN7ybvlA=
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Sender: eatnumber1@xxxxxxxxx
why does the following print hello?
(){ setopt err_return; false; echo hello } || :
is this a bug?
--
Russell Harmon
Messages sorted by:
Reverse Date,
Date,
Thread,
Author