refine regen_manpages.sh after a test run
regenerate manpages

More fixes to the manpages and the script.