Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Substitute the last match of a pattern during parameters expansion.
- X-seq: zsh-users 28092
- From: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- To: Michele Venturi <dardo82@xxxxxxxxx>
- Cc: Lawrence Velázquez <larryv@xxxxxxx>, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, zsh-users@xxxxxxx
- Subject: Re: Substitute the last match of a pattern during parameters expansion.
- Date: Fri, 16 Sep 2022 09:57:03 +0200
- Archived-at: <https://zsh.org/users/28092>
- In-reply-to: <CA+Ds4Nv6v7MUL1=9zGKOda7SyWkXAGThG8zzP0MnOhnRMMePUg@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <CA+Ds4NsnE6HvV_Kf59KO5_=8Jb4STxwAzL8x+EUq1aiQdB91ZA@mail.gmail.com> <a0ea450b-eb84-47d1-a4ae-bd0bfbef51ea@www.fastmail.com> <CA+Ds4NuuAMiKoi9D=hgyY-RbySais1eEgZHbivx=L68KUWv1bg@mail.gmail.com> <4844b850-2ca6-4c90-95ae-aae00dc339cf@www.fastmail.com> <CAH+w=7YYqVH26weHQiRXCnoV8x63s_F56t=UnseN1q3K2=V95Q@mail.gmail.com> <CA+Ds4NsGWJB1HaMMpUnmygTrS6J2NY_nuh=N_YEkEjNg4T0BQw@mail.gmail.com> <CAH+w=7a7vHEdpXcCc3ZjHGjWnPHUjzfRB0cCett7vwaB4ib50Q@mail.gmail.com> <CA+Ds4NuJOq0F-=ozzVxH-PV-DkUP=DUSiZ_+Cj1aK7xuvqnggQ@mail.gmail.com> <dbe3ef1a-90c2-4b7b-a53e-69b466933dcb@www.fastmail.com> <CA+Ds4Nu=w0hb_Rn2Hsf66ATRS5PrpLqrGzFBQAU4LkHWCa0v8A@mail.gmail.com> <CAN=4vMru+4Pwgp63X6VbfhMZJ_gMdNfTDwKfZ8FmibpMtTe8wg@mail.gmail.com> <CA+Ds4Nu1mCdfhAgYcesctUHW=G91-TCaHajpYDtySHGTdFOXvQ@mail.gmail.com> <CAN=4vMr+i4Bs_oQJHwMJEvh-8WUgmLA-x1uOyUkV4hdDDW9Npg@mail.gmail.com> <CA+Ds4Nv6v7MUL1=9zGKOda7SyWkXAGThG8zzP0MnOhnRMMePUg@mail.gmail.com>
On Fri, Sep 16, 2022 at 9:52 AM Michele Venturi <dardo82@xxxxxxxxx> wrote:
>
> On Fri, Sep 16, 2022, 08:37 Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx> wrote:
>
>> On Fri, Sep 16, 2022 at 1:29 AM Michele Venturi <dardo82@xxxxxxxxx> wrote:
>> >
>> > So what is your suggested solution?
>>
>> Depends on the problem.
>
>
> The problem is extending the (I) flag of parameters
> expansion in ZSH to the negative numbers as I said.
That's the problem (or rather a suggested solution) on the subject
matter. I was commenting on the problem on the meta level. In any
case, I think we've exhausted this topic.
Roman.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author