From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id f7d6fdce for ; Thu, 12 Sep 2019 06:56:10 +0000 (UTC) Received: (qmail 1023 invoked by alias); 12 Sep 2019 06:56:03 -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: List-Unsubscribe: X-Seq: 44759 Received: (qmail 10947 invoked by uid 1010); 12 Sep 2019 06:56:03 -0000 X-Qmail-Scanner-Diagnostics: from mail-lf1-f66.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25566. spamassassin: 3.4.2. Clear:RC:0(209.85.167.66):SA:0(-1.9/5.0):. Processed in 1.962407 secs); 12 Sep 2019 06:56:03 -0000 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.167.66 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=E43jqt5rCuov6ZzIT1bYSIfdE94w2Erkx4HI9VuRQtM=; b=qGUtjxchfBsHo8UUcUoN4vWOVcRANhgjixFAIFfmRyV/tc9BPnzHaF0tX5hg6ZLH+T lzZhq3IeMPcwbGRWn3Hl5DIdHbriW1JpHoxszKZ9csayeWG8kTEgv6i7d4VA1IYWh2Fb F4wf8y2tjIJeiAyrUtBEXqtTItKcC8yXcTg6zhA7miWUOYUoax4h8MMlKcO9uoA32UA2 AsToHXAtcorAH13a7uTedIKffxDOvLOgOElok+8rQEYpbY/lTbUJuNE02W04+bDsx8So KTPA9ddytmAUStmd6qyvbSGrKVS6wKyVD026K8Y5ey7C1LbMopjDSKZ+XWqwEDQIXwZt 8jrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=E43jqt5rCuov6ZzIT1bYSIfdE94w2Erkx4HI9VuRQtM=; b=ayxzR/BoeV5JM83sjJarTOq6WeH//jXjj4kAJoxta3HC8OjLb+xsXUOv/HIMxlkDMC vhxN/zKNofIT5pFVp0F/1MZG/FTCekWabDRa/pVqYsZe+L9t1O9UvN6QOjrWBHbCMDT9 RA2Y1HiO4WRI3ulRonS3Jio28ejr7e7Kzq1Mj4VuJd/BMcbyLCzgeTeYFKrlUk3BZsn1 ywntSxDrtx4fNmFAzRFRyl8tBgTHRBwaVWcUrBWVFkQ88DqhnKWu/O0ZsdcCNpj1Ey7J 1gEg12nDmT7lmRBqPLMuFVmUMgcgRhreEFZnBEKvDYzMnvVO7/XmX+DZCSm0qhJcjvhG Yo0g== X-Gm-Message-State: APjAAAXWSosToYb/8WyQPoDkcumrjiPFmVXR6CGtarIyb3bvaRqZYWX3 /HoqZhJQs+XKyx4WB2wjvkL/9UwrdeAtBm1ZdatVzw== X-Google-Smtp-Source: APXvYqzKBwevHr5ioJ+aps/6LV/LuY7naon+OT5sbscILFAxnHfYcspllffsnJ8B5F4nXMTSkq8HoeOz8zBErzKyFkk= X-Received: by 2002:ac2:5a4c:: with SMTP id r12mr1667953lfn.52.1568271325647; Wed, 11 Sep 2019 23:55:25 -0700 (PDT) MIME-Version: 1.0 References: <20190907150741.jwztdoslrvk5j7nk@chaz.gmail.com> <20190907201954.dn2nve65wqk4muvc@chaz.gmail.com> In-Reply-To: From: Bart Schaefer Date: Wed, 11 Sep 2019 23:55:14 -0700 Message-ID: Subject: Re: [PATCH] Support the mksh's ${|func;} substitution To: Sebastian Gniazdowski Cc: Zsh hackers list Content-Type: text/plain; charset="UTF-8" On Wed, Sep 11, 2019 at 11:01 PM Sebastian Gniazdowski wrote: > > On Thu, 12 Sep 2019 at 07:35, Bart Schaefer wrote: > > > > $REPLY means nothing after the code has run -- it's strictly an input. > > $reply is the only output. > > Yes I was opting for such settlement, however what you wrote seems > contradict to: > > > 4. else if REPLY is set, the value of REPLY is used > > (so the corresponding element changes, possibly to an empty string) Yes, I was imprecise/absentminded in the former paragraph ... that first sentence should have said: REPLY means nothing if reply is set after the code has run. As the examples demonstrated, the latter paragraph numbered 4 is the correct interpretation.