* Inconsistent usage of NOMATCH/NO_MATCH in documentation
@ 2022-10-25 10:12 Axel Beckert
2022-10-25 10:35 ` Peter Stephenson
0 siblings, 1 reply; 3+ messages in thread
From: Axel Beckert @ 2022-10-25 10:12 UTC (permalink / raw)
To: zsh-workers
Hi,
while looking up something in zshall(1) I noticed that the option
NOMATCH is inconsistently written in two ways:
~ → man zshall | egrep -ni 'no_?match'
196: INTERACTIVE_COMMENTS, KSH_ARRAYS, NO_MULTIOS, NO_NOMATCH, NO_NOTIFY, POSIX_BUILTINS,
832: • File generation failures where not caused by NO_MATCH or similar options
3719: and the option NOMATCH is set, an error results.
3823: which case the word is deleted; or unless the NOMATCH option is unset, in which case the word
6059: Overrides NOMATCH.
6166: NOMATCH (+3) <C> <Z>
6173: ment list instead of reporting an error. Overrides NOMATCH.
7177: -3 NO_NOMATCH
Please note that every occurrence but one uses NOMATCH (and its
negation) NO_NOMATCH, but (line 832) uses NO_MATCH.
Should we correct that for the ease of searching inside zshall? (Which
is actually how I noticed it because I searched for NO_MATCH first.)
Would do unless there's some opposition.
Kind regards, Axel
--
PGP: 2FF9CD59612616B5 /~\ Plain Text Ribbon Campaign, http://arc.pasp.de/
Mail: abe@deuxchevaux.org \ / Say No to HTML in E-Mail and Usenet
Mail+Jabber: abe@noone.org X
https://axel.beckert.ch/ / \ I love long mails: https://email.is-not-s.ms/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Inconsistent usage of NOMATCH/NO_MATCH in documentation
2022-10-25 10:12 Inconsistent usage of NOMATCH/NO_MATCH in documentation Axel Beckert
@ 2022-10-25 10:35 ` Peter Stephenson
2022-10-25 10:52 ` Axel Beckert
0 siblings, 1 reply; 3+ messages in thread
From: Peter Stephenson @ 2022-10-25 10:35 UTC (permalink / raw)
To: zsh-workers
> Please note that every occurrence but one uses NOMATCH (and its
> negation) NO_NOMATCH, but (line 832) uses NO_MATCH.
>
> Should we correct that for the ease of searching inside zshall? (Which
> is actually how I noticed it because I searched for NO_MATCH first.)
Yes, that's quite definitely wrong. There's no MATCH option, it's NOMATCH,
so this is just plain confusing.
pws
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Inconsistent usage of NOMATCH/NO_MATCH in documentation
2022-10-25 10:35 ` Peter Stephenson
@ 2022-10-25 10:52 ` Axel Beckert
0 siblings, 0 replies; 3+ messages in thread
From: Axel Beckert @ 2022-10-25 10:52 UTC (permalink / raw)
To: zsh-workers
Hi Peter,
On Tue, Oct 25, 2022 at 11:35:17AM +0100, Peter Stephenson wrote:
> > Please note that every occurrence but one uses NOMATCH (and its
> > negation) NO_NOMATCH, but (line 832) uses NO_MATCH.
> >
> > Should we correct that for the ease of searching inside zshall? (Which
> > is actually how I noticed it because I searched for NO_MATCH first.)
>
> Yes, that's quite definitely wrong. There's no MATCH option, it's NOMATCH,
> so this is just plain confusing.
thanks for the swift reply and acknowledgement.
I just pushed a fix. :-)
Kind regards, Axel
--
PGP: 2FF9CD59612616B5 /~\ Plain Text Ribbon Campaign, http://arc.pasp.de/
Mail: abe@deuxchevaux.org \ / Say No to HTML in E-Mail and Usenet
Mail+Jabber: abe@noone.org X
https://axel.beckert.ch/ / \ I love long mails: https://email.is-not-s.ms/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-25 10:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-25 10:12 Inconsistent usage of NOMATCH/NO_MATCH in documentation Axel Beckert
2022-10-25 10:35 ` Peter Stephenson
2022-10-25 10:52 ` Axel Beckert
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).