From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9132 invoked by alias); 15 Feb 2016 17:00:55 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 37987 Received: (qmail 16267 invoked from network); 15 Feb 2016 17:00:54 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=QeOg/EXA7162rr6JTnxwc1aRtR3HuFlhf3iWrbnG/q8=; b=A13kkAYhKL2jxll9MPLyhSqiD7TFDORWEjG9RPVUrjc20ieKl1ci44OhRYq+XvCY7y yzA1MnB1L+ve8hWdXV1p5Orjjr/6s3zSzssCkU58hd/ifcWBxFscKiLzskAJRtq/3KQR SeVoN/B0FvlzG0JXEYrTAKK2rM247azoeJx8KRQ5eXj3f0qw+Yb0kSTNwWlhPV6hfsvK qyCR0PnTqt6X7tIhjpQBAEqDhps1HrOKUAIhcLmLUX9+id3xHAeN5sLgsA1QS2PI8M30 m8/8x2Hv8CWmnkRzUiPavC5gu5SEkKfZLdy6zEUcabopSAARuLyrud0uqy5jInTfiVZy 0GWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=QeOg/EXA7162rr6JTnxwc1aRtR3HuFlhf3iWrbnG/q8=; b=cCJjOsA1pETk4wr7NxIW51EkV9uq0o2SYMO3TltWT2qA8u3D6gU9W42uzlfLvXhEiV BMcnXxZgGlGhngotrCb6VFfcUbba+epx85FyCf0PgplJM/caOMqxgeEXpAyBVH0pQO/U NMyEAjvcrP0g6dsHrRCBoOTQMrR8nLyPSGXwT3Bq8Jrb0GvD70Ef+0T5Vc6tDOS2MhFB UqJ7NMSUCLh2PigUL/efMuPct0pTzaOQKxETfe8ZnPMgVjfSA9dOnHdhLbh6DuZUr7Hl YJi62A3TWpL6IWxyTKXGj4wIVlbgZg7qn+2YeBZJcHAoYiwhYTnLnQU5RLXJ0piCKp04 Uwzw== X-Gm-Message-State: AG10YOTuHOtrqyfkrXK7H4riQ/m/iTrVevEULpEDkxzgkT05E+ZUdeNsaVIee0Hgx3V/qg== X-Received: by 10.98.13.86 with SMTP id v83mr24858753pfi.162.1455555652243; Mon, 15 Feb 2016 09:00:52 -0800 (PST) From: Bart Schaefer Message-Id: <160215090111.ZM27160@torch.brasslantern.com> Date: Mon, 15 Feb 2016 09:01:11 -0800 In-Reply-To: <20160215124803.6d07e989@pwslap01u.europe.root.pri> Comments: In reply to Peter Stephenson "Re: minor 'select' snag" (Feb 15, 12:48pm) References: <56C10822.9010107@inlv.org> <20160215124803.6d07e989@pwslap01u.europe.root.pri> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: minor 'select' snag MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Feb 15, 12:48pm, Peter Stephenson wrote: } } This looks easy. I don't think there's any existing moral right to } expect REPLY to be unaffected in such circumstances. It's actually even easier than what you did, setting REPLY="" right before the "goto done" will cover it. However, see my other email. We might want to re-implment execselect() by [the equivalent of] calling bin_read() instead of managing this here.