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,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8177 invoked from network); 15 Feb 2021 00:36:49 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 15 Feb 2021 00:36:49 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1613349409; b=vZeS84NB74jcHxGDQRhTyI+zENHhRySHIntCBjo4iXa0C3R5UTtygEXuGKwMt1kH8uLiwtYgzi 3T2juJ5YSiGg/5xmnFIE6BgSIU/nyTkesM9z8ZZ18wliTHqLhGe9eKSSgkvWEZd76EyKqZabjh qrxr9ZBbiCN7KZl9GWDbXvo5jHIqsaD0S1WY8LwFUkSYBGquoG1070SaulpLXRn04goxN4Fel3 UVnAzcS7ZOuAwdE488pTTXB6nHvmcbGsM6heGX6Om7jYBFRwCShX/0+54b7mOuElUvcKT/+yka xbrq3eR+0d6yM5w7SCmBZDKC5TK9442r2VCT08Vy1gCm8w==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (joooj.vinc17.net) smtp.remote-ip=155.133.131.76; dmarc=none header.from=vinc17.net; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1613349409; bh=hR253RsDA0l8dsMKRzhromVb0KyfoEZKQon7f4fFqP0=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:To:From:Date:DKIM-Signature; b=S1YIrObjbga6a0A55z1K+C1fQ/wor5LuH7GgQSysnwAAdKbDSPwK06lFq4AYAXb4ZW9omkAylc dfBWbTAyKaoe3u2Bgc6JvPJkXuEqRTXDbUrTivjhoIK9BnwLdU4hIz79hnK2jlwBijE4Ck0Lww 9z/FA4eKzyevYf6iurA/BH3HOn1AldwkMIredwElRbCnP15lWXnVEUKEavspehJ8modjZQRtW0 5vo4cU/SwYEpCEGf8qCupJigym40xLlU1zdmnqGD8CDUJoV0puzIuachzt/KA/iFk0v+IgCOAI 78fUfILbrdoTaciQ78kpVcY+UykBjVpI7BEeiPChJ3zM4A==; 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:In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=lExttg0mg8CsleOKODFlktlYhstantyNROhw1bDvdOc=; b=0aNxdcxTaxb6oucPXSTLvQk1Um jfSoMTswndCCpF4hVh74WLsk56tWF3kSZiloZzU/TIVm3TbLts/dB6BCiPrtWLocf9lOAkbF8c04p JI7YmnMTFKzOB2O4YnymPrAoBWwiN5+doNPDKXAflidlysrUFbnhPzYE4fUKfEwDNpTAX/2Ew70TS 3oyzOXzpgSNg36HeK260ri2bAdXvL9ziUi5VHNNU266aVYkbCCcmmC4vP1m7lFf/Eqbm6rQQjk1Vg JxwoYsNqnstHyloS40G/mnWuez2d6amlmKWxvIeh7M8h2zgWWuxdBE1ZjHeaUKT9rc66zBmG/moT7 cYlX9xhQ==; Received: from authenticated user by zero.zsh.org with local id 1lBRsb-000Drn-TF; Mon, 15 Feb 2021 00:36:45 +0000 Authentication-Results: zsh.org; iprev=pass (joooj.vinc17.net) smtp.remote-ip=155.133.131.76; dmarc=none header.from=vinc17.net; arc=none Received: from joooj.vinc17.net ([155.133.131.76]:39860) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1lBRsM-000DjT-0I; Mon, 15 Feb 2021 00:36:31 +0000 Received: from smtp-zira.vinc17.net (128.119.75.86.rev.sfr.net [86.75.119.128]) by joooj.vinc17.net (Postfix) with ESMTPSA id 0217B106; Mon, 15 Feb 2021 01:36:28 +0100 (CET) Received: by zira.vinc17.org (Postfix, from userid 1000) id 9AC14C20B5C; Mon, 15 Feb 2021 01:36:28 +0100 (CET) Date: Mon, 15 Feb 2021 01:36:28 +0100 From: Vincent Lefevre To: zsh-workers@zsh.org Subject: Re: Block comments ala Ray Message-ID: <20210215003628.GC2302738@zira.vinc17.org> Mail-Followup-To: zsh-workers@zsh.org References: <20210213083521.kv3y3qzfnaffflfh@chazelas.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/2.0.5+111 (106ff19a) vl-132933 (2021-02-08) X-Seq: 48049 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: Archived-At: On 2021-02-14 12:15:31 -0800, Bart Schaefer wrote: > On Sat, Feb 13, 2021 at 12:35 AM Stephane Chazelas > wrote: > > Also consider > > scripts that do: > > > > cat > script < > #! /bin/sh - > > ... > > EOF > > > > making it difficult to comment out those codes > > That one has some relevance, and argues for requiring #! to be > followed immediately by a newline, if not also preceded by one. This could be very confusing and error prone. How about the "'' " prefix (two single quotes followed by a space) to start and end a block comment? I doubt that a command starting with these characters is something useful. What follows could then be decided to allow nesting of block comments. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)