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.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 22134 invoked from network); 20 Apr 2023 21:49:00 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 20 Apr 2023 21:49:00 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1682027340; b=UDyOJ+BDP4X0ew/xA45pyfodc9QJiLwi4/neE0C7D1k0DxpaoqvhoIomBffJ97VOaAKtouionm GaPNBJnTmZdEbM2/PUNmaPQJpWFosnf6dK3MC9uRTpROXG+gPGp+1hjUhlcWGbRonTTtWxAwp9 YcVKieIzt8uRShuqGpWwN3HDgjySlcvXCv38TRxH0YS7Pk5gbMI7+ESMFXSf/1wBsXOh0rpF5I mb0NPMM59glOm0MKgyvTZ11dx/GhmRYj6R+3d53XPRQTU7TvBAsDD/my96ing3ffCrjjmXzWtV tMr+eC4lyct2UInx7Eefkq6K/OE9df1yD1E+Vm1nThvJRw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lj1-f174.google.com) smtp.remote-ip=209.85.208.174; dkim=pass header.d=gmail.com header.s=20221208 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1682027340; bh=elYevs6ht2jOCuY6JYg0jiFqGwfLDl5ui1YNIfuuUAM=; 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=aYJ1w6fkAprhOZuRAJ2o+OQKOIs7pDBQsyQDvuvV7bu8DDRvOT2m+hF7yKe7IK/IkJLde4DIux cfxo/zEylsMOQDQL8cu2InXXAPG43v3TjtLdBK+Wj4Wg1SeocoPcE0YMQXpwBzuM6KiJSjcJM6 D8mm0Is5/7RPIEiDDU8xkxX0h9rb1IR+aQD4UNZPFm6H7IO3vdQTRFZM5VBWnKxpuRIAYCl8s8 1/Lj7OxTtelVpk8G924HycJ0LlKck53tddZbTvK5eShRewtdszVcv/NxKkiiRtC4ciR8VLBGwc W/N+dV2TqUGcRY3E8X1Kxvoe7fHtlqEGLoXZsqfkUcSXPA==; 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=bvfrM/YaJqpPXB+dPYmzXIfDxc0uudQj4j+qY71Nc4A=; b=hpyc2tAn0z3j7usblCdvf3m6vU hxPUqNyrks1DeY4dFj6vOcleiRUboSezRThTYAETehs8gbJlHlsdrC9P7IKDz/Mml3gAhFNDF6DGf ODXY2nkUQAXeYfeG3ZOQxANFhzYuN1F4dVCpOoQykipKISrLr3JDpJsUBVodJuEXasrhKEAwT/pHp JtSKAwjondQV07lxk74u3OCSb3maSmH+k+OXHpIn9UpSWDx0yzG8yuxlf08sUB9QSaYVyD+5d6R79 nrkULUayFlb1ehL1Is9kqb6xZHCp5KyQIpKh5buw06wF4eqt+XWih9TXVNTeF7ZZ7s6phFBZyrACG Erju1hUQ==; Received: by zero.zsh.org with local id 1ppc9E-0007ni-9a; Thu, 20 Apr 2023 21:49:00 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lj1-f174.google.com) smtp.remote-ip=209.85.208.174; dkim=pass header.d=gmail.com header.s=20221208 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-lj1-f174.google.com ([209.85.208.174]:49168) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1ppc8D-00074R-QU; Thu, 20 Apr 2023 21:47:59 +0000 Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2a8b62cfaceso8349981fa.2 for ; Thu, 20 Apr 2023 14:47:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682027277; x=1684619277; 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=bvfrM/YaJqpPXB+dPYmzXIfDxc0uudQj4j+qY71Nc4A=; b=mra34gyyg4SUIic2pCybaoonVGHfy9K2YbLk3fRq5ZmNuX/YG8yDFQna0D4hVuYn08 RHH670WZiSytoJYRxyX9EnB4iGn51Kbl3oNgxImyZyyP3xIGGhHzzwPmAjt3Lgv5zA9A lDXS7kq56t0t7GGF04A30HmdwUZhiAL1k9t0nyh1nJuX9om62bmzUvoX4vucsk5Wi+jW GUR44lokHEvbLtyJidKzmrHtxBxGZX3Y/hhw7aFHuNslZu89PGwr6Bg06TSAwVSIB8Lr eZ1nNb3B0wgbtSmRdZAa7BOntvtir7fvy8P0nIHAOlDyBu2yUnfDl5goRBex4jApgXS7 pPKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682027277; x=1684619277; 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=bvfrM/YaJqpPXB+dPYmzXIfDxc0uudQj4j+qY71Nc4A=; b=Se/f2p4GuR3uBYSDMsJxs4HAOmdj4u8HZMeizjI3AsZuThWemvvXIJy5JSqylbYI+e Cpi/j3lXEsp0eS+PKS+WmvgSUAjDxTzwE9ck83ddSJi9BkWzFS4yN3JuxD3JcBqer9Td NLJqc0IX0DA20ok3FStou/iP5InVvBuh+4liW845Z1zBnxw5MSenpHsxtVrDsKJn9JAL EbrFlT80aFgDlUuHq9+SMTyQOdsWBvEfcbzX3lA4mAd/hDJMnsMqQg4NMgdm/kAHDsmm qF2YfRL5XSc8jns7eW9CPoDZG217tJZKtkpIM/93K6/y0tHRcst0r/Sv147Ji4wn0kbS /gdg== X-Gm-Message-State: AAQBX9fVUI3uuCMpvUF8UebSMn+yjc0XspNCIzxo8Fmec7d3xG8lQw3M UZ+/ScpFynVH7qZQmNIL52xujVukQwpawIQbIN4= X-Google-Smtp-Source: AKy350aMpf0YfQMHl8x4BB7xVCDIuwOFOIQtBPTQFje+N/J2Q4rrA+zvw69AdW9nes4A2980glqZ2AXa6Tg8ACvyisw= X-Received: by 2002:a2e:864f:0:b0:2a7:653d:1676 with SMTP id i15-20020a2e864f000000b002a7653d1676mr140706ljj.2.1682027276483; Thu, 20 Apr 2023 14:47:56 -0700 (PDT) MIME-Version: 1.0 References: <5e16ada3-6968-78e9-7347-44b6181c29b1@eastlink.ca> <97340853-a204-e2f8-e85f-e1fbea4b2c31@eastlink.ca> <3f180a94-37a0-670e-f5e6-9122411ad416@eastlink.ca> <35874ea1-74f0-d733-7fc9-5b0ab51cc8f3@eastlink.ca> In-Reply-To: <35874ea1-74f0-d733-7fc9-5b0ab51cc8f3@eastlink.ca> From: Roman Perepelitsa Date: Thu, 20 Apr 2023 23:47:44 +0200 Message-ID: Subject: Re: permission denied To: Ray Andrews Cc: zsh-users@zsh.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 29056 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 Thu, Apr 20, 2023 at 11:36=E2=80=AFPM Ray Andrews wrote: > > 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=3D( ${(s:; :)${(z)1}} ) > > ... ignoring the semicolon stuff for now, since it's more a matter of > principal than practice for me: > > chain0=3D( ${=3D1} ) > > ... 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. You'll see the difference if you set `1=3D'echo "hello world"'. Roman.