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

Re: Cross-reference format in man pages



On Tue, Aug 25, 2026 at 9:28 AM Jun T <takimoto-j@xxxxxxxxxxxxxxxxx> wrote:
>
>
> > 2026/08/08 0:44、Mikael Magnusson <mikachu@xxxxxxxxx>のメール:
> >
> > Happened to notice this,
> (snip)
> > -the tt({) and tt(}).  See noderef(Functions).
> > +the tt({) and tt(}).  See sectref(Functions)(blow).
> (snip)
> > Which results in this manpage output:
> (snip)
> >              the list between the { and }.  See FUNCTIONS in blow(1).
>
> Sorry for slow response.

No problem, but the below change would just result in
  See FUNCTIONS in below(1).
which is still wrong, no?

> diff --git a/Doc/Zsh/grammar.yo b/Doc/Zsh/grammar.yo
> index 8dbfd1164..46172aa19 100644
> --- a/Doc/Zsh/grammar.yo
> +++ b/Doc/Zsh/grammar.yo
> @@ -371,7 +371,7 @@ Define a function which is referenced by any one of var(word).
>  Normally, only one var(word) is provided; multiple var(word)s
>  are usually only useful for setting traps.
>  The body of the function is the var(list) between
> -the tt({) and tt(}).  See sectref(Functions)(blow).
> +the tt({) and tt(}).  See sectref(Functions)(below).
>
>  The options of tt(function) have the following meanings:


-- 
Mikael Magnusson




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