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=-2.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_HELO_IP_MISMATCH, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 12789 invoked from network); 21 Apr 2021 15:02:49 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 21 Apr 2021 15:02:49 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1619017369; b=WLWKKQ8nEgJNJ+xLzot1MDJ2dg7dXLnyuEXPev2TLUVfwNM6LUS4vbqeBxm/Q4cXhMwuLAAkyx ZLAVdpH0SyImAG+IaoS8g4o/uhf9TYCkwjtxhiODkvF6a+xkQeyQ02zmvE0pcXi/XLRoZCl7My GR6dKhQ55QI5ZK+PA4aKTtxtl1dfc+rNietozCweai0ANOJrGhjD24E1fvh4hReW/mPODLvD6w gdA1XuC8YdKd5TYIrmB/qrIf36r4tOn+txUcD8lPBjsCCjLaEhm0zm9VR0Y9k7npLBUrzLWh6n J0i1rzFs0VspkWHCD3L3zzSJAbVzEVTcCAVIOvT6hiXCPw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (smtpout02-ext2.partage.renater.fr) smtp.remote-ip=194.254.241.33; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.a=rsa-sha256; dmarc=none header.from=unistra.fr; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1619017369; bh=kloX+9CNY93Nr8Tzh6s+Tsk5oEIpoqcK5fQDnTw9Eok=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:DKIM-Signature: DKIM-Signature; b=XOYkjSU4loxs8K4iGHjl5Eqfo/ATTiPHoU+Ix4NDG46IbX5VG44yKhQnZ5UnM9HjSq/YZjw3t/ IxmlZ1jq0dNKPz5opOoe7lhdR2GaCPygSA7gbmEHLKeIvTdqe/SolZZM3HdIz2gDAjU/jwWxMn DV8pCsgdU3sCQISS2CDyOVZFBnPQjXg0l6jxfVb3g1ArOJckDWOAm0RP608sTduVFLb1AMAvGu Gu7Zjio23g7CtlQvNTcNKRACtGPaBJEoHwJ356eliYjbKUEW5vFLQElstzyf3Gn6SZV66s30JM CkG4p99DfR6cJ8+sHTAdlyX3dPBHpEiIZq1qa8OjWiZDTw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding:In-Reply-To :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID; bh=79usD/VWzbh0RBjNjv0AHOV3c3nlOBMSatrIC+pJpLI=; b=d7NmMkoMYoTR2Z5uRpUAOq3Tk+ SMTrFFgvHLjlBrv3x2m0906DwZUq+hCdvKyAAsl5O0UH2ElPdTV9OF7SJMaayha7UdaBEPF2VkECR JGBLnD0o5vS89utcIGKqGmSBntgPaZnedO5KizZLD/6MyRTGG8b9SM7tfwfqDXwL5Z5o8zIFUa8fP kgEAlyaH3iFkxcJ+g1KrOJ4bzTyc/XvfK2AAXsZXZR1kQ+Yzq0lpX9yr0ocCZmmChTfv7dkdm24hT bSpcgy5YecplUB3zLv03F4CwTCpdTFefbgf1VcWiOrtYCFPCI+XllfnIAESd+a+zDXmuoTzA3gK1P jzoWRcBg==; Received: from authenticated user by zero.zsh.org with local id 1lZENK-000EGp-3P; Wed, 21 Apr 2021 15:02:46 +0000 Authentication-Results: zsh.org; iprev=pass (smtpout02-ext2.partage.renater.fr) smtp.remote-ip=194.254.241.33; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.a=rsa-sha256; dmarc=none header.from=unistra.fr; arc=none Received: from smtpout02-ext2.partage.renater.fr ([194.254.241.33]:54704) by zero.zsh.org with esmtp id 1lZEMH-000DhH-9P; Wed, 21 Apr 2021 15:01:42 +0000 Received: from zmtaauth02.partage.renater.fr (zmtaauth02.partage.renater.fr [194.254.241.25]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id 5763AC1721; Wed, 21 Apr 2021 17:01:37 +0200 (CEST) Received: from zmtaauth02.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTPS id 4D0AAA0ACC; Wed, 21 Apr 2021 17:01:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTP id 3CEB4A0AD4; Wed, 21 Apr 2021 17:01:37 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth02.partage.renater.fr 3CEB4A0AD4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unistra.fr; s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3; t=1619017297; bh=79usD/VWzbh0RBjNjv0AHOV3c3nlOBMSatrIC+pJpLI=; h=Date:From:To:Message-ID:MIME-Version; b=sBIvXJmEzUaYAJx3UDzluyTLmZQQ4PqFSe0p2ig+hTMBncoEY4TbdPnLWi7HUGPfH OtEOx+lRpT3Wd7T7R5h0Lnv/Q31CSI7uylXVF3W/JrGC/ls34Nxs3b3LefQxBp7DGD wiZLSH9K74Mu0qwL4NN5kfhW9rcwVD/EdFYPD1prmrTF0ws9RgvbVn8Q8if4ZXoYN7 hQ87SVCWrElcrP60CXxBjYbU5fx8OKFoXQUDKK4yzp8dNwsiXyYXpCEB+FFTakU/DE GLYqEjKA1nhVhWA8tOX4btZAzP6C9RDAy3+1dbVQL2D+vSzL5kS6QZUcbhKqNnEPQQ CliYF8yr16E5Q== X-Virus-Scanned: amavisd-new at zmtaauth02.partage.renater.fr Received: from zmtaauth02.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth02.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id AszqcoFsCVb4; Wed, 21 Apr 2021 17:01:37 +0200 (CEST) Received: from 82.65.50.238 (unknown [194.254.241.251]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTPA id 12F77A0ACC; Wed, 21 Apr 2021 17:01:37 +0200 (CEST) Date: Wed, 21 Apr 2021 17:01:35 +0200 From: Marc Chantreux To: zzapper Cc: zsh-users@zsh.org Subject: Re: if (()){}else{} documented? Message-ID: References: <1154b0e1-e5ad-70be-f620-1368c86f12ed@rayninfo.co.uk> <4e916390-adc1-0725-ae11-c8ac6ef976df@rayninfo.co.uk> <7a0ee671-cb49-e76a-087b-f6a05b840d08@rayninfo.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <7a0ee671-cb49-e76a-087b-f6a05b840d08@rayninfo.co.uk> X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: 0 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgeduledrvddtkedgkeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecutffgpfetvffgtfenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggugfgjsehtkeertddttddunecuhfhrohhmpeforghrtgcuvehhrghnthhrvghugicuoehmtgesuhhnihhsthhrrgdrfhhrqeenucggtffrrghtthgvrhhnpeeuvdeivdevffelhfdugefgueelgeeltdeukeelhfefjedutdevvdefleffffduudenucfkphepudelgedrvdehgedrvdeguddrvdehudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleegrddvheegrddvgedurddvhedupdhhvghlohepkedvrdeihedrhedtrddvfeekpdhmrghilhhfrhhomhepofgrrhgtucevhhgrnhhtrhgvuhiguceomhgtsehunhhishhtrhgrrdhfrheqpdhrtghpthhtohepiihshhesrhgrhihnihhnfhhordgtohdruhhkpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrgh Content-Transfer-Encoding: quoted-printable X-Seq: 26697 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Le Wed, Apr 21, 2021 at 01:32:00PM +0100, zzapper a =E9crit : >=20 > On 21/04/2021 11:41, Marc Chantreux wrote: > > this does not echoes what you expected:) > > if {true} {echo ok}else {echo nope} > I'd come across this when I was tying myself up in knots it's quite log= ical > really when you think about it LOL i don't think so. i guess it is unintentional but kept that way for compatibility reasons? regards marc