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 7135 invoked from network); 3 Jan 2021 21:32:10 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 3 Jan 2021 21:32:10 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1609709530; b=stHWoAYF8f4pMeh8cUrU3O5tvayhg3fRuMXdHZ26W1ou+WQOaYyJaF9AWUoFopJXVpsrDcDjd8 3+0fZjKTsobgWh7WjSaRhIPqs/k+Eej+1TDoGNvMqIRJ0Xm72OHmEthdHuW+Oy+aY8GnXoXRjY e4mPAmVtzBi04gV6DSpEmdTG0Wr4ntHlePw1+IGm15glnAdKLRTOdju/9qJfqjtnX0CcaPd77U Bvl6ecmKPv+7n207Qiew1TIsXebLzf368q+ApzveUqnHFpEWV2xWM56PwnQ/aOpFRmJOCxA1zu FNxnNyEMT4Q/63JN+txNgio82yuTff+kxoVdNDm8p0VtBg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta04.eastlink.ca) smtp.remote-ip=24.224.136.10; 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=1609709530; bh=EvRNahPRQ2JlA8nkTuby/TfSYw2l+/iC94ttoMSTKGQ=; 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=hCdI5sUt5KjG4qIuOcYFuLa+g80Yg9EMp8s7YFxv8QFh1LiHzLF2GCgKecbQXKb1LytSyCd3pq FzyxkpAJgFryXyOgzuLe2SQe9sCfuow7pNZlnftumPv7rMWULZdHPYxO6TVPzwwAPblzsRAp0D BLthDCR5wFExPhSI/2gD2f7BD5zKoKWlJeOclOgXWAJXz7jOGztC6clvowgSbUMquE5OGaPjnY NPJz1ZIQst5W0mU3KO15UiItuLYrSRMMbxJ1SjIUxbZEfQFDTl6mv1jdbwpyxKZDoZBru140Ny MC+wwbTwCzQHMktp/I4b7opNvHBVQMQtO6eFSyAR01euzA==; 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=2l3VJt04TOPtbwZxY/Smae00vHK0CeRXyKT04YT6zn4=; b=XPfLDltW1ukeRfe0KwxQj3y0N+ dQ8gOZW9ciQGDtjnulBIiOykqpXuLprrKfQRQFRd+ACirBac3uggHp9WMLnMl8aGfI/0I67VIGDtV GvWnUhcHdOf/B7XycqY4inhhA606iKZ9/Mo6lOdJEe7nmwBHRqvcoarENxGLqQ6GNlSjvwx10tdo1 XYptAQtuuzxV8Z1YK+sDQ7C3ybFVazkhaSqlfAZeSKQpe7NwvQQ9OlCHdRt7MkOkZAutFqdwQABbX zSiFsc6rJTyCuZjTTobWi6OrDyXdMYhCb7umxBOMYajE9PS7OyOi/Q2cSyDXMmLjD7493u3t47V7M 1xxnU+IQ==; Received: from authenticated user by zero.zsh.org with local id 1kwAyu-000Iwu-Mk; Sun, 03 Jan 2021 21:32:08 +0000 Authentication-Results: zsh.org; iprev=pass (mta04.eastlink.ca) smtp.remote-ip=24.224.136.10; dmarc=none header.from=eastlink.ca; arc=none Received: from mta04.eastlink.ca ([24.224.136.10]:45811) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1kwAyP-000IaH-IO; Sun, 03 Jan 2021 21:31:38 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta04.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0QMD00HVTNSBGOA0@mta04.eastlink.ca> for zsh-users@zsh.org; Sun, 03 Jan 2021 17:31:36 -0400 (AST) Received: from [192.168.0.2] ([24.207.90.194]) by Eastlink with ESMTP id wAyNkuyR2eJNSwAyNkXLht; Sun, 03 Jan 2021 17:31:36 -0400 X-Authority-Analysis: v=2.4 cv=Aat0o1bG c=1 sm=1 tr=0 ts=5ff237b8 a=zv49KfEsxEDzuN5AGO7r0Q==:117 a=zv49KfEsxEDzuN5AGO7r0Q==:17 a=IkcTkHD0fZMA:10 a=3KRDcjXQ1cvKaXg04ewA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdefuddgudehudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpefgudetgedvgfejfffgueevieelgffhhedvvdetvdduhfeiteelleevgeelgfffieenucfkphepvdegrddvtdejrdeltddrudelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrledtrdduleegpdhhvghloheplgduledvrdduieekrddtrddvngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhg X-Vade-Score: 0 X-Vade-State: 0 X-EL-IP-NOAUTH: 24.207.90.194 Subject: Re: comment block curiosity To: zsh-users@zsh.org References: <3e0ebc9c-5cbf-f89d-c0fe-220c8d295386@eastlink.ca> From: Ray Andrews Message-id: <6fe26252-8145-4c46-1433-84c03674c47e@eastlink.ca> Date: Sun, 3 Jan 2021 13:31:35 -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: Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 7bit Content-language: en-US X-Seq: 26325 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-03 10:50 a.m., Bart Schaefer wrote: function test1 () { alias START_COM=": <<'END_COM'" echo staring comment START_COM foo bar baz END_COM echo back to code } $ . test1; test1 staring comment back to code Works ... dare I say ... perfectly :-) Seems you can't use any characters that are special to the shell tho, it gets confused.