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.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28703 invoked from network); 6 Dec 2022 02:29:45 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 6 Dec 2022 02:29:45 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1670293785; b=Xz4iTb9fMRzY1vyNzbm3ZnX/WyM3lTS5nYPmp4kd/rF8g+BkEEvIKzrc3/lrrs5DjZB6K3Kcl4 RDrrsQGyfeaw5AGPlterS5s748awa8GfhIs9dqjS3dkit90V7nAvfx/Iq4w0sfVcYCXf9pS7T9 +4lTThvM3Rwe8Hf2i8+FqJQcpqtbk47hn3fz9fIQ0D2Har/Gv0ePo2+JyRj2+nzrvRVKlpK2Pw 0+W71VaCGeRI5UQqcHXcsjNAr9exaa6XPr7U9oAej0vus5zjKQ1LFtWQMYQ3Ne+v/n+7QKK+vH hoPWuK+71klfj7ScYQ4Dq24cFl4k9LApH/TBbLGlhDk8Sw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1670293785; bh=JwgMah+US/O0pCi+0lXFSRjScGQMK5bV7yW4Bb2nY9k=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:DKIM-Signature; b=VdclbA3xPSOljG7UlHDD5OKbyM2ZC0p2IwvsmsNXIBlGmjLJIG+6EbMHvN7F9y77Iw0JiQL8tz /pSf305X7FRQ/AZ4jcc5iiLpwMr7vs7rzfJpXWwOJJHa7EQRdetC30uwFpeDy+BMOOiQjp3Sr3 0nFiu9n9nubqH0XFzQvJXQkh0f5W9w636OW2mt2K7qWJxzXZlV/Mr5hO4YjN6Rq3+lBHo2Fc3p na8qzdn+PqJJ1mP8CpTe2YPRNdGC/uXxtfmInm7ddU9lb40bNajLRglnirHl49Ge3J2r81zqFW lFQxEq7UAvjY9RPAduqoUl0+ljWMNlFo65/FMrwdL0fLBQ==; 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:In-reply-to:From:References:Cc:To:Subject:MIME-version:Date: Message-id:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=t8RxApt9f2CBbZt4Q5uSCuDhPRTPUP+mWv5saVm9jIU=; b=sXN6E9kErZJUv5cP7hAutmtWf+ 9H56FnHfCISiCzg3apsKUDhnrqjc4N5mHlbyS3JzJo/zt7W3JlnufOuHuiD5EA6xlSntTt6mx88N8 YRv2uqI756h6SqzuEBhvhn/TRY5AGYsCp7mL1lwFY0gTtzu2pND6vOk2a0Z2TzQ/FU1rTTA4dBSDH FkffnynRx1lsk15HyRX7UgZnHMfZUfizgFHP4V1G2b1zRasdVF1yMoU++dNMrulVJqsyeUyI0h983 Nc8Hq1zm7+MoDgDUpt0iE5jBdGdQOrWRQq1l+MIbxRfOgbZ0PfWAt1FH+Tt+SGgAD7jKVlWJ1Qmqx bJfYtS/w==; Received: by zero.zsh.org with local id 1p2NiL-000MPR-9k; Tue, 06 Dec 2022 02:29:45 +0000 Authentication-Results: zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none Received: from mta02.eastlink.ca ([24.224.136.13]:50374) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1p2Nhp-000LkF-BD; Tue, 06 Dec 2022 02:29:14 +0000 Received: from csp01.eastlink.ca ([71.7.199.166]) by mta02.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0RMG00NVJ6O3F4D0@mta02.eastlink.ca> for zsh-users@zsh.org; Mon, 05 Dec 2022 22:29:12 -0400 (AST) Received: from [192.168.0.4] ([24.207.18.108]) by Eastlink with ESMTPSA id 2Nhnp7GozEN8v2Nhnpdfeo; Mon, 05 Dec 2022 22:29:12 -0400 X-Authority-Analysis: v=2.4 cv=IPDESCjG c=1 sm=1 tr=0 ts=638ea8f8 a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=oCJdXuK9KSZswzrpXgUA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudehgdegkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfevfhfhjggtgfesthekredttdefjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecuggftrfgrthhtvghrnhepveehteeivdeiffffgefhueeulefflefhkeefheekffetfeelteelheekheetjeelnecukfhppedvgedrvddtjedrudekrddutdeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrddukedruddtkedphhgvlhhopegludelvddrudeikedrtddrgegnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhnsggprhgtphhtthhopeefpdhrtghpthhtohepreerpdhrtghpthhtoheplhgrrhhrhihvseiishhhrdhorhhgpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: Date: Mon, 5 Dec 2022 18:29:11 -0800 MIME-version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: trivial question Content-language: en-US To: =?UTF-8?Q?Lawrence_Vel=c3=a1zquez?= Cc: zsh-users@zsh.org 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> From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 28500 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 2022-12-05 18:12, Lawrence Velázquez wrote: > A decent starting point is to assume that unquoted punctuation is > special until you verify otherwise (assuming you don't actually > want the special behavior). Even then you might as well quote it > to avoid confusing your future self. Sure, I quote almost everything anyway. > > Presumably you've internalized that "*" is a globbing character, > so you wouldn't be confused if this printed a bunch of filenames: > > echo *.txt I may as well admit it: I didn't know you could do that.  Nuts, I just never  tried it.  One echo's strings.  And true to form: $ echo no-such-file* ... returns nothing, just like my initial example. > > Once you know that "[" is also a globbing character, it should cease > to be confusing. That said, remembering all the globbing characters > can be a challenge, especially the ones you don't use regularly. Ok, this opens the door to clarity.  I just need to know when zsh is going to attempt globbing and keep on the watch for that.  * ? [] (but only paired!) what else?  Man!  To think that I'm just learning this now.  It's been an educational day.