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

Re: [PATCH] docs: clarify glob-qualifier syntax



2025-05-27 07:17:33 -0500, dana:
[...]
> 4. in trying to explain that quoting the e/P qualifier arg doesn't
>    protect the end delimiter, i was unsure if i should mention that this
>    isn't a concern if the delimiter is a meta-character -- i think a
>    trick noticed/invented by bart, but i can't find the thread. is it ok
>    to make that official?
[...]

See https://www.zsh.org/mla/workers/2019/msg00720.html by Bart in
response to https://www.zsh.org/mla/workers/2019/msg00719.html
which confirms one can rely on that.

That was more about glob operators than "meta-characters" btw.

Since that thread, I've settled for [...] for most of my
delimiters, whether in glob qualifiers or parameter expansion
flags...

-- 
Stephane




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