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.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 18852 invoked from network); 29 Sep 2022 09:09:27 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 29 Sep 2022 09:09:27 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1664442567; b=eE0rl2FMfqQu6WI5Glt3ae47lcxV68Q4xXoANjZqVIHTe8EwA62YowyYeW9dSN1cdCXasoeXVc TEazfxHxISzKeQjRq5TiccRHrLWjaa8K4iE6NdUdtJTraZKDkfesg1rzd1rwD7+ZCcK/3/IWtp SLdpKjG4W8J1+Wnc34o/iKj0U76KVG/22jl2GmSP0rslMctXjuDhaghtDPH8BzVvcGtcswFg8p DikuTeOw+OP4VnxohRVRn+k8HdejiPsSb0li8BmsqQh7b3gDOpvjn2Ry5HJEOoA0OZfvU1UumH YlcbhXvGihs2IpM2W4xjFpwRLMrdqay27FJj3rLmlj31RA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (snd00008-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.8; dmarc=none header.from=kba.biglobe.ne.jp; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1664442567; bh=S9u0vqx6qoW5rFeKsEQQxzV3mFd6DZlSNdSpwBMYWbE=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Message-ID:In-Reply-To:To:References:Date:Subject: MIME-Version:Content-Transfer-Encoding:Content-Type:From:DKIM-Signature; b=NTsDapeN3Zsu+gUPxT59HiDr+Xdb2+pXl2WLWKU63v7htu3jI9UoSYOb8nARQSExfqizaKwlaW 1hG9PYTDEk1ybJGaTL4CQdT3vP+eFjeLDrG8FoV6NyPH5+lMdrVei709PaEE6FEYAZqF/67hKd MviIJ2MJqv1qTydZXqnp+ZLhFFR5RojeNjNImCxNZh/RdgSkO1SzpdBhSOt3DfBHq21As7LGN4 2cGfwBk6jt6m/8Qpn9L3UiEujDOAiQvQPeEL+vYK/zAbZvqJgT50zCqcVhy93nVKhj+vG5BrWN cxur7o32sGnwruRLFZKS4UOoTG+gZD5AUpWWNihlplJ7sg==; 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:Message-Id:In-Reply-To:To:References: Date:Subject:Mime-Version:Content-Transfer-Encoding:Content-Type:From: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=TPDlD0LCDKDMBLp0YeFDR60lrwnxblAHusLyzbB+rcY=; b=Hn9ecXbWmX81kBbv/xPtt6zh1g XxtzQV5LHhOwrRLoeAivd/UvQv5mruea8NQ4vJukbx18fcM8T4cpWSh/DZMyQhARcc6o8RDsEAUxh ghZbItZl6HRTVBGV5eT0lK5OSx1lDtwlKVkJGk7899TFIuk++mxJUQaCICrYRd00xTEazVjyhrOFj PeElDJ89nUHa8nSBH8EgOdLOckKMF6/1HUANLajWEltJSRBPdrVSs5VjZn9dOXj3PoYN0sMuR2w5E /2HLMlDg+ttdWnx00dChXzfL4Tp07CnodZRZZdXIMO/9394Jvj62m1Ay8lCj5iM8g2toqZs5SoxPy xreU3PlQ==; Received: from authenticated user by zero.zsh.org with local id 1odpXr-0008qt-07; Thu, 29 Sep 2022 09:09:27 +0000 Authentication-Results: zsh.org; iprev=pass (snd00008-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.8; dmarc=none header.from=kba.biglobe.ne.jp; arc=none Received: from snd00008-bg.im.kddi.ne.jp ([27.86.113.8]:17665 helo=dfmta0006.biglobe.ne.jp) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1odpSS-0008Pq-6S; Thu, 29 Sep 2022 09:03:55 +0000 Received: from mail.biglobe.ne.jp by omta0006.biglobe.ne.jp with ESMTP id <20220929090347732.FOAP.99066.mail.biglobe.ne.jp@biglobe.ne.jp> for ; Thu, 29 Sep 2022 18:03:47 +0900 From: Jun T Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: RFC: expand $'' within heredocs Date: Thu, 29 Sep 2022 18:03:47 +0900 References: <5701a51d-76ff-240a-929c-054460841e80@gmx.com> To: zsh-workers@zsh.org In-Reply-To: <5701a51d-76ff-240a-929c-054460841e80@gmx.com> Message-Id: X-Mailer: Apple Mail (2.3445.104.21) X-Biglobe-Sender: takimoto-j@kba.biglobe.ne.jp X-Seq: 50704 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: > 2022/09/29 5:30, Eric Cook wrote: > > cat < hello$'\t'world > eof I think bash-5.2 does not substitute $'\t' by a TAB in this case. Here-document is something like a string quoted by "...". All of bash-5.1, 5.2 and zsh do not replace $'\t' by a TAB in $ echo -E "foo$'\t'bar" In the following example: $ a=$'\tHello' $ cat <