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 562 invoked from network); 12 Feb 2021 20:49:25 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 12 Feb 2021 20:49:25 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1613162965; b=WrvOS+a4MXqSyrPN50LmL/555lmY7cunsCIDz1IDfGE73GKfH+MLNBSXCmZeEivRcDJZ4ug7AB Arm3AsKK0L2jQABhw+OdZOqBKoW8OwS3SxvepOpiB9puvuxE/0YsxtxXuwYDBCYgINjeh+khqo TVNQR2h4IknHQV02o7JgYZLQIHFnvAdRbAmZSIQqJ0CzFxeFE5V5IeOScAb8hHX3xwSASK3ZBv MMQH6kcCHWq/Gd8yijGEtQ9GanpRN/N4mEk179OY2PDjG0bktimkz/oFVxwBWR2pOgQz98smuZ f6xv7UK8gJQiZHTjLO2Snr0hNuKRLLy2XqA5xDKKxXvJRA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-oi1-f175.google.com) smtp.remote-ip=209.85.167.175; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1613162965; bh=8urIA1OjdUuCDpIGchuiSGsSADRZ5lTXExZa4tX6w7g=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=A9qwZOkzhSbxmdkwFOfm1AU4Df2U4ZvePNjRSzhp5ZCBL6RzYEo8OUp6ueWi2LpbxJQuLv5XNl /B0gPT/J/6sVzId7LGKlgrBJgp63QZTqj/yxIhSJ198pX2VslAXA6Y0haQXCFxNdqcbGiDAwWE VTzuRHfr2VRVOtImIFT7Uf2JqO7Ja9CNM3GhJ10NmRoaEUIlhIzGofTYI2siDlV6B7TCSAWj8S 4MUsnK6/EHpIMbepoG7yzJY4709JL6Pl6xsuqJhe8zCfoPMn5jTKOu/+XEQjnQotfcd36umMff gUZ8VHwi1qNRsWIrcFRh9envEVYezBbMeczqOkHQlfO1Pg==; 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-Type:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=6u4XKwNMILa/iCVjXvJlEWreLZdJpnLa5Uece4kDtMc=; b=EH1Re9c4Qs6yNSWyIltgIdrGdC N/Eb6QbcjXYmEPQFOnrZk18MeirZ1TJSR/2eRu4U4QqBo9W/V7SAbuG+T20SSamRPGjJ5q/oXUGcL dOK6clZQM1dcsGSEh8QuyD+9NIZzgGKHMRPhNpaMeN4wAiJfHF+oDcvktITQs0JinCO+uAd/Tm3rk 85jiDABSAvHpnpv1jJLjUESAGJVKM4Dqp4JEt9ugSP+Gw7AzU9VZNpvxqJjtW9gYDPRWR0edgMGDi 8CUSaM2Ti378DfonLo0HzjoRhGHivoh/8IVERM0IJamPrjRw5wDY/mopW8m6MeeLKUS1QarfhkqDX nLcfZxeQ==; Received: from authenticated user by zero.zsh.org with local id 1lAfNT-00016Z-NQ; Fri, 12 Feb 2021 20:49:23 +0000 Authentication-Results: zsh.org; iprev=pass (mail-oi1-f175.google.com) smtp.remote-ip=209.85.167.175; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-oi1-f175.google.com ([209.85.167.175]:38358) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1lAfNE-0000xq-Ab; Fri, 12 Feb 2021 20:49:10 +0000 Received: by mail-oi1-f175.google.com with SMTP id h6so1069207oie.5 for ; Fri, 12 Feb 2021 12:49:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=6u4XKwNMILa/iCVjXvJlEWreLZdJpnLa5Uece4kDtMc=; b=pONIDsm4Tg/0knfW7W3FusbgQU6NSiwvJi/SQDIeSBlnpkIHJSytSXh42FoDy3zPJ6 RhoBWDo4+RE6e0hgGpq7plL01vcNVI1M+6BhbeQvV6CVuSlwG/YNIVP7njQV87xX7/lR aHxYflbiCoU6KlUF/c2pCmV4iWqHPQWPT6RanPF6HQox5krwgblnj4EH0kZETuMERRmo AeiFK/sCOXFdhpMoBA4Ed6bh7x6YDEGDyJazZDAwjpmkc3OK1mmRBTQjSrKMR5RSRi8t Hqj7qFh0ps4pN/0mx+b6aAqzaNpLivHxCkTFI1sKu3z/xhjCzOfr6+8UyYbMaqb0FQkL 7rkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=6u4XKwNMILa/iCVjXvJlEWreLZdJpnLa5Uece4kDtMc=; b=UUjLf+JRuJu+PCBrSz8dAJ9ic0BhbzmYwT22wcJc2cwh1TeYmK2WCsZFdFYPhviyty r7tPEHiXuzjAcgGoNgvZGsmf9iyjMBdoDy+m/ceBLPshr8FL0HPxZYcenBWiG/o6ivfL HQpRVlTe4YX0dfOoC5zCPYBCS01DE+R7zDbSdsPfTysjZzBtUBEGuynGZeUVQucXEBOA fqepu4aQHp6zdZWBUplOV4bIWK7zh/uZkLKKpFog4jMM7CfrynV9AqRe/w+8CMkV10cE elWGQVcfRZzK1IKF52qa4GPzvqdqt8l+YVPfT8O749cqINMdDCOFzGLjZmqVfxoWJ3Du I9/w== X-Gm-Message-State: AOAM5336TeZz3BolfOF88gQC7LqtwTvbzyCZf3stUBSpHTK35aeNvzdq ItRvxQKs0sLKw7VijCEdvgqAULFnfyP+Ji/wReDarJJWRpc= X-Google-Smtp-Source: ABdhPJwKjdDKow0RQ+ZdXX0AkNXiOfV/gjd8X0E6h4WoP8vLznATE7DfW9NuBjaAqzD4ds5t7+sjnXjuBYX4Gt3cqAc= X-Received: by 2002:aca:808:: with SMTP id 8mr941447oii.84.1613162946717; Fri, 12 Feb 2021 12:49:06 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Bart Schaefer Date: Fri, 12 Feb 2021 12:48:55 -0800 Message-ID: Subject: Re: Block comments ala Ray To: Zsh hackers list Content-Type: text/plain; charset="UTF-8" X-Seq: 48022 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 Tue, Feb 9, 2021 at 10:05 PM Bart Schaefer wrote: > > I would like to know what (if > anything) can be tested to identify the first character of a new > script? I've tried combinations of of > isnewlin -- this is initialized to false > isfirstch -- this is true after any separator > isfirstln -- true throughout any single-line command > What else could be examined? Nobody knows this?