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.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,INVALID_DATE_TZ_ABSURD,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10604 invoked from network); 26 Nov 2021 07:08:09 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 26 Nov 2021 07:08:09 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1637910489; b=h8WD10XQZJK9cSFn1047f2fhxuSchtFQ5JI248Wf5YdPwozBPF9CX9Nqov3Rn4ob3HKLmb/4hx Cz6xvLItFIBXwf8F9FG8Dwl7V/iTCBaD16rId9YdXTl/3Vd4FmpdrxrNq4583We4hOC46t2Ima 5PwBtXknp0Ut0qqRv2wUpGo+IcL/5HLhHKS53A0xERbqHm/VGgnr+/rDkeEiKtrSS/PMA9agRc 2FhpaJtWGk1cb6zHw5ZbFZJXaL+q6g8cFGAytHOV60Z2CDtl4e1mnFsfd+1yWEgPeBrtBcXk3a bEozAL47O1YXCZD7s3oRJWDCzU9M13E5Vv09cIzwrQacMA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-pj1-f47.google.com) smtp.remote-ip=209.85.216.47; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1637910489; bh=QSGF+4ZckoqxkDJ6+uEPTqoq5yxt7RjmGb+36WlxLyo=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Message-ID:From:Date:Content-Transfer-Encoding:Content-Type: MIME-Version:Subject:To:DKIM-Signature:DKIM-Signature; b=GAIJSBGVP0uF/dHjcuspVMZW76Wnr/mBYFn2PUWo89oVe4Fk3SkIm3G8CrTUSYl2BhjLKx0uJD cC9PtFKxrlRRw4thOo9S4U7RSvWPA3xQ4I0mnySIqauhEvoJQtm/ayugqRPduSsG/K8ROvAqJE rjHGxpaNVInF1bP8O+UN+UxTGaP537BVG1pURtCuhWOKx3NT/7SPMBTDuEcupy9MFW1xO931q9 PkZC279itO55RBSoQOlZHEUZLXx0JpdWcWXJMYJeQqh/NDgzb6r1jTwR7KqsFwllzp4BvAdyqx EQV4+XCNZkHFBFjdUmhXLXmJsN8yApHoMeQz1+LZGry1+w==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Message-ID:From:Date: Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:To:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References; bh=q5SofEElLWhvm8RFYZdtfkdDBB2NbF5qicXxcca38Es=; b=C0S7z0jI+mR+3EFlMrGNPjhC7X G9Gag4A7yzToF7pLNohYsDKSWm+R0yek1mxdAniphsqt1OFtNphVkzKOtOltl7Zz1Zdm28okIiKzd mo314kMAMV1kCbyQNopl3r4wzPMunAFf1dnqI/3jQ9MfrwohIVBImdV+nJhHC+3A+ChoFjLoMsZE/ KJJULw2/nOGwik4p9BsyyfPNf26XrvImofQRvXxGIsbmMtLLr4/zJxhO8ZI26nZIuOXP7zaAkWqNL hNnbSosi53lHez8qguQ5wjHY7J2qgUTV3j/QUep4kmpouAo57cZi6Q+1/Nt9WNJTcm4A2nwHEA1RY 5FtCdPdg==; Received: from authenticated user by zero.zsh.org with local id 1mqVL5-0009ah-RP; Fri, 26 Nov 2021 07:08:07 +0000 Authentication-Results: zsh.org; iprev=pass (mail-pj1-f47.google.com) smtp.remote-ip=209.85.216.47; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-pj1-f47.google.com ([209.85.216.47]:39874) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1mqVKH-0008rk-To; Fri, 26 Nov 2021 07:07:18 +0000 Received: by mail-pj1-f47.google.com with SMTP id y14-20020a17090a2b4e00b001a5824f4918so9271589pjc.4 for ; Thu, 25 Nov 2021 23:07:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:mime-version:content-transfer-encoding:date:from :message-id:user-agent; bh=q5SofEElLWhvm8RFYZdtfkdDBB2NbF5qicXxcca38Es=; b=WsTxuL14FsKnp39m+7muUM/CyEEGkKDznyvt01DQ6cgqQMZNftSnKf2su1fk0dqVxk /Adc9aX0yxxQ/ZcgexnXA96gQspS3yg8U8SqCmInBP2mQyI1i5VXQsE0ppIg8BZeUdhl ebZERMypx+DOw/E9ueXKwwk4in+mjz14oVkXPwdY+r/DcrWuulaQFEGzClq8OfP2Uehv GEJqJOuUZQAxRfQ2Gtno5IZFUm8K1MeBChavff3xZ/8voHfjEyGE/ZVFgELZ7DExIw5w fTs5Eu3qDJ6Yin8BqdHDqjbOeABrpmcTUxH7gXayMIULYGgHj2LUt7b7ke6tSZrl4nxe 6+TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:to:subject:mime-version :content-transfer-encoding:date:from:message-id:user-agent; bh=q5SofEElLWhvm8RFYZdtfkdDBB2NbF5qicXxcca38Es=; b=d7dCjarNwDnQetQ3MTEPY+PbBKlhpK/OmDZTBF5B9IRwrrYEBPSesBjDlwRkCtvz7R zZ72VHmeW5qByBd0+Wc/tBhcyde+qiGhR7tm2zHLAmQJRycY+29HvibczXzl2ILuKGyd ZGWG0OSmvpUw/J6bgOrUSmfvMSm8UofAO1B4ng0g0hJpQca1NF7uN3uZVPVjUItvENye whyOKcQ8s6PNnyMwjuW5ci6eIo3Jbih+5HEZiUXchhjznhXOqnRcjeXBkoz6gXSmiwVG j6wRWQrzqchF+o29+deCJhynqRFBn/BWbsh/pdQmeRsOkjL1QeJjqa+/yMasYV3jL/Yb 51Rw== X-Gm-Message-State: AOAM532Ol9lTWCor/RQgpG+X1h7KfJFoUy4abfOV+jcuq2zz1GJmsr7R /gotNao48fLvdgVTbl3DYsESj+lzf6U= X-Google-Smtp-Source: ABdhPJxiTdd6/hdTGN8OnVMyAtvYfwuRtdVinShN1orNoKvjiwL7lFHf1hTHyR7kwTE7el2gNo0sKQ== X-Received: by 2002:a17:90b:1293:: with SMTP id fw19mr13645498pjb.155.1637910436364; Thu, 25 Nov 2021 23:07:16 -0800 (PST) Received: from sachi ([172.58.46.132]) by smtp.googlemail.com with ESMTPSA id e13sm4237026pgb.8.2021.11.25.23.07.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Nov 2021 23:07:16 -0800 (PST) To: Subject: Re: Re: How to efficiently allow * in a cml string X-Mailer: MH-E 8.6+git; GNU Mailutils 3.13; GNU Emacs 27.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 25 Nov 2021 23:07:14 +4000 From: "jdh" Message-ID: <20211125230714.8704@sachi> User-Agent: MH (GNU Mailutils 3.13) X-Seq: 27364 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: Thanks for the lead. You're right, I do want to avoid having to use quotes and backslashes. I'll follow up looking into the information you kindly supplied. Thank You. --------- Lawrence Vel=C3=A1zquez wrote: > On Wed, Nov 24, 2021, at 12:06 AM, jdh wrote: > > Is there some way the invoiked script can reach into the buffer before= =20 > > zsh complains about the *. > > > > I've tried: 'unsetop GLOB' but that didn't work. >=20 > Well yeah, filename expansion happens before the script executes. >=20 > > Simple example: How can I get a script to do 2*4 in the below simple ve= rsion: > > > > $ calculate 2*4 >=20 > Presumably you won't be satisfied with >=20 > calculate '2*4' >=20 > or >=20 > noglob calculate 2*4 >=20 > You may want to read through this thread beginning with users/27103, > which already covered a lot of the same ground. >=20 > https://www.zsh.org/mla/users/2021/msg00815.html >=20 > --=20 > vq