From mboxrd@z Thu Jan 1 00:00:00 1970 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=FREEMAIL_FROM, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 31427 invoked from network); 8 Apr 2020 10:53:49 -0000 Received-SPF: pass (primenet.com.au: domain of zsh.org designates 203.24.36.2 as permitted sender) receiver=inbox.vuxu.org; client-ip=203.24.36.2 envelope-from= Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with UTF8ESMTPZ; 8 Apr 2020 10:53:49 -0000 Received: (qmail 29823 invoked by alias); 8 Apr 2020 10:53:43 -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: 45665 Received: (qmail 23691 invoked by uid 1010); 8 Apr 2020 10:53:43 -0000 X-Qmail-Scanner-Diagnostics: from out1-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.2/25772. spamassassin: 3.4.4. Clear:RC:0(66.111.4.25):SA:0(-2.7/5.0):. Processed in 0.710481 secs); 08 Apr 2020 10:53:43 -0000 X-Envelope-From: ynnor@mm.st X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at spf.messagingengine.com designates 66.111.4.25 as permitted sender) X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudejgdeffecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedftfhonhgr lhguucfhihhstghhvghrfdcuoeihnhhnohhrsehmmhdrshhtqeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpeihnhhnohhrsehmmhdrshht X-ME-Proxy: X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-1104-g203475c-fmstable-20200408v2 Mime-Version: 1.0 Message-Id: <8c1ba341-4fa6-4307-8a74-d4b1eb75767e@www.fastmail.com> In-Reply-To: References: Date: Wed, 08 Apr 2020 12:52:39 +0200 From: "Ronald Fischer" To: "Roman Perepelitsa" Cc: "Zsh hackers list" Subject: Re: Bug related to single-quoting a String Content-Type: text/plain On Wed, Apr 8, 2020, at 12:45, Roman Perepelitsa wrote: > On Wed, Apr 8, 2020 at 12:40 PM Ronald Fischer wrote: > > > > What I want to report can be a bugh either in the documentaion (man-page) or in the implementation, depending on which one is correct. > > > > I am running Zsh 5.5.1 for Cygwin (which seems to be the most recent one available for this platform). > > > > In the man-page, it says in the chapter about single-quoting a string: > > > > A literal ' character can be included in the string by using the \' escape. > > Here's the whole paragraph from which this quote is taken: > > A string enclosed between '$'' and ''' is processed the same way as the > string arguments of the print builtin, and the resulting string is > considered to be entirely quoted. A literal ''' character can be > included in the string by using the '\'' escape. > > It's talking about $'...'. Both the documentation and the > implementation are correct. However, if I do a echo $'a$b\'c' it does not work either. Same effect! Ronald