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=-4.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29937 invoked from network); 7 Jan 2021 20:16:47 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 7 Jan 2021 20:16:47 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1610050607; b=qAloerZWqcsCrhXKhK7wAfT0oGOkzwS2TKIHv6kOa1+aQX4lFjRpVBxCUFopaPKSAwYxAKIWi7 j+VtIcpRRAZCrHmAQD28OXjFwMpVrGQlUvQhjrHdZUeju/xVyuwGq44QIigtlMA8bTmkhD0kzd bgUWwcbFDRqeQJC99cJfy+OGdf+bgrya6tKhzKOBki28yEkgbMlW5gR5j2/LNworMGVGaJYQno Zb1geTlGKTqzB0aSWbKYj/JD/a6cYjH3iCQwYtZSWVaLQYYxqfASlN1aEJMTnVk3F2rqPa/iyB nvDPZ+pJVy3HqlV/+/KhmmVcDOsEuJUFTZ1XelcBT8JWKQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta01.eastlink.ca) smtp.remote-ip=24.224.136.30; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1610050607; bh=7jm+1EgMmYogvBygsY9HtuERld7O9Na/glBAaV7uM8Q=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:DKIM-Signature; b=n0Cr53Zx1enSeopVibnUzG1/fztMgAHzt3aUAltJ3+UVJ5XBjUQeNeIZh9d3Qq9cYXmJYQBCw5 EWREMiP11e1ESjqB2grNQ+h+//Egckk2yyeGQuwxHOCE9VojO4CtVu9oEj2dCJVQkzhmxbK6cg tCeIv9CN8D+Q2Z3OnkhNnEjofuBFnMqfPYzt75fujjs9+krRRM6wP5bju/gjQTAdN3zaFt2JMq PJBBqxCorqssCQnrffDXe+fK/Ysn1q9W/eAgoEwDHCg5iUm04yMPRCYzSKWozLDJh5GY9/AAwx 6dRuONuToXhj+Ka8+OvMAt+WGtHuhOUHWm72b/mQTO24WQ==; 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: Content-type:In-reply-to:MIME-version:Date:Message-id:From:References:To: Subject:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=CfwdcGP5p1Mmc4eNkd907kniWCz6YNe0EpTQ3Lf5Xqs=; b=EPUlWzkLeGFDbCcc/S8ibUeSOk 00l8n/YBU95WlCvehpKeSpYebmF1hZm5b/r+BqA760+UZDk8gElgNKnr40zU920WCgDovmx4K7JzH jXHE18nUJysUaJ7s2a5dUAy6N6ihT9ZCz9NL8WXvp8ZCH2zA8tsMO3WpCghvQnf6qG9Kk0He0PIsj IGNEFKPt9cgFDneVGGpMRJE6aTbLsSMFBD3kMtjuFjgzk9oK6g3gYFiLFRb7hTAOql1mj4gufS4yk f7y3NsyCOtoanvJvQaw8DMupE5YBxrkkSBfkmQsqTAgXuNSoZeSdi9OkRJ7I/61pL5iQXK7L01sfp kDH7bSag==; Received: from authenticated user by zero.zsh.org with local id 1kxbi5-000GPf-UO; Thu, 07 Jan 2021 20:16:41 +0000 Authentication-Results: zsh.org; iprev=pass (mta01.eastlink.ca) smtp.remote-ip=24.224.136.30; dmarc=none header.from=eastlink.ca; arc=none Received: from mta01.eastlink.ca ([24.224.136.30]:46890) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1kxbhV-000G3V-Tf; Thu, 07 Jan 2021 20:16:06 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta01.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0QMK004SFKK3KZ10@mta01.eastlink.ca> for zsh-users@zsh.org; Thu, 07 Jan 2021 16:16:04 -0400 (AST) Received: from [192.168.0.3] ([24.207.90.194]) by Eastlink with ESMTP id xbhTkc59eDl3lxbhTkmTN5; Thu, 07 Jan 2021 16:16:04 -0400 X-Authority-Analysis: v=2.4 cv=HJEGqqhv c=1 sm=1 tr=0 ts=5ff76c04 a=zv49KfEsxEDzuN5AGO7r0Q==:117 a=zv49KfEsxEDzuN5AGO7r0Q==:17 a=IkcTkHD0fZMA:10 a=adaHbc2yXc24w838XrAA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdegfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeekvdeuuefffefhvdeuieetffdvtddvjeegueejkeeiudehieetieehgeetvdfhfeenucfkphepvdegrddvtdejrdeltddrudelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrledtrdduleegpdhhvghloheplgduledvrdduieekrddtrdefngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-IP-NOAUTH: 24.207.90.194 Subject: Re: here document within a switch fails to parse. To: zsh-users@zsh.org References: <2bc17f94-91c0-429d-bdea-e39926dc083d@www.fastmail.com> <4fa2a8d0-d5e5-90e0-b331-e7a149ec9af8@eastlink.ca> <20210107153248.GA25249@tarpaulin.shahaf.local2> From: Ray Andrews Message-id: <14e91024-d65b-e3a0-f5f6-8f0e55d40e8f@eastlink.ca> Date: Thu, 7 Jan 2021 12:16:03 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-version: 1.0 In-reply-to: <20210107153248.GA25249@tarpaulin.shahaf.local2> Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 8bit Content-language: en-US X-Seq: 26344 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: Archived-At: On 2021-01-07 7:32 a.m., Daniel Shahaf wrote: > Do consider treating the language as the independent variable and your > expectations as the dependent one, rather than the other way around. I'll bend it to my will as much as I can, however 90% of changes since I started have been me getting used to zsh rather than the other way around.  Still, you don't know what you don't know and however naive, my comment blocks do work.   If there's a crash and burn coming up I'm sure I'll burn. > > The construct you use has side-effects you've overlooked, which mean > your fashion of comments will backfire in a way that you don't see yet. I'm prepared to find out the hard way.  Guys like me suffer. > By the way, I wonder if the reason we're having this thread is that it > hasn't occurred to you that your $EDITOR may have facilities for > commenting or uncommenting multiple lines. There's an interesting idea!  My editor doesn't but that would be quite a feature.