Yes, there are still bugs in mandoc(1), and... we hope they will get fixed.
Keep looking, keep reporting them -- to schwarze and kristaps in particular. > > This should indeed be reported, thanks. > > ok, here's something that doesn't look right (hmm, I should > probably file a bug?) > > man sh (snapshot i386 from today): > > The following forms of parameter substitution can also be used: > > Pf ${#name} > The number of positional parameters if name is `*', `@', or not > specified; otherwise the length of the string value of parameter > name. > > Pf ${#name[*]} > Pf ${#na...@]} > The number of elements in the array name. > > > on an older system (4.6): > > The following forms of parameter substitution can also be used: > > ${#name} > The number of positional parameters if name is `*', `@', or not > specified; otherwise the length of the string value of parameter > name. > > ${#name[*]} > ${#na...@]} > The number of elements in the array name.