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 2820 invoked from network); 17 Apr 2023 22:45:20 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 17 Apr 2023 22:45:20 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1681771520; b=bSRjwmhdGfxygWyKLLpb/RUqBaL7qqsdM9Du7cb6FUd7jDVcKyESWSnf2HR/jH08a7AZ3aBRRm lHY3ICoQeV+3j5i7UfpPtNIEALMPwdTkREjrtHqkPAMbIoFf99KS9Xq27eSDqrxSgPQq6ADdMw qCHsMj5UMJWRuCMX1Z0XSBZXs7J4B+LjhyVdHVEK6OvIxhhukU8FspsyAWityg5mjHNti1+348 djTK8TZPUkecDRaTMA0fdkn5zyQYpolFxPhx+NnFzljjd54JCSrPIxukxgvwUgFCLd+rXg/RhD 5U9AjEKDnI9wYeyo15SMJRUCWJFcocfYyRq43t+ixCKwuA==; 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=1681771520; bh=fBgkaZUnhHi3RZ4Dn37QuZ0VELjNZk+QGD5VrYGeDkM=; 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=ACK153gaRI3ySkqGhDcVcb5o0k7bdfpUl6f3Mdvd+5XACQ+sBGayOEbgiTHLk9fGkhJdBF/4I6 gMti0+tLV6JPENLIC4IZyZLCiiqnyV1V+DBW6m+DuXt71CPUhECBRujEkwR8Npg8ai9gt9o937 brAqxvKs7C8L4tV8NWC98lwWqdwfvbMg4f4WidBvSxahlHo8tztjloaLfNoSu7EquvxPfoWWHR lXBIsMs3UBXtyTuOFQP/q82lYU9059g1YGDxxpoB/QH4XG9GuG/wTqqQ++PZAK4xshAeBzIyL5 5VL0uKYqzv2jSCad+sawOIG2EWEiJ9AGAJKSDrVSmXv5lg==; 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=+diOy1vAuUbiM23Zt3en95C0oJSARdWJatAlfV+bEf4=; b=hnIqa99TX/PwBVPrErpJmM0pL6 ypI17j5pr0gqZSyxfBXjFPp/cbVMnMb2FoYGesfoRmWKx8WpbNo7jZ8hb458FDYp39uVTT5BOo+Tb p5usXSaE4FjDN1yX4UdYx668/ZWDT3+le8Ia2ppJ/aR3iN96M4+s0H2kuyU0dqV2l4hvZfRog2IVB bGRjZztJs5RU7GiuTNSfNjvIZPwOH+cbcDSd3XocmVlWke2CMvuZiWeMNUeuMEnw2FDMdwQNKU27Y tPJB6QOV7XIAMQbQLNrlyxAH8UwiGaUdkpvDm9ZTNhmt+8EzEzIFJ0P3pOHlJGDmZBgxjavg+KksH iGbyCIxg==; Received: by zero.zsh.org with local id 1poXb5-000Kzd-Q9; Mon, 17 Apr 2023 22:45:19 +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]:60690) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1poXaW-000KFi-DW; Mon, 17 Apr 2023 22:44:45 +0000 Received: from csp01.eastlink.ca ([71.7.199.166]) by mta04.eastlink.ca ([24.224.136.10]) with ESMTPS id <0RTA00OA96VU9CH1@mta04.eastlink.ca> for zsh-users@zsh.org; Mon, 17 Apr 2023 19:44:43 -0300 (ADT) Received: from [192.168.0.4] (host-24-207-18-108.public.eastlink.ca [24.207.18.108]) by csp01.eastlink.ca ([71.7.199.166]) with ESMTPSA id oXaUpijrfhhvwoXaUp0EZM (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Mon, 17 Apr 2023 19:44:43 -0300 X-Authority-Analysis: v=2.4 cv=NdAglUP4 c=1 sm=1 tr=0 ts=643dcbdb a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=TOwvfXuyHmuxnLP4y1cA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeljedgudehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecuggftrfgrthhtvghrnhepiedtjeffvefgtdehgefgteekueeggeeitedutddvvdduteetffdvveelgfeukedunecukfhppedvgedrvddtjedrudekrddutdeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrddukedruddtkedphhgvlhhopegludelvddrudeikedrtddrgegnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepreerpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: <97340853-a204-e2f8-e85f-e1fbea4b2c31@eastlink.ca> Date: Mon, 17 Apr 2023 15:44:42 -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 Content-language: en-US To: zsh-users@zsh.org References: <5e16ada3-6968-78e9-7347-44b6181c29b1@eastlink.ca> From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 29047 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 2023-04-17 14:52, Bart Schaefer wrote: > > Aliases are replaced before variable substitutions occur (if that > weren't true, you couldn't refer to a variable in an alias). > So, when $chain expands to 'l' it's too late for 'l' to undergo alias expansion? Gotta think about that, no doubt there's rigor in order of operations but it seems counter intuitive here.  I'm expecting 'l' to be processed just as it would be if typed on the command line.  Mind, that's what 'eval' does.  Maybe if I thought about it a bit harder then I'd see it.  Obviously very basic stuff, not open to critique, but I'm expecting 'outside in' parsing so that an alias inside a variable and a variable inside an alias would both be fully expanded.  Still there could be very good reasons not to do that I suppose.  Probably not worth worrying about.