On Tue, 13 Jul 2021 at 00:29, <c...@apache.org> wrote: > > This is an automated email from the ASF dual-hosted git repository. > > clr pushed a commit to branch master > in repository https://gitbox.apache.org/repos/asf/whimsy.git > > > The following commit(s) were added to refs/heads/master by this push: > new aa3163a LDAP-namecheck print header each 30 rows > aa3163a is described below > > commit aa3163a5e8607a7bb5b82e76ff7d8d689febe72d > Author: Craig L Russell <apache....@gmail.com> > AuthorDate: Mon Jul 12 16:28:26 2021 -0700 > > LDAP-namecheck print header each 30 rows > --- > www/members/ldap-namecheck.cgi | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/www/members/ldap-namecheck.cgi b/www/members/ldap-namecheck.cgi > index 34fc818..d6247ad 100755 > --- a/www/members/ldap-namecheck.cgi > +++ b/www/members/ldap-namecheck.cgi > @@ -97,7 +97,7 @@ _html do > next > end > > - if mismatches % 30 == 0 # repeat header every 30 lines > + if ++mismatches % 30 == 0 # repeat header every 30 lines
Ruby does not have a ++ function. [Try it in irb] You need to use 'n += 1' > _tr do > _td 'uid' > _td "iclas.txt public name" > @@ -108,6 +108,7 @@ _html do > _td 'Modify to?' > _td 'Unused names' > end > + end > > _tr do > _td do