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=-5.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 21695 invoked from network); 20 Apr 2023 21:36:52 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 20 Apr 2023 21:36:52 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1682026612; b=l46wgQQLlNQ2g8DElWuuBJB8yvZWNOITjh1uBmUCPwJAYh73BDx/KJecgP5IFHb6zbHqXeg3W9 /obuzw0oP+oKh9nEhlNhpw4XPVcFQawi8vQdDddNxzRgVgc6Jym3PqnkmOwo7yDKTuYdahPEXG FOj623lTsCP0GBBivKWmS+jALv9OkANo2J9LJgALOC1QwA6/im/4shvPNUSe/8QITuLZuaPJUt qA7dTIePSlbkoyKj+7UuKFyOOeGOqCfEBjdXEZt5gXp15mkLDs5cYK5wMVpkSc8CQOCCX0yW2o 4J8q8FMD0FZVpHEwNAaOch9OcIkvQYcFFYoFKVFSUB+cLQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta04.eastlink.ca) smtp.remote-ip=24.224.136.10; 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=1682026612; bh=tlnLYmk7BHlpL9GZQN9uTwuIAMCZo2aU5G4gcDJXSNw=; 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=jte5+boOtLaik/rzmyeb5V8Wn5MrWulwU6Zgf0rJfxHRMFqOCqxR+JO4cB1/Vk/ciT40MCFedP +S8H4cdR84AqFktSzmjrG4vUB+THHTR/21D+9XVCnjMUfww6BUMDQiSVGR8cBVa0WjIEz9W6lA r8EAMB8p0QiU+Kexiha3LrvRL7XURaWELVM6lHQ55Ro058/9P/ZDeSaejNBipXPzIRcvqXSpXN PWrbLb1wIW2xdOytxnrbyMAsBBJlBmlvp4dFNjxVqO6MieuPvT7UAkF8zO2CXJMaPNseDUiev1 ejHsy0xjivNkwCjLNgHO+89tISfSp7rXODZmdR2zHTBc4g==; 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=dfGIoHKSekr37zDMj7/9epXgavBrgL7XozigSiZ74S8=; b=ngADBg+Svb8DcHBkAuZLfAZwmZ 4wlGYo007NuXK5AamJhLbGH9SweNjGx+ZAlvZlOuXFynh9hiL1gt0EO0l8dK0VE+CdLZqjhiDKfII XH8mBfNGFTEMWMhtFsbQnh6kwqzJHYPm2Br/VBV1+iaS6ASr73j/vopePj1R5/fWorsdrUvYdFd4M /GRrwhimnKxIxkAsdKsikLQuMj5VsuhPPk6SP1zOgvoV6w56V+v3J16bK5cHQQxWAEY3SaXsrHwI4 A1iGeCPsx+jyCH+lfzeIa98AiPOJv2tol7CpRPLDHSILKEFe4Ea2qHeTVAwmDrrDFCDbB+oxgiRBR fiSHvPow==; Received: by zero.zsh.org with local id 1ppbxS-0006Nl-LA; Thu, 20 Apr 2023 21:36:50 +0000 Authentication-Results: zsh.org; iprev=pass (mta04.eastlink.ca) smtp.remote-ip=24.224.136.10; dmarc=none header.from=eastlink.ca; arc=none Received: from mta04.eastlink.ca ([24.224.136.10]:43673) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1ppbwN-0005f5-Ad; Thu, 20 Apr 2023 21:35:44 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta04.eastlink.ca ([24.224.136.10]) with ESMTPS id <0RTF00K7HNXPF121@mta04.eastlink.ca> for zsh-users@zsh.org; Thu, 20 Apr 2023 18:35:41 -0300 (ADT) Received: from [192.168.0.4] (host-24-207-18-108.public.eastlink.ca [24.207.18.108]) by csp02.eastlink.ca ([71.7.199.167]) with ESMTPSA id pbwLpxnkimGHVpbwLp54dB (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Thu, 20 Apr 2023 18:35:41 -0300 X-Authority-Analysis: v=2.4 cv=T8tKDdGQ c=1 sm=1 tr=0 ts=6441b02d a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=tl3rZHxWz1uHmbmjAHcA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedtfedgtdduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecuggftrfgrthhtvghrnhepiedtjeffvefgtdehgefgteekueeggeeitedutddvvdduteetffdvveelgfeukedunecukfhppedvgedrvddtjedrudekrddutdeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrddukedruddtkedphhgvlhhopegludelvddrudeikedrtddrgegnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepreerpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: <35874ea1-74f0-d733-7fc9-5b0ab51cc8f3@eastlink.ca> Date: Thu, 20 Apr 2023 14:35:41 -0700 MIME-version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: permission denied To: zsh-users@zsh.org References: <5e16ada3-6968-78e9-7347-44b6181c29b1@eastlink.ca> <97340853-a204-e2f8-e85f-e1fbea4b2c31@eastlink.ca> <3f180a94-37a0-670e-f5e6-9122411ad416@eastlink.ca> Content-language: en-US From: Ray Andrews In-reply-to: <3f180a94-37a0-670e-f5e6-9122411ad416@eastlink.ca> Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 29055 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: Bart: > > On 2023-04-17 19:41, Bart Schaefer wrote: >> >> Think of aliases as preprocessor directives like #define in C, and >> you'll get there. > > I can almost smell that it's something best accepted as it is. BTW, I > figured out the message.  Seems in the unacceptability of the alias > 'l', she keeps looking, and finds the file named 'l' on the path and, > it being a source file (containing alias 'l' and the called function > '_l') and not being executable, 'permission denied' is about the right > thing to say about file 'l'.  If not on the path, the message is > 'command not found'.  I had thought that 'permission denied' referred > to the alias.  Dunno, perhaps 'zsh: permission denied, file: ./l' > might be friendlier, it would at least be clear what the shell is > chewing on there.  So at the end of it 'eval' is my friend in need. One last question: You did this:     chain0=( ${(s:; :)${(z)1}} ) ... ignoring the semicolon stuff for now, since it's more a matter of principal than practice for me:     chain0=( ${=1} ) ... that would seem the more 'normal' thing, but you've obviously used '(z)' pointedly.  What's the difference here?  The manual leaves me feeling rather vague. > > > >> >