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 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 21967 invoked from network); 6 Dec 2022 18:55:06 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 6 Dec 2022 18:55:06 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1670352906; b=JO1fbvXcisU1K7U6yesfM7ivIBLxhuKQIjS2QXimiCdwixIACyTDqhfO8pdPs5v7HpE4OlK0Wr fC9kr/ur/8JBh46TaREchc1J3nqXbvwHKvDBaJh3QY7iylOtWRd3Hy+LDxw9ONe0Y7/w9WQ4Sn 2KHXSRL+0DfXUefb0ARA0GVjHFzoBU8K23Bdd4OUHan2RgrpSf2L0MxlVkiwK5PNnJvWC2lg4j KmjU4IRkApJ+JPXej/0HVYI+HKxpfb/EeX0SYUnxcfu1QR4qnPnR6a0rCt7bvwiwJ9NMsJ1xjB hiMAzejrAewlEPDGPqDL3QHpM3PJ9dyHz6oTct+TsiWJIQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ej1-f45.google.com) smtp.remote-ip=209.85.218.45; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 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-20210803; t=1670352906; bh=jUphVYOmOzqdTNqSRxAjNNrvNK06LGCTLUl5QxqPjpg=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Cc:To:Subject: Message-ID:Date:From:In-Reply-To:References:MIME-Version:DKIM-Signature: DKIM-Signature; b=ARsrg/R60Kkns812ldJCWQPqubeU6cbgKCNLVku53u1qVUOnAJwXi7rprpJEzao3jf1VZSpy16 /YhMHluNNOriKjs9q7pyUsOQlHtm0sXeGx7XDK9Ii1z6FOnWkLbk/VMmPs5v6ExvJ5t1xNjEFf OZLQM5yfpp81VtN576ByYj72kwUgIrA7U+SfjWMpK2N9LmP1/11WnXAwcv33D6aikOGkH3qyvd ACO9WB5t7C654YHBm70kW4x2DqCJ7Zy8rHl/y6NdUojQMx6037nn+05yAftI5+YQQQ/7zbYiLU 3/Pm+J/+QTMM+T6bgCfUTtGICJtcrrdxxgydpwdCybjYEw==; 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:Content-Transfer-Encoding: Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=IqWjBrWIxx+wCa42Ac+U0IOdcHN5pdHNdBsz/ekKdvU=; b=isv4IgiKc9FbuAo4hipAk8yBvo CijryjoIimX7h31lEVo52Ayh+AclLvplkpX5iHc6ynSq1g4UsNDX4UK4CSJ5oWHxWCIAhz2fEp0XE 2ySi8uNfIpGN5tykt/uhkGjA5LD91IDii6ZkoEqPdUoM5lN/c7UM6zs48UWOoxpDU/7GTULKyV0LY cFgahkgu+QIdXJSUq9s35pgZ2ELjBvyRuOYoRat3OeKJar0lQxVrERNtDYdkhTjrgGNGElb+zOcG1 g4IyuQDbdhoLheR6pjwOIL2ER2oE89FgfeTn60BWujuiagvywggwpT1KY6SPVOpldtSuxxu17lRJ+ f4z9sNqg==; Received: by zero.zsh.org with local id 1p2d5u-000409-3e; Tue, 06 Dec 2022 18:55:06 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ej1-f45.google.com) smtp.remote-ip=209.85.218.45; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-ej1-f45.google.com ([209.85.218.45]:40577) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1p2d50-0003Ig-L4; Tue, 06 Dec 2022 18:54:11 +0000 Received: by mail-ej1-f45.google.com with SMTP id b2so8428626eja.7 for ; Tue, 06 Dec 2022 10:54:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=IqWjBrWIxx+wCa42Ac+U0IOdcHN5pdHNdBsz/ekKdvU=; b=3qNMP4I8XERfk/B3r7a9R4o2FSyoSX4U0RNhJ9oKeDupr5Poa3zHAD0GUeKb4Jn/w7 14xyCVmRm/O6i2RCEZRZCC9Jt6D3PMoup1rEtoZNGytrvbGQ936jTIjsXWzZzeLhDIRV /ApgkRn5TSpe9yXySr6p67iRIOrwZPHfOGm9EkmQaLM9vgjBUphfpLgaGyWUsHwJqpUg DvTjFB++1AMQEEx+a7sPJ5xEZkdCjT9L/M8PA6Guggjgmow6q3RJtxC8Q4kcrOTa9ev0 9PqMcipmmCVCYR2ONnr2fMMWVAPRpVVOoeOL+Kh7BGN5LoaGAmrxi1zjOHrValbqaw3/ Uatw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IqWjBrWIxx+wCa42Ac+U0IOdcHN5pdHNdBsz/ekKdvU=; b=7dxaS7gDjsVNTTWp90OqOLTLqIAXDHu+26uOFsJlO+mGhzGDisEoJfdRalFtO27NUX MnKIshbqqKYxQs5HGlS71zoRV/BiSr5vZhPRw11NKwnoNJpKhkM63saOObxd03qlgnDK f+W00MPxLbRtoFFK5iUOH+ziPYy/BNO4b1DQZSsJBImtK2Zex8pPG3WbqJI3+vNEFjC6 9JC2R5q+HXh5sEmLCHzQg5dK4swl8KWQoHfsvnagqnsKV+ecJT5xBhraX2unGDMfYYiE bW0mZuR+FOcJDV5BSsy8oOvHo+1YfYZMjSEMaraulkYYYv8oQWXOv/h4J+ySshqk3082 /sGg== X-Gm-Message-State: ANoB5pnwREsMKzd9wDOPXRZcxqGEj6on7QxwToNLnX2qm2FsknoGS7Ud WGOJ/p2MQs1TxTXtKgTk27LG6Lq2uW27LX7E1lUlUQ== X-Google-Smtp-Source: AA0mqf5agIqpO8w+RqlB5kuH+N5s4WX0V2PXgjJsBx9bjc33u0K8tR0wwU8/GH3z4TS9/PCTSIshoK/iYVs5xRFF130= X-Received: by 2002:a17:906:fc0d:b0:7c0:d4c7:c00d with SMTP id ov13-20020a170906fc0d00b007c0d4c7c00dmr13480634ejb.345.1670352850137; Tue, 06 Dec 2022 10:54:10 -0800 (PST) MIME-Version: 1.0 References: <9d81fc7d-aa60-9b6a-47df-6fc677b933f9@eastlink.ca> <63ae2364-1bba-405d-a1e6-4813df512340@app.fastmail.com> <8fc6bf49-3463-4432-b706-15b49d19a9b5@app.fastmail.com> <1a9012ef-7bac-aae8-8a7c-5b8aa86b4cfa@eastlink.ca> <9210d692-ed2c-c853-a5bb-23d9d6a097b2@eastlink.ca> In-Reply-To: <9210d692-ed2c-c853-a5bb-23d9d6a097b2@eastlink.ca> From: Bart Schaefer Date: Tue, 6 Dec 2022 10:53:58 -0800 Message-ID: Subject: Re: trivial question To: Ray Andrews Cc: zsh-users@zsh.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 28507 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: On Tue, Dec 6, 2022 at 7:28 AM Ray Andrews wrote: > > If a word contains an unquoted instance of one of the characters =E2=80= =98*=E2=80=99, =E2=80=98(=E2=80=99, =E2=80=98|=E2=80=99, =E2=80=98<=E2=80= =99, =E2=80=98[=E2=80=99, or =E2=80=98?=E2=80=99, it is regarded as a patte= rn for filename generation, unless the GLOB option is unset. If the EXTENDE= D_GLOB option is set, the =E2=80=98^=E2=80=99 and =E2=80=98#=E2=80=99 chara= cters also denote a pattern; otherwise they are not treated specially by th= e shell. [...] > Deus absit. What I might like is some way of turning it all off. Like u= nsetopt glob, yes? Yes? Re-read the doc excerpt you quoted above? Generally, though, you don't want to do that. Instead you should use the "noglob" precommand modifier, e.g. % noglob echo var[2]