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, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26697 invoked from network); 15 Sep 2022 12:03:44 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 15 Sep 2022 12:03:44 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1663243424; b=YrmymNdH42P9fOL4Dtvu1tBY6n9/KJ4vkCo1aOnPGvfAth++WYt8Ivybzz+i4K+nrj5awe8hLl PrA70Eq7WBt3CCslNCbh41mAmPuwmViRGX9DbmOow3XeH0hPQ8FZAcHdyh4tA/0c9p9u3D+lna Ylc0cXRNDuUNKZETrnkIMC3m9mfhtmCtkUbmE5v9736SW7kyX3jcF/SnhtjlKJHAdWXM03M0SW sGTMgyyqQtln3iNTFfXR4XQrApM12hBhoC+w/DDJKA9XK1Wr3ZRV9HB5HhYbEPvjh92pgKkBkN EFI1uO3wEIdiH8xBxLfegAXFX0td8isicDyD4DBEyPuS/g==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ed1-f54.google.com) smtp.remote-ip=209.85.208.54; dkim=pass header.d=gmail.com header.s=20210112 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=1663243424; bh=i/nJlyF46vkCcQdIKtYrxwconus8K7Lfhh3ATLUZH8c=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=mzmrKrqDwtRQykqXyT/8IdfzHijpSjstUReCOvjCTnKfVSz+3GlPyiflDNFg9CWI01zC4igVCF hVw7aPLY7ICG74fHb3bHGd5F9H99gmjFt/yORADBkkweDKRAAXpR6ibNbyVBumb1kNjGTZSqBH HjFNaavZgQ4A8Iad6E65bBWfZs60ZKww/27rUbBrF+c0E3RxCfcFAqf/pGcLTq7VXzkgBJ8jR2 j4yS8kMtTHDxYwPN+yjBJ5cn4aT9uq1vjX74qK1iAgQgtlhs5eO8wWssXvy2N6hGGkWqIdP17v APfYMDeTkKtCz4TESNC/KE07U0n6nsDW700qHwyL9h2HyA==; 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-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=i/nJlyF46vkCcQdIKtYrxwconus8K7Lfhh3ATLUZH8c=; b=AcG22v6cJlBwgLfnrkp3uhGCGI ZZSQOS7WWg12pszNiKzXjw7HICaGWxJbJkxB89MEUSKVMmLnSCCxnietfRG+xW6MfSsp/F4OZOfQd pVCduThxq/up4tZOg4S77zqi/h1wdpBGtqZEXQoKRQbDlnHCsOETm5+krqQT3Q5bA7C6IN9H1mzAX n0o8ySGttUHDgvHc1Z/MeXqT8RRoYVUN52QcUf3ch5fVQ6DpQg3CK69nMfD5Uew1RRuo5T+TxWbBr RNpgSDTaTwkX4aryW4wALLbOQo52mgIK89nzmzPwFVTjj8yrWjvYc+yK0D5WW1hh6vh2lT8GrTwKM Q/yZ734g==; Received: from authenticated user by zero.zsh.org with local id 1oYnap-000EQV-8h; Thu, 15 Sep 2022 12:03:43 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ed1-f54.google.com) smtp.remote-ip=209.85.208.54; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-ed1-f54.google.com ([209.85.208.54]:36862) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1oYnZN-000DiU-AT; Thu, 15 Sep 2022 12:02:13 +0000 Received: by mail-ed1-f54.google.com with SMTP id e18so26620892edj.3; Thu, 15 Sep 2022 05:02:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=i/nJlyF46vkCcQdIKtYrxwconus8K7Lfhh3ATLUZH8c=; b=NqvCWMpvrqyh96dH3LM+DGpB5mYEwxxYnoRjp5aN62e0dPS99Uvkz08aiZ68v7AQp/ bxaMwd+Nsh1bFgYaeaAsR1+WpGx4J+J4DHY84t8rO4qLj9M9IYcYYjHpOBWIyG6IVTVQ ISf1p5zalfueO4z2vFGcKOA8aC5vu/DuN3ujEvae8MKjcf84uv7G/gXqfC6CLtvomjOw GXC7AxJMpuLN9CHVOkfWASosf36qqjMsRJaaqewV5EEl80L+uX2wedQLC5x6I0jjOP02 IdUzObizVKEfF/kzSyrQzs/L7U1vgOqXrapVySKMRIZqNSU6rg27yBwVvtqlsksDTuxq 0K1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=i/nJlyF46vkCcQdIKtYrxwconus8K7Lfhh3ATLUZH8c=; b=Nfr2VTCwClP0FbaoKb7i715gVxUM/kW3aCNwtjuWpZo9nWX2SyZxs8AttAAsXOLFke mlvHArVIaxSzXExGrdNRS1VsZVS4sn6M561xMHR5KBMhAw0WG4mOiDKvIcDNUTBbR8Zr XAV0oARYgo9bJxf1LjajhPVcEglUflnycvE24PNdVoTczxAYDI6iiw9sthyRt7AXfFBs 62WNda9vHu6zn0D1EheCwhmdaH458Bu2PmEiqx0c9ezWEFbt/EeMTbbZAi0bFDUiW2X7 3ZBFF/Taw83KmzPhiVk19XNJpORXfXX0qgT+IsBVPc0AfUya8GingnBb2OSjSpOLB5Ut I/Pw== X-Gm-Message-State: ACgBeo2EIoEme05QXmaUif2anUKRO6eJ3q5ekMnpXpgVEhB6fKN3oC8/ /vH+plKtIx4RO1MBYLaV6WDDQF2EBhqCa2fkSKZjB/W7ZBY= X-Google-Smtp-Source: AA6agR5t9giNODBd9lnk8vDPuFzXZ9TQ7oR/jYn4pIOeONV7OtAPfjzYdWnkbw0j3F5IpcT/ykAFQZiOLT7Slo3N1Ik= X-Received: by 2002:a05:6402:34c8:b0:451:c7db:4984 with SMTP id w8-20020a05640234c800b00451c7db4984mr16811107edc.171.1663243332532; Thu, 15 Sep 2022 05:02:12 -0700 (PDT) MIME-Version: 1.0 References: <4844b850-2ca6-4c90-95ae-aae00dc339cf@www.fastmail.com> In-Reply-To: From: Roman Perepelitsa Date: Thu, 15 Sep 2022 14:01:57 +0200 Message-ID: Subject: Re: Substitute the last match of a pattern during parameters expansion. To: Michele Venturi Cc: =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= , Bart Schaefer , zsh-users@zsh.org Content-Type: text/plain; charset="UTF-8" X-Seq: 28083 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, Sep 15, 2022 at 3:46 AM Michele Venturi wrote: > > I'm not here to ask for help, but to help you improve YOUR project and how to do it... If you put this in your original email, it would've saved everyone time. Instead, you put the following: > Hello, I have a problem, can you help me? In projects that I own and maintain (zsh is not one of them) I expend a lot of effort when people ask for help. I consider this time well spent. These interactions allow me to see what users of my code are trying to achieve, which in turn guides future development. Advice and suggestions, on the other hand, have negative average value to me. I usually ask users to not suggest solutions, for it often makes it difficult for them to describe the actual problem at hand. Once I know what the problem is, I'm in a much better position to suggest solutions. Coming back to the two quotes at the top, I would be annoyed if somebody first asked me for help and then made a turnaround and attempted to position themselves as a helper. If that person instead made it clear from the start that they are trying to help, I would point out that I'm not interested in help or advice but will try to do my best if *they* need help. Less confusion and less time wasted on both sides. Take it with a grain of salt. I can easily imagine that other maintainers see feedback differently from myself. Roman.