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,NICE_REPLY_A,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 12798 invoked from network); 27 Oct 2022 23:40:00 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 27 Oct 2022 23:40:00 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1666914000; b=KI7IK/4UX6LERi5ZSsclDt92F9Wsa+f23zr/Q8So+Z909SLJ3kpMgw7Yt11w3v1AKnBlvD3Yh6 fJ4WQ2Ur8Ov5jDwlL9NRr8tBUktktBZDOgwMBQYzpKVL6i3ceBM9yWA0lYHFJXzrm4psEVosIe 5draoRJ6qhYX7EnItL3fVldAbsnRBRwIBgXH8fxECswObSCLrGWnc3lMjHjKMJ+3aW1DE/37ol MMIWouhGxjyc6X9gx3ScLmFZXN9ebufAkK6CkMdRxz9/WEtOKiTlG7QbZAeBPntANuHeBZo4un 3lD/Zas3GDHDs8AoGEZ8ppnY/jkLrfdB5tf8UyP4yLyprw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; 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=1666914000; bh=uLlGCa7w9l7Vuu3zTBfczbtFrUZs+mcbxXGRjeqYOpU=; 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:To:Subject:MIME-Version:Date:Message-ID:DKIM-Signature; b=dhRasgo6iMuHlW5MiZQn/gYcP+XLOQaDnd92fE7DRtdivRVz0rj770ozPLstv2a1zyA6/DXSkb NHM4eoCa+GlT/UL9zUpZRopj2lDBSb3ya+qdc0wGWwpNF3/bivqKTr8LPfhEHBdgW21jQ3e7qP wNY32a2qatnIxg6Xb5vzrNfSKR9Ctj2EVMGqJFaBpfMhYAHzLwKBfK8af5mjbYJcLOaSAypE3a 8pKEzBTNPKyyDTHOUExOOx6fz+uOV8gCRLVScGdtgx/iztEQ6YkoLq5yVTGmsxkQI7Zb69E0b5 wt/LIzmFYsZJNhoKi7ukS9rL6Yn0yfVgbZXpl/R2UlZFWw==; 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:To:Subject:MIME-version:Date: Message-id:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=L+Mx6Mk6gWi4iOG+uNlfn+SgZx4KRqrJwDWxQ1g/oyg=; b=JOsQ2tJGDUA4yZK2b1/3VatuWW 2mMNV3hf7l4DYl/X5GoGCJ8ISc7cYj7K53jkqNNRl+Q1b5HVH2LJdPxNvZDcQD9In83VMak9pWMQ6 Q3xtuuku2XerxPZkYL5grtzn14UAIJrs8ghWVMsrLtCyCGzA+g/LuJGYtJ2XGCWZts1a2tucW5SqY tZpsAKYqT3+B3YSIhRMMa7t7gZ+6D3WmHBPR/ymQyZf/fmK0oPN5vO/jsyHccDD6AQ6jKQEe9k4nQ F5leCzNwJDJsF2zpNSx3Ve55Gf2daS65JECAFoCOusGddM6FLMvkfFoerOGnQ7mV5kWnpZKv0fKXD fPUAOAwA==; Received: by zero.zsh.org with local id 1ooCTf-000Lyz-Hm; Thu, 27 Oct 2022 23:39:59 +0000 Authentication-Results: zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; dmarc=none header.from=eastlink.ca; arc=none Received: from mta03.eastlink.ca ([24.224.136.9]:49773) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1ooCSz-000LJZ-8r; Thu, 27 Oct 2022 23:39:17 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta03.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0RKF0032PQ43DO90@mta03.eastlink.ca> for zsh-users@zsh.org; Thu, 27 Oct 2022 20:39:15 -0300 (ADT) Received: from [192.168.0.2] ([24.207.18.108]) by Eastlink with ESMTPSA id oCSxoARkwzeXpoCSxos4Pn; Thu, 27 Oct 2022 20:39:15 -0300 X-Authority-Analysis: v=2.4 cv=cYAU7FPM c=1 sm=1 tr=0 ts=635b16a3 a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=ufF8tvEPTxQ7gR4kHJQA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrtdehgddvgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeeitdejffevgfdtheeggfetkeeugeegieetuddtvddvudetteffvdevlefgueekudenucfkphepvdegrddvtdejrddukedruddtkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrudekrddutdekpdhhvghloheplgduledvrdduieekrddtrddvngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepvddprhgtphhtthhopeerredprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: <25186eb6-e623-2e56-3e87-b169d94fd436@eastlink.ca> Date: Thu, 27 Oct 2022 16:39:14 -0700 MIME-version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: glob executable vs. non executable Content-language: en-US To: zsh-users@zsh.org References: <22b55ee0-ab85-1352-87a7-32dde5c7678d@eastlink.ca> <05065e8d-8bf7-4ca2-b89d-1151348cb30d@app.fastmail.com> <05b5bf81-267e-46ba-9be4-2aacb57bc0bb@app.fastmail.com> From: Ray Andrews In-reply-to: <05b5bf81-267e-46ba-9be4-2aacb57bc0bb@app.fastmail.com> Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 28283 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-10-27 16:19, Lawrence Velázquez wrote: > See zshexpn(1), in the paragraph immediately following the list of > glob qualifiers. It is admittedly easy to overlook. I've always 'bounced off' the manual, I just don't have the language, it's written by adepts for adepts, but perhaps the time has come that I'm ready to try to read the thing again. > > By this definition, every possible command name is "actionable". > After all, *something* always happens. Sometimes what happens is a 'no such command' message.  But yeah, if it is a command and and zsh finds it, then I want to know where it comes from.  A builtin and a binary file are very different things. > > A symlink is not inherently more "actionable" than a regular file > that does not have executable permissions. The target is what's > important, not the symlink. Sure, but the symlink is the first thing acted on.   Of course one follows the link to wherever it leads.  I remember when Peter gave me 'whence -S' so it was explicit. > As I said in my last message, the "-" glob qualifier allows you to > include or exclude symlinks based on their targets' attributes. > There is no reason to blindly lump all symlinks together, when you > can easily pick out the ones that actually matter. Call it lack of confidence, but I like to see them, and then see where they go.  It gets better with time but when I first started with Linux there were times when I had no idea what was being acted on when I typed a command.  I'd be looking for a file when it was an alias or a builtin.  For a long time when I typed 'zsh' I was actually firing up the wrong version.