From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9053 invoked from network); 21 Oct 2021 09:54:26 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 21 Oct 2021 09:54:26 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1634810066; b=sO8Vmqmsww5e7VfnZ7RRo+X3CVqW7QrpJV9K8QdCvpkXWQ3H/h5287SKeUxS2tiiFGXFmswmRQ vO7Ucro22lw2XiOuBTzEh8uK17qFsDsVccJYxL+qw/bdsPerd1e8z8F+kYHggVqausEcEfIYWe aLkkzPb7dBJqytURhNHK+dq5rDlTKuQx0pY4Pw6T+32JEolEsFrW/gD+mCthcvowMpq4Be3tnP X+KgivQQTBwnoTmUrgsUdjkHqDvimFVuFuDpZiLqGldqhDM3LtRoqPOmY9GHsI0u5P4/qE+Gut RxYHDR1/i8j4QNB0o2HDydFyUs3K4QUObeZcDZxO8di3/g==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-4316.protonmail.ch) smtp.remote-ip=185.70.43.16; dkim=pass header.d=pm.me header.s=protonmail header.a=rsa-sha256; dmarc=pass header.from=pm.me; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1634810066; bh=WV0XhkFku8C+i+eiMiRhezUN2vZL+t+c2Oyl3yUhUMI=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version: Message-ID:Subject:Reply-To:From:To:DKIM-Signature:Date:DKIM-Signature; b=pdPHIjZ/4AxPa6Tywdj2A5bVEgo51dxf8TFRQZyHe0A6W+E+TuJh6lgei6C04q5j5TCnTaOcS0 mzbBEZByR+AgRWxILlrWJsIa+re3zV9YtQrVpaBGNO7mdAPg77Lof6/N5IcFPzTAODesvEH0MD akqR5xtauG2PEc8eheIGnuDWGX010Q3uzsMfFewE8p22BkTwyoXjOaKq5RUKTf5Y/bz3POEsFz y4UDafnglDdX+WFDlfLf7IMxUwZBQkbv/V2tUr22P17LhpfkeiqriWj4rgDku0NV/sBqQDOObr rUdH2wRgAT31ZwuQJg64BZ0Ljk/ZmYE6VAV0LjeVd61WfQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Message-ID:Subject:Reply-To:From:To:Date:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References; bh=WV0XhkFku8C+i+eiMiRhezUN2vZL+t+c2Oyl3yUhUMI=; b=FY1VnY1WswS/52M/8B5tvJMR3e vMbmA4mRWAgN2GCo9eaihRo2gVhomSWTwt5Sn44Fg6gk9s8xqtZj9i/3ctLJ2fmPfBVHGZpMbt61z vTi7AGXBG11a07YVq6rSXzvy5FHkFDftl6MEoR2maRU9bDNBGN6BaEVeuMSJ5X+4C+2/T5f1yI8Lq 2j2A+ROuGeYzwBfoPIKCsO39XacpL3nKIU4MQT4xC35t88l8+WpB/biy0Rg5jmNG5LHbZl4ZSFVF6 IVYS4rq/isI6Q9ea2iat7BSJNUDg/ZOFfjpCju9mVJdOHkT7cGxP6HbKkXXvMmveJMV8Ur9Dvtuln cpPiHKBQ==; Received: from authenticated user by zero.zsh.org with local id 1mdUmG-000Kq6-Db; Thu, 21 Oct 2021 09:54:24 +0000 Authentication-Results: zsh.org; iprev=pass (mail-4316.protonmail.ch) smtp.remote-ip=185.70.43.16; dkim=pass header.d=pm.me header.s=protonmail header.a=rsa-sha256; dmarc=pass header.from=pm.me; arc=none Received: from mail-4316.protonmail.ch ([185.70.43.16]:29561) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1mdUlg-000KX9-Qu; Thu, 21 Oct 2021 09:53:50 +0000 Date: Thu, 21 Oct 2021 09:53:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1634810026; bh=WV0XhkFku8C+i+eiMiRhezUN2vZL+t+c2Oyl3yUhUMI=; h=Date:To:From:Reply-To:Subject:From; b=HH/Ze1fEZmTWuyRw7IYj4dbAS+uCR8YWAmZyvViSKoEMd2++KvYrcbeSKC2z8/aW1 ZEhIlIjGiKhvOK8PKWnUG12PU41+TUdR5N4KW7XLRP0L/A6lIAag+7vaodgl8/3TTh BGV/C2hjKL2slTFD4CZYLbLdIpkTXzEl3XPbXoQaMVahvH2rZaQcSHXKKWzUnvX7fQ b50AHK+/ITW801zBFH5YaUsK/msQjxeI+wBGz0Q3EPpM1OnaTRBq1iDEfV7Rhb/N9b pF6HJGvsULMKex7KTJhxjWMKYSnvehDVZkDPISttOM0VgtnOSurNfUgwPbRBaFE67q 4QPy/ZPqYWG5g== To: "zsh-workers@zsh.org" From: Jett Husher Reply-To: Jett Husher Subject: What does REDIRF_FROM_HEREDOC flag represent? Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Seq: 49501 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Good day! I was peeking at the source code and found REDIRF_FROM_HEREDOC flag. The co= mments say that it's for a here-string that came from a here-document but I= 'm still not clear how this looks exactly. Is it that every line in heredoc= is a here-string? I've tried to read the part in parser.c where this flag = is being set, but couldn't make sense of it since I'm not at all acquainted= with C or the codebase as a whole. Would very much appreciate the explanation. - Jett