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,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1707 invoked from network); 9 Jun 2022 07:06:34 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 9 Jun 2022 07:06:34 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1654758394; b=Gme4TnEcKyxQkZTORh2u1r9PPuwdAsVcRSxZBzWfTwJL07AZOB75aLHlk7bDQEqV50klP5E4LZ NukjXpANYa2qE69+8Y50zNKrdxYygmvmuA8kkzNOsgRH82JkbIjZOg1MpEtvuXiBvu/Tqcs+F4 OBDKCt0zM4fRFfkovPUa5wic5k6GI1uFCmwkXDS2QCEx4CrtVfV/B+w7pM72jCjYU5FFes4wfK s2GcSswxnC9psiKJh//v63ThD6JPUFN96g3TasnXAXjjb+RSHs+pIpa/VFW+VH+AtWr0anIxvq HXCQXUirDgqdaDVhQFrCOHQyTNvkq+Rdy1+9Hgb3GydoMw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (snd00002-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.2; 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=1654758394; bh=Lonj9TUz1h7AUHIkmeg33of8pe3hBatK7Giuu6a60pE=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:To:Date:Message-ID:Subject:MIME-Version: Content-Transfer-Encoding:Content-Type:From:DKIM-Signature; b=Um17ZlwkyQfjNW+0D07Uk60tZIIYpexMkQR6gOg0Sdxx3HA3MT6/FmiP8hX9u0wZYAmEBJ+klA n4Qnl59oyFYzXGKAofIDxCKakVFo8gT3/lVPSXNQZ4u8Oqg0fJ/D8Bqts98ut0/IeciaiYI96t wEnxdk0wTkhwAoeAc/jQcPg9bru5B4BfYeWBa9Lg9izYIRdn7oIQWl//TQiLiAomEvppkp5LGu LeWBZ4N01jzYXQmazzqovFi3bmYBOvuFKZkXMJYXg3ERDJW4zmv/0zWhw7ypfq/dmMecX20UT4 JSNc+c2VlUIYdlf1CzWA+N6A/uXnq9rHoJWsKZ/vYQFlkA==; 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:To:Date:Message-Id: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:In-Reply-To:References; bh=biDodjpprZfffaYtHOX61a3TJ+Q9sB2rT2rFEJxbxa8=; b=d2CkXCyCOeYExKI9r6f7dSRby3 Js+DanX00SZQZiJFle1VKNyIw3d8lErRXPn9agn5Y7dQQP+pDp71dmAkOX4pplo/5P+t4b1BuO2IF 68At5mF9XmcHlFSwPue/Wkf+IoW2xxV70djs2AZUH9w9KV12dI8RAsb7JIYbCmrT6mwX/H4ktNzJH jn/xXWSPrKNPQ6+5BZu7YQt70mPycJkZq1syCrlUPJa/jwfsNTDVVC7xcqEcCLfjgQ0VXcXx2sRtS uBO73mdCIbxs8AkoJZMALBaHipu+QduocnN8fvWoEM8cTfH2QYfiqbfU5WUMArDZtU+sz+dGdyBZH uQUTuucQ==; Received: from authenticated user by zero.zsh.org with local id 1nzCFV-000P9U-Ex; Thu, 09 Jun 2022 07:06:33 +0000 Authentication-Results: zsh.org; iprev=pass (snd00002-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.2; dmarc=none header.from=kba.biglobe.ne.jp; arc=none Received: from snd00002-bg.im.kddi.ne.jp ([27.86.113.2]:36195 helo=dfmta0018.biglobe.ne.jp) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1nzCEu-000OpM-Bh; Thu, 09 Jun 2022 07:05:58 +0000 Received: from mail.biglobe.ne.jp by omta0018.biglobe.ne.jp with ESMTP id <20220609070551620.XMVY.104970.mail.biglobe.ne.jp@biglobe.ne.jp> for ; Thu, 9 Jun 2022 16:05:51 +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: A minor problem in FAQ03.html due to a yodl bug Message-Id: Date: Thu, 9 Jun 2022 16:05:51 +0900 To: zsh-workers@zsh.org X-Mailer: Apple Mail (2.3445.104.21) X-Biglobe-Sender: takimoto-j@kba.biglobe.ne.jp X-Seq: 50356 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: I've noticed Zsh FAQ on sourceforge has a minor problem: https://zsh.sourceforge.io/FAQ/zshfaq03.html#l19 Other way of causing word splitting include a judicious use of `eval': sentence="Longtemps, je me suis couch\+NOTRANS(é) de bonne heure." It seems this is due to a bug of (some versions of) yodl. yodl-3.05.00 has this problem, but version 4.04.02 ((Ubuntu 22.04) correctly outputs "couch\\'e". I don't know when this bug was introduced and when it has been fixed. A workaround is to replace either \ or ' by CHAR(). Do I need to push this patch? Or is it enough to use the latest versions of yodl? diff --git a/Etc/FAQ.yo b/Etc/FAQ.yo index 8bd7262fe..8a6895454 100644 --- a/Etc/FAQ.yo +++ b/Etc/FAQ.yo @@ -1055,8 +1055,9 @@ label(31) Other ways of causing word splitting include a judicious use of `eval': + COMMENT(CHAR(39) is a workaround for a bug in some versions of yodl)\ verb( - sentence="Longtemps, je me suis couch\\'e de bonne heure." + sentence="Longtemps, je me suis couch\\CHAR(39)e de bonne heure." eval "words=($sentence)" ) after which $words is an array with the words of $sentence (note