Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: adjust quoting in (...) action for bpf filters

dana wrote on Sat, Apr 10, 2021 at 16:18:32 -0500:
> On 6 Apr 2021, at 10:18, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> > Sounds like we should update NEWS/README, then.  dana, WDYT?
> I added a note to README. I don't think NEWS needs updating since my change
> only made the function behave as documented

Thanks, fair enough.

Suggesting a further tweak, as follows.  Feel free to commit it directly.

Since the text is added to the 5.6.2→5.7.1 section of README, anyone who
has already upgraded to ≥5.7.1 might miss this.  I'm not sure what to do
about this.



diff --git a/README b/README
index 5e3b8cc59..4ff7137ea 100644
--- a/README
+++ b/README
@@ -150,7 +150,9 @@ and in the double-parentheses and 'let' arithmetic commands.
 3) _alternative now correctly handles the same (...) action syntax as
 _arguments; this may necessitate quoting/escaping in calls to _alternative
-and _regex_arguments that wasn't previously required.
+and _regex_arguments that wasn't previously required.  See
+https://zsh.org/workers/48414 (commit zsh-5.8-348-g2c000ee7b) for details
+and an example.
 Incompatibilities between 5.5.1 and 5.6.2

Messages sorted by: Reverse Date, Date, Thread, Author