Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Support the mksh's ${|func;} substitution
- X-seq: zsh-workers 44738
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- Subject: Re: [PATCH] Support the mksh's ${|func;} substitution
- Date: Sat, 7 Sep 2019 12:16:16 +0000
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:content-transfer-encoding :in-reply-to; s=fm1; bh=UXmprEEQ2QEzmueHn4SGI7CnNjOOJjC+5tCYls3V QTw=; b=YZjD3eN6a/BjRzafp1++ykZYkR+rSsDyhZZDux6d4zXRirniVBjlZf0j 0dfBQvmuwD2vBemhrXNmDDT61tsoTonFGWDztADzvkX+d3lvtP3b+VRZrxoh9Ho+ dp4w6UsMjDsqo3FXBxn8ORlT7bYdtL+wf57VpKHHSI1as9FSkFG18hVSQQYIAEe1 bx+YFFm7uB0FLKmmEWygtgEFUN1sj6UP9zI1i7u+pm55wmbmtic5dj/xVSLXBqBU +u5eX2ai7v89U+3TIa0N2t4ElyXswEQLIjSEB4UmNBSLfXsqrebneqZetDbWWVPf aPA4jTWj8Icij5/z4iVIBPvW5MzF7g==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=UXmprEEQ2QEzmueHn4SGI7CnNjOOJjC+5tCYls3VQ Tw=; b=KBzrCULvdqNM7Ae0FZFDAEu0x8VO5uKNRyJW5OMmg5hd68hd7Rjrnsegv wzYPCg/sSOQkiKTrQgZAeYDEgpckyF7Ow6tOg+/iQe9+c86WQhtERlcQKT068RYI EH9D5J6NkPE8+CCsDxNVu4jc/uEZ2J1s61qRf9Gp6+ZqE6q5nW+xqqQkZoPSu5MI G/V7cw/iQxo2+jXNmf18VImkWdpTggTwO72r3WkwieShRqsLLVO6dMhS2cVYTRBh i3acc8OIXq/4tprlCkrznYYIK0Co3Y5+oTWALMzanHOysWgtDqaFzUE02512aZOT faIeUogvWRbKZ/rUxNkuRf3th8ULQ==
- In-reply-to: <CAKc7PVCfy8A_wqBGH64VL2Nz+G+JSO1nO8kzxcRBEZ5-i9R01g@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVBTw2j=awaf0wAkyyO08k=vossU28fvZ=s+fhqMkcKuJQ@mail.gmail.com> <CAKc7PVCfy8A_wqBGH64VL2Nz+G+JSO1nO8kzxcRBEZ5-i9R01g@mail.gmail.com>
Sebastian Gniazdowski wrote on Sat, Sep 07, 2019 at 01:16:00 +0200:
> I see no response. Is it because the substitution isn't zsh-like, ie. flag
> based? I can prepare such patch, ie. assign a flag and integrate it nicely
> into the zsh substitution stack.
I have no opinion as to whether the feature in question would be a good
addition.
Assuming arguendo that it is:
You forgot to update the documentation and test suite and to link us to the
mksh documentation (and/or test suite — I'm assuming there will be no copyright
issues with borrowing their test cases).
You may wish to wait until someone weighs in on whether the substitution in
question would be an acceptable addition before addressing the points from the
previous paragraph. I haven't reviewed the patch beyond those points, and I'm
NOT committing to reviewing further iterations.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author