aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Spörlein <uqs@FreeBSD.org>2010-04-14 19:08:06 +0000
committerUlrich Spörlein <uqs@FreeBSD.org>2010-04-14 19:08:06 +0000
commitaa12cea2ccc6e686d6d31cf67d6bc69cbc1ba744 (patch)
tree2671e136a6b1e08e763e43a9271f94a2d3833f89
parentc5ff2cdb99c0a70595a3d13be9c5d88741b5d3af (diff)
downloadsrc-aa12cea2ccc6e686d6d31cf67d6bc69cbc1ba744.tar.gz
src-aa12cea2ccc6e686d6d31cf67d6bc69cbc1ba744.zip
mdoc: order prologue macros consistently by Dd/Dt/Os
Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc. Reviewed by: ru Approved by: philip, ed (mentors)
Notes
Notes: svn path=/head/; revision=206622
-rw-r--r--bin/pwait/pwait.12
-rw-r--r--contrib/com_err/compile_et.12
-rw-r--r--gnu/usr.bin/gdb/kgdb/kgdb.12
-rw-r--r--lib/libc/gen/check_utility_compat.32
-rw-r--r--lib/libc/gen/dladdr.32
-rw-r--r--lib/libc/gen/dlinfo.32
-rw-r--r--lib/libc/gen/dllockinit.32
-rw-r--r--lib/libc/gen/dlopen.32
-rw-r--r--lib/libc/gen/fmtcheck.32
-rw-r--r--lib/libc/gen/ftok.32
-rw-r--r--lib/libc/gen/getutxent.32
-rw-r--r--lib/libc/gen/setproctitle.32
-rw-r--r--lib/libc/gen/stringlist.32
-rw-r--r--lib/libc/posix1e/mac_prepare.32
-rw-r--r--lib/libc/stdlib/hcreate.32
-rw-r--r--lib/libc/stdlib/ptsname.32
-rw-r--r--lib/libcam/cam.32
-rw-r--r--lib/libcam/cam_cdbparse.32
-rw-r--r--lib/libcompat/4.1/cftime.32
-rw-r--r--lib/libcompat/4.4/cuserid.32
-rw-r--r--lib/libedit/editline.32
-rw-r--r--lib/libedit/editrc.52
-rw-r--r--lib/libelf/elf.32
-rw-r--r--lib/libelf/elf_begin.32
-rw-r--r--lib/libelf/elf_cntl.32
-rw-r--r--lib/libelf/elf_end.32
-rw-r--r--lib/libelf/elf_errmsg.32
-rw-r--r--lib/libelf/elf_fill.32
-rw-r--r--lib/libelf/elf_flagdata.32
-rw-r--r--lib/libelf/elf_getarhdr.32
-rw-r--r--lib/libelf/elf_getarsym.32
-rw-r--r--lib/libelf/elf_getbase.32
-rw-r--r--lib/libelf/elf_getdata.32
-rw-r--r--lib/libelf/elf_getident.32
-rw-r--r--lib/libelf/elf_getphnum.32
-rw-r--r--lib/libelf/elf_getscn.32
-rw-r--r--lib/libelf/elf_getshnum.32
-rw-r--r--lib/libelf/elf_getshstrndx.32
-rw-r--r--lib/libelf/elf_hash.32
-rw-r--r--lib/libelf/elf_kind.32
-rw-r--r--lib/libelf/elf_memory.32
-rw-r--r--lib/libelf/elf_next.32
-rw-r--r--lib/libelf/elf_rand.32
-rw-r--r--lib/libelf/elf_rawfile.32
-rw-r--r--lib/libelf/elf_strptr.32
-rw-r--r--lib/libelf/elf_update.32
-rw-r--r--lib/libelf/elf_version.32
-rw-r--r--lib/libelf/gelf.32
-rw-r--r--lib/libelf/gelf_checksum.32
-rw-r--r--lib/libelf/gelf_fsize.32
-rw-r--r--lib/libelf/gelf_getcap.32
-rw-r--r--lib/libelf/gelf_getclass.32
-rw-r--r--lib/libelf/gelf_getdyn.32
-rw-r--r--lib/libelf/gelf_getehdr.32
-rw-r--r--lib/libelf/gelf_getmove.32
-rw-r--r--lib/libelf/gelf_getphdr.32
-rw-r--r--lib/libelf/gelf_getrel.32
-rw-r--r--lib/libelf/gelf_getrela.32
-rw-r--r--lib/libelf/gelf_getshdr.32
-rw-r--r--lib/libelf/gelf_getsym.32
-rw-r--r--lib/libelf/gelf_getsyminfo.32
-rw-r--r--lib/libelf/gelf_getsymshndx.32
-rw-r--r--lib/libelf/gelf_newehdr.32
-rw-r--r--lib/libelf/gelf_newphdr.32
-rw-r--r--lib/libelf/gelf_update_ehdr.32
-rw-r--r--lib/libelf/gelf_xlatetof.32
-rw-r--r--lib/libgssapi/gss_accept_sec_context.32
-rw-r--r--lib/libgssapi/gss_acquire_cred.32
-rw-r--r--lib/libgssapi/gss_add_cred.32
-rw-r--r--lib/libgssapi/gss_add_oid_set_member.32
-rw-r--r--lib/libgssapi/gss_canonicalize_name.32
-rw-r--r--lib/libgssapi/gss_compare_name.32
-rw-r--r--lib/libgssapi/gss_context_time.32
-rw-r--r--lib/libgssapi/gss_create_empty_oid_set.32
-rw-r--r--lib/libgssapi/gss_delete_sec_context.32
-rw-r--r--lib/libgssapi/gss_display_name.32
-rw-r--r--lib/libgssapi/gss_display_status.32
-rw-r--r--lib/libgssapi/gss_duplicate_name.32
-rw-r--r--lib/libgssapi/gss_export_name.32
-rw-r--r--lib/libgssapi/gss_export_sec_context.32
-rw-r--r--lib/libgssapi/gss_get_mic.32
-rw-r--r--lib/libgssapi/gss_import_name.32
-rw-r--r--lib/libgssapi/gss_import_sec_context.32
-rw-r--r--lib/libgssapi/gss_indicate_mechs.32
-rw-r--r--lib/libgssapi/gss_init_sec_context.32
-rw-r--r--lib/libgssapi/gss_inquire_context.32
-rw-r--r--lib/libgssapi/gss_inquire_cred.32
-rw-r--r--lib/libgssapi/gss_inquire_cred_by_mech.32
-rw-r--r--lib/libgssapi/gss_inquire_mechs_for_name.32
-rw-r--r--lib/libgssapi/gss_inquire_names_for_mech.32
-rw-r--r--lib/libgssapi/gss_process_context_token.32
-rw-r--r--lib/libgssapi/gss_release_buffer.32
-rw-r--r--lib/libgssapi/gss_release_cred.32
-rw-r--r--lib/libgssapi/gss_release_name.32
-rw-r--r--lib/libgssapi/gss_release_oid_set.32
-rw-r--r--lib/libgssapi/gss_test_oid_set_member.32
-rw-r--r--lib/libgssapi/gss_unwrap.32
-rw-r--r--lib/libgssapi/gss_verify_mic.32
-rw-r--r--lib/libgssapi/gss_wrap.32
-rw-r--r--lib/libgssapi/gss_wrap_size_limit.32
-rw-r--r--lib/libmemstat/libmemstat.32
-rw-r--r--lib/libpmc/pmc.32
-rw-r--r--lib/libpmc/pmc.atom.32
-rw-r--r--lib/libpmc/pmc.core.32
-rw-r--r--lib/libpmc/pmc.core2.32
-rw-r--r--lib/libpmc/pmc.corei7.32
-rw-r--r--lib/libpmc/pmc.corei7uc.32
-rw-r--r--lib/libpmc/pmc.iaf.32
-rw-r--r--lib/libpmc/pmc.k7.32
-rw-r--r--lib/libpmc/pmc.k8.32
-rw-r--r--lib/libpmc/pmc.p4.32
-rw-r--r--lib/libpmc/pmc.p5.32
-rw-r--r--lib/libpmc/pmc.p6.32
-rw-r--r--lib/libpmc/pmc.tsc.32
-rw-r--r--lib/libpmc/pmc.ucf.32
-rw-r--r--lib/libpmc/pmc.westmere.32
-rw-r--r--lib/libpmc/pmc.westmereuc.32
-rw-r--r--lib/libpmc/pmc_allocate.32
-rw-r--r--lib/libpmc/pmc_attach.32
-rw-r--r--lib/libpmc/pmc_capabilities.32
-rw-r--r--lib/libpmc/pmc_configure_logfile.32
-rw-r--r--lib/libpmc/pmc_disable.32
-rw-r--r--lib/libpmc/pmc_event_names_of_class.32
-rw-r--r--lib/libpmc/pmc_get_driver_stats.32
-rw-r--r--lib/libpmc/pmc_get_msr.32
-rw-r--r--lib/libpmc/pmc_init.32
-rw-r--r--lib/libpmc/pmc_name_of_capability.32
-rw-r--r--lib/libpmc/pmc_read.32
-rw-r--r--lib/libpmc/pmc_set.32
-rw-r--r--lib/libpmc/pmc_start.32
-rw-r--r--lib/libpmc/pmclog.32
-rw-r--r--lib/libthr/libthr.32
-rw-r--r--lib/libugidfw/bsde_get_rule.32
-rw-r--r--lib/libugidfw/bsde_get_rule_count.32
-rw-r--r--lib/libugidfw/bsde_parse_rule.32
-rw-r--r--lib/libugidfw/bsde_rule_to_string.32
-rw-r--r--lib/libugidfw/libugidfw.32
-rw-r--r--lib/libulog/ulog_login.32
-rw-r--r--lib/libulog/utempter_add_record.32
-rw-r--r--lib/libutil/_secure_path.32
-rw-r--r--lib/libutil/auth.32
-rw-r--r--lib/libutil/hexdump.32
-rw-r--r--lib/libutil/kinfo_getfile.32
-rw-r--r--lib/libutil/kinfo_getvmmap.32
-rw-r--r--lib/libutil/kld.32
-rw-r--r--lib/libutil/login_auth.32
-rw-r--r--lib/libutil/login_cap.32
-rw-r--r--lib/libutil/login_class.32
-rw-r--r--lib/libutil/login_ok.32
-rw-r--r--lib/libutil/login_times.32
-rw-r--r--lib/libutil/login_tty.32
-rw-r--r--lib/libutil/property.32
-rw-r--r--lib/libutil/pty.32
-rw-r--r--lib/libutil/realhostname.32
-rw-r--r--lib/libutil/realhostname_sa.32
-rw-r--r--lib/libutil/trimdomain.32
-rw-r--r--lib/libutil/uucplock.32
-rw-r--r--sbin/iscontrol/iscsi.conf.52
-rw-r--r--sbin/spppcontrol/spppcontrol.82
-rw-r--r--share/man/man3/sysexits.32
-rw-r--r--share/man/man3/tgmath.32
-rw-r--r--share/man/man4/audit.42
-rw-r--r--share/man/man4/auditpipe.42
-rw-r--r--share/man/man4/coda.42
-rw-r--r--share/man/man4/gbde.42
-rw-r--r--share/man/man4/geom.42
-rw-r--r--share/man/man4/geom_fox.42
-rw-r--r--share/man/man4/geom_linux_lvm.42
-rw-r--r--share/man/man4/geom_uzip.42
-rw-r--r--share/man/man4/ipw.42
-rw-r--r--share/man/man4/iscsi_initiator.42
-rw-r--r--share/man/man4/iwi.42
-rw-r--r--share/man/man4/iwn.42
-rw-r--r--share/man/man4/kbdmux.42
-rw-r--r--share/man/man4/lp.42
-rw-r--r--share/man/man4/mac.42
-rw-r--r--share/man/man4/mac_biba.42
-rw-r--r--share/man/man4/mac_bsdextended.42
-rw-r--r--share/man/man4/mac_ifoff.42
-rw-r--r--share/man/man4/mac_lomac.42
-rw-r--r--share/man/man4/mac_mls.42
-rw-r--r--share/man/man4/mac_none.42
-rw-r--r--share/man/man4/mac_partition.42
-rw-r--r--share/man/man4/mac_seeotheruids.42
-rw-r--r--share/man/man4/mac_stub.42
-rw-r--r--share/man/man4/mac_test.42
-rw-r--r--share/man/man4/ng_netflow.42
-rw-r--r--share/man/man4/orm.42
-rw-r--r--share/man/man4/ral.42
-rw-r--r--share/man/man4/rp.42
-rw-r--r--share/man/man4/rum.42
-rw-r--r--share/man/man4/run.42
-rw-r--r--share/man/man4/sched_4bsd.42
-rw-r--r--share/man/man4/sched_ule.42
-rw-r--r--share/man/man4/si.42
-rw-r--r--share/man/man4/tap.42
-rw-r--r--share/man/man4/uhso.42
-rw-r--r--share/man/man4/upgt.42
-rw-r--r--share/man/man4/ural.42
-rw-r--r--share/man/man4/vkbd.42
-rw-r--r--share/man/man4/wpi.42
-rw-r--r--share/man/man5/ar.52
-rw-r--r--share/man/man7/clocks.72
-rw-r--r--share/man/man7/maclabel.72
-rw-r--r--share/man/man8/picobsd.82
-rw-r--r--share/man/man8/rescue.82
-rw-r--r--share/man/man9/CTASSERT.92
-rw-r--r--share/man/man9/DELAY.92
-rw-r--r--share/man/man9/KASSERT.92
-rw-r--r--share/man/man9/VFS.92
-rw-r--r--share/man/man9/VFS_CHECKEXP.92
-rw-r--r--share/man/man9/VFS_FHTOVP.92
-rw-r--r--share/man/man9/VFS_MOUNT.92
-rw-r--r--share/man/man9/VFS_QUOTACTL.92
-rw-r--r--share/man/man9/VFS_ROOT.92
-rw-r--r--share/man/man9/VFS_STATFS.92
-rw-r--r--share/man/man9/VFS_SYNC.92
-rw-r--r--share/man/man9/VFS_UNMOUNT.92
-rw-r--r--share/man/man9/VFS_VGET.92
-rw-r--r--share/man/man9/VOP_ACCESS.92
-rw-r--r--share/man/man9/VOP_ACLCHECK.92
-rw-r--r--share/man/man9/VOP_ADVLOCK.92
-rw-r--r--share/man/man9/VOP_ATTRIB.92
-rw-r--r--share/man/man9/VOP_BWRITE.92
-rw-r--r--share/man/man9/VOP_CREATE.92
-rw-r--r--share/man/man9/VOP_FSYNC.92
-rw-r--r--share/man/man9/VOP_GETACL.92
-rw-r--r--share/man/man9/VOP_GETEXTATTR.92
-rw-r--r--share/man/man9/VOP_GETPAGES.92
-rw-r--r--share/man/man9/VOP_GETVOBJECT.92
-rw-r--r--share/man/man9/VOP_INACTIVE.92
-rw-r--r--share/man/man9/VOP_IOCTL.92
-rw-r--r--share/man/man9/VOP_LINK.92
-rw-r--r--share/man/man9/VOP_LISTEXTATTR.92
-rw-r--r--share/man/man9/VOP_LOCK.92
-rw-r--r--share/man/man9/VOP_LOOKUP.92
-rw-r--r--share/man/man9/VOP_OPENCLOSE.92
-rw-r--r--share/man/man9/VOP_PATHCONF.92
-rw-r--r--share/man/man9/VOP_PRINT.92
-rw-r--r--share/man/man9/VOP_RDWR.92
-rw-r--r--share/man/man9/VOP_READDIR.92
-rw-r--r--share/man/man9/VOP_READLINK.92
-rw-r--r--share/man/man9/VOP_REALLOCBLKS.92
-rw-r--r--share/man/man9/VOP_REMOVE.92
-rw-r--r--share/man/man9/VOP_RENAME.92
-rw-r--r--share/man/man9/VOP_REVOKE.92
-rw-r--r--share/man/man9/VOP_SETACL.92
-rw-r--r--share/man/man9/VOP_SETEXTATTR.92
-rw-r--r--share/man/man9/VOP_STRATEGY.92
-rw-r--r--share/man/man9/VOP_VPTOCNP.92
-rw-r--r--share/man/man9/VOP_VPTOFH.92
-rw-r--r--share/man/man9/accept_filter.92
-rw-r--r--share/man/man9/accf_data.92
-rw-r--r--share/man/man9/accf_dns.92
-rw-r--r--share/man/man9/accf_http.92
-rw-r--r--share/man/man9/acl.92
-rw-r--r--share/man/man9/atomic.92
-rw-r--r--share/man/man9/cr_cansee.92
-rw-r--r--share/man/man9/cr_seeothergids.92
-rw-r--r--share/man/man9/cr_seeotheruids.92
-rw-r--r--share/man/man9/devfs_set_cdevpriv.92
-rw-r--r--share/man/man9/devtoname.92
-rw-r--r--share/man/man9/extattr.92
-rw-r--r--share/man/man9/firmware.92
-rw-r--r--share/man/man9/hexdump.92
-rw-r--r--share/man/man9/ifnet.92
-rw-r--r--share/man/man9/make_dev.92
-rw-r--r--share/man/man9/namei.92
-rw-r--r--share/man/man9/p_candebug.92
-rw-r--r--share/man/man9/p_cansee.92
-rw-r--r--share/man/man9/pfind.92
-rw-r--r--share/man/man9/pgfind.92
-rw-r--r--share/man/man9/prison_check.92
-rw-r--r--share/man/man9/random.92
-rw-r--r--share/man/man9/rijndael.92
-rw-r--r--share/man/man9/rtalloc.92
-rw-r--r--share/man/man9/rtentry.92
-rw-r--r--share/man/man9/sleep.92
-rw-r--r--share/man/man9/spl.92
-rw-r--r--share/man/man9/uio.92
-rw-r--r--share/man/man9/usbdi.92
-rw-r--r--share/man/man9/vaccess.92
-rw-r--r--share/man/man9/vaccess_acl_nfs4.92
-rw-r--r--share/man/man9/vaccess_acl_posix1e.92
-rw-r--r--share/man/man9/vcount.92
-rw-r--r--share/man/man9/vget.92
-rw-r--r--share/man/man9/vm_map_entry_resize_free.92
-rw-r--r--share/man/man9/vnode.92
-rw-r--r--share/man/man9/vput.92
-rw-r--r--share/man/man9/vref.92
-rw-r--r--share/man/man9/vrefcnt.92
-rw-r--r--share/man/man9/vrele.92
-rw-r--r--usr.bin/ar/ar.12
-rw-r--r--usr.bin/c89/c89.12
-rw-r--r--usr.bin/c99/c99.12
-rw-r--r--usr.bin/column/column.12
-rw-r--r--usr.bin/comm/comm.12
-rw-r--r--usr.bin/csup/cpasswd.12
-rw-r--r--usr.bin/csup/csup.12
-rw-r--r--usr.bin/enigma/enigma.12
-rw-r--r--usr.bin/hexdump/od.12
-rw-r--r--usr.bin/killall/killall.12
-rw-r--r--usr.bin/lockf/lockf.12
-rw-r--r--usr.bin/wtmpcvt/wtmpcvt.12
-rw-r--r--usr.sbin/asf/asf.82
-rw-r--r--usr.sbin/burncd/burncd.82
-rw-r--r--usr.sbin/ctm/ctm/ctm.12
-rw-r--r--usr.sbin/ctm/ctm/ctm.52
-rw-r--r--usr.sbin/devinfo/devinfo.82
-rw-r--r--usr.sbin/fdformat/fdformat.12
-rw-r--r--usr.sbin/fdread/fdread.12
-rw-r--r--usr.sbin/fdwrite/fdwrite.12
-rw-r--r--usr.sbin/fifolog/fifolog_create/fifolog.12
-rw-r--r--usr.sbin/flowctl/flowctl.82
-rw-r--r--usr.sbin/mtest/mtest.82
-rw-r--r--usr.sbin/periodic/periodic.82
-rw-r--r--usr.sbin/pmcannotate/pmcannotate.82
-rw-r--r--usr.sbin/pmccontrol/pmccontrol.82
-rw-r--r--usr.sbin/pmcstat/pmcstat.82
-rw-r--r--usr.sbin/pppctl/pppctl.82
-rw-r--r--usr.sbin/setfmac/setfsmac.82
-rw-r--r--usr.sbin/setpmac/setpmac.82
-rw-r--r--usr.sbin/uhsoctl/uhsoctl.12
323 files changed, 323 insertions, 323 deletions
diff --git a/bin/pwait/pwait.1 b/bin/pwait/pwait.1
index 132d83c98ceb..f36090d1ebf7 100644
--- a/bin/pwait/pwait.1
+++ b/bin/pwait/pwait.1
@@ -33,8 +33,8 @@
.\" $FreeBSD$
.\"
.Dd November 1, 2009
-.Os
.Dt PWAIT 1
+.Os
.Sh NAME
.Nm pwait
.Nd wait for processes to terminate
diff --git a/contrib/com_err/compile_et.1 b/contrib/com_err/compile_et.1
index bdc608ba6ddb..32f2eeece205 100644
--- a/contrib/com_err/compile_et.1
+++ b/contrib/com_err/compile_et.1
@@ -4,8 +4,8 @@
.\" $FreeBSD$
.\"
.Dd November 22, 1988
-.Os
.Dt COMPILE_ET 1
+.Os
.Sh NAME
.Nm compile_et
.Nd error table compiler
diff --git a/gnu/usr.bin/gdb/kgdb/kgdb.1 b/gnu/usr.bin/gdb/kgdb/kgdb.1
index 5b6fea0bacea..4073d705f8b8 100644
--- a/gnu/usr.bin/gdb/kgdb/kgdb.1
+++ b/gnu/usr.bin/gdb/kgdb/kgdb.1
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd October 11, 2006
-.Os
.Dt KGDB 1
+.Os
.Sh NAME
.Nm kgdb
.Nd "kernel debugger"
diff --git a/lib/libc/gen/check_utility_compat.3 b/lib/libc/gen/check_utility_compat.3
index 7a96bac15c5c..57638e50ead0 100644
--- a/lib/libc/gen/check_utility_compat.3
+++ b/lib/libc/gen/check_utility_compat.3
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd October 27, 2002
-.Os
.Dt CHECK_UTILITY_COMPAT 3
+.Os
.Sh NAME
.Nm check_utility_compat
.Nd "determine whether a utility should be compatible"
diff --git a/lib/libc/gen/dladdr.3 b/lib/libc/gen/dladdr.3
index 414fa49a3e90..65662793b59d 100644
--- a/lib/libc/gen/dladdr.3
+++ b/lib/libc/gen/dladdr.3
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd February 5, 1998
-.Os
.Dt DLADDR 3
+.Os
.Sh NAME
.Nm dladdr
.Nd find the shared object containing a given address
diff --git a/lib/libc/gen/dlinfo.3 b/lib/libc/gen/dlinfo.3
index 9433fb6e9d12..d00f07467af5 100644
--- a/lib/libc/gen/dlinfo.3
+++ b/lib/libc/gen/dlinfo.3
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd February 14, 2003
-.Os
.Dt DLINFO 3
+.Os
.Sh NAME
.Nm dlinfo
.Nd information about dynamically loaded object
diff --git a/lib/libc/gen/dllockinit.3 b/lib/libc/gen/dllockinit.3
index 98d10749485e..be3e2cab87f7 100644
--- a/lib/libc/gen/dllockinit.3
+++ b/lib/libc/gen/dllockinit.3
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd July 5, 2000
-.Os
.Dt DLLOCKINIT 3
+.Os
.Sh NAME
.Nm dllockinit
.Nd register thread locking methods with the dynamic linker
diff --git a/lib/libc/gen/dlopen.3 b/lib/libc/gen/dlopen.3
index d4b111a10026..45b013974686 100644
--- a/lib/libc/gen/dlopen.3
+++ b/lib/libc/gen/dlopen.3
@@ -33,8 +33,8 @@
.\" $FreeBSD$
.\"
.Dd July 7, 2009
-.Os
.Dt DLOPEN 3
+.Os
.Sh NAME
.Nm dlopen ,
.Nm dlsym ,
diff --git a/lib/libc/gen/fmtcheck.3 b/lib/libc/gen/fmtcheck.3
index ecd70fb8b309..2fa587b6bd9f 100644
--- a/lib/libc/gen/fmtcheck.3
+++ b/lib/libc/gen/fmtcheck.3
@@ -26,8 +26,8 @@
.\"
.\" $FreeBSD$
.Dd October 16, 2002
-.Os
.Dt FMTCHECK 3
+.Os
.Sh NAME
.Nm fmtcheck
.Nd sanitizes user-supplied
diff --git a/lib/libc/gen/ftok.3 b/lib/libc/gen/ftok.3
index 78bfe457c3df..996b2da41c7b 100644
--- a/lib/libc/gen/ftok.3
+++ b/lib/libc/gen/ftok.3
@@ -25,8 +25,8 @@
.\"
.\" $FreeBSD$
.Dd July 9, 2009
-.Os
.Dt FTOK 3
+.Os
.Sh NAME
.Nm ftok
.Nd create IPC identifier from path name
diff --git a/lib/libc/gen/getutxent.3 b/lib/libc/gen/getutxent.3
index 5ab21eede740..ccc5d9ed5c36 100644
--- a/lib/libc/gen/getutxent.3
+++ b/lib/libc/gen/getutxent.3
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd January 8, 2010
-.Os
.Dt GETUTXENT 3
+.Os
.Sh NAME
.Nm endutxent ,
.Nm getutxent ,
diff --git a/lib/libc/gen/setproctitle.3 b/lib/libc/gen/setproctitle.3
index fe9f19acde6e..73dc8c00cc71 100644
--- a/lib/libc/gen/setproctitle.3
+++ b/lib/libc/gen/setproctitle.3
@@ -21,8 +21,8 @@
.\"
.\" The following requests are required for all man pages.
.Dd December 16, 1995
-.Os
.Dt SETPROCTITLE 3
+.Os
.Sh NAME
.Nm setproctitle
.Nd set process title
diff --git a/lib/libc/gen/stringlist.3 b/lib/libc/gen/stringlist.3
index 44d2a36ffa4a..c55b77d7802a 100644
--- a/lib/libc/gen/stringlist.3
+++ b/lib/libc/gen/stringlist.3
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd November 28, 1999
-.Os
.Dt STRINGLIST 3
+.Os
.Sh NAME
.Nm stringlist ,
.Nm sl_init ,
diff --git a/lib/libc/posix1e/mac_prepare.3 b/lib/libc/posix1e/mac_prepare.3
index 1d8522908f9a..8e694de133b3 100644
--- a/lib/libc/posix1e/mac_prepare.3
+++ b/lib/libc/posix1e/mac_prepare.3
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd August 22, 2003
-.Os
.Dt MAC_PREPARE 3
+.Os
.Sh NAME
.Nm mac_prepare , mac_prepare_type , mac_prepare_file_label ,
.Nm mac_prepare_ifnet_label , mac_prepare_process_label
diff --git a/lib/libc/stdlib/hcreate.3 b/lib/libc/stdlib/hcreate.3
index cd827207694a..2466c9f428a6 100644
--- a/lib/libc/stdlib/hcreate.3
+++ b/lib/libc/stdlib/hcreate.3
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 6, 2008
-.Os
.Dt HCREATE 3
+.Os
.Sh NAME
.Nm hcreate , hdestroy , hsearch
.Nd manage hash search table
diff --git a/lib/libc/stdlib/ptsname.3 b/lib/libc/stdlib/ptsname.3
index f674a54bd906..48da3bd81c26 100644
--- a/lib/libc/stdlib/ptsname.3
+++ b/lib/libc/stdlib/ptsname.3
@@ -32,8 +32,8 @@
.\" $FreeBSD$
.\"
.Dd August 20, 2008
-.Os
.Dt PTSNAME 3
+.Os
.Sh NAME
.Nm grantpt ,
.Nm ptsname ,
diff --git a/lib/libcam/cam.3 b/lib/libcam/cam.3
index 539709f265ab..3a857b2fd798 100644
--- a/lib/libcam/cam.3
+++ b/lib/libcam/cam.3
@@ -28,8 +28,8 @@
.\" $FreeBSD$
.\"
.Dd October 10, 1998
-.Os
.Dt CAM 3
+.Os
.Sh NAME
.Nm cam_open_device ,
.Nm cam_open_spec_device ,
diff --git a/lib/libcam/cam_cdbparse.3 b/lib/libcam/cam_cdbparse.3
index 891652dca927..35a595151f3b 100644
--- a/lib/libcam/cam_cdbparse.3
+++ b/lib/libcam/cam_cdbparse.3
@@ -62,8 +62,8 @@
.\"
.\"
.Dd October 13, 1998
-.Os
.Dt CAM_CDBPARSE 3
+.Os
.Sh NAME
.Nm csio_build ,
.Nm csio_build_visit ,
diff --git a/lib/libcompat/4.1/cftime.3 b/lib/libcompat/4.1/cftime.3
index 116f5de5dfad..dd21e781ed71 100644
--- a/lib/libcompat/4.1/cftime.3
+++ b/lib/libcompat/4.1/cftime.3
@@ -35,8 +35,8 @@
.\" $FreeBSD$
.\"
.Dd June 15, 1993
-.Os
.Dt CFTIME 3
+.Os
.Sh NAME
.Nm cftime ,
.Nm ascftime
diff --git a/lib/libcompat/4.4/cuserid.3 b/lib/libcompat/4.4/cuserid.3
index 72811d5196d6..addd61608ffd 100644
--- a/lib/libcompat/4.4/cuserid.3
+++ b/lib/libcompat/4.4/cuserid.3
@@ -32,8 +32,8 @@
.\" $FreeBSD$
.\"
.Dd April 10, 1995
-.Os
.Dt CUSERID 3
+.Os
.Sh NAME
.Nm cuserid
.Nd get user name associated with effective UID
diff --git a/lib/libedit/editline.3 b/lib/libedit/editline.3
index d5dfff5e7a4b..9794649a56e3 100644
--- a/lib/libedit/editline.3
+++ b/lib/libedit/editline.3
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd January 12, 2007
-.Os
.Dt EDITLINE 3
+.Os
.Sh NAME
.Nm editline ,
.Nm el_init ,
diff --git a/lib/libedit/editrc.5 b/lib/libedit/editrc.5
index 4b1d4148b8d8..2fa1a634dea5 100644
--- a/lib/libedit/editrc.5
+++ b/lib/libedit/editrc.5
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd October 18, 2003
-.Os
.Dt EDITRC 5
+.Os
.Sh NAME
.Nm editrc
.Nd configuration file for editline library
diff --git a/lib/libelf/elf.3 b/lib/libelf/elf.3
index 854e1af1a2f9..c649efe72be4 100644
--- a/lib/libelf/elf.3
+++ b/lib/libelf/elf.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 21, 2007
-.Os
.Dt ELF 3
+.Os
.Sh NAME
.Nm elf
.Nd API for manipulating ELF objects
diff --git a/lib/libelf/elf_begin.3 b/lib/libelf/elf_begin.3
index c43766f7bcb2..dac49102eafa 100644
--- a/lib/libelf/elf_begin.3
+++ b/lib/libelf/elf_begin.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd June 21, 2006
-.Os
.Dt ELF_BEGIN 3
+.Os
.Sh NAME
.Nm elf_begin
.Nd open an ELF file or ar(1) archive
diff --git a/lib/libelf/elf_cntl.3 b/lib/libelf/elf_cntl.3
index 73dca2139446..52771701181c 100644
--- a/lib/libelf/elf_cntl.3
+++ b/lib/libelf/elf_cntl.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 9, 2006
-.Os
.Dt ELF_CNTL 3
+.Os
.Sh NAME
.Nm elf_cntl
.Nd control an elf file descriptor
diff --git a/lib/libelf/elf_end.3 b/lib/libelf/elf_end.3
index 0f74a8984729..3622fb2e6700 100644
--- a/lib/libelf/elf_end.3
+++ b/lib/libelf/elf_end.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd June 29, 2006
-.Os
.Dt ELF_END 3
+.Os
.Sh NAME
.Nm elf_end
.Nd release an ELF descriptor
diff --git a/lib/libelf/elf_errmsg.3 b/lib/libelf/elf_errmsg.3
index 1ed70bf9ee68..f01416804b50 100644
--- a/lib/libelf/elf_errmsg.3
+++ b/lib/libelf/elf_errmsg.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd June 11, 2006
-.Os
.Dt ELF_ERRMSG 3
+.Os
.Sh NAME
.Nm elf_errmsg ,
.Nm elf_errno
diff --git a/lib/libelf/elf_fill.3 b/lib/libelf/elf_fill.3
index 33446b99c485..a635b435a6ed 100644
--- a/lib/libelf/elf_fill.3
+++ b/lib/libelf/elf_fill.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd June 11, 2006
-.Os
.Dt ELF_FILL 3
+.Os
.Sh NAME
.Nm elf_fill
.Nd set fill byte for inter-section padding
diff --git a/lib/libelf/elf_flagdata.3 b/lib/libelf/elf_flagdata.3
index 30c1111904b6..b07e5242681f 100644
--- a/lib/libelf/elf_flagdata.3
+++ b/lib/libelf/elf_flagdata.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 22, 2007
-.Os
.Dt ELF_FLAGDATA 3
+.Os
.Sh NAME
.Nm elf_flagdata ,
.Nm elf_flagehdr ,
diff --git a/lib/libelf/elf_getarhdr.3 b/lib/libelf/elf_getarhdr.3
index f78fc80bc33c..03f911adf3a0 100644
--- a/lib/libelf/elf_getarhdr.3
+++ b/lib/libelf/elf_getarhdr.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 15, 2006
-.Os
.Dt ELF_GETARHDR 3
+.Os
.Sh NAME
.Nm elf_getarhdr
.Nd retrieve ar(1) header for an archive member
diff --git a/lib/libelf/elf_getarsym.3 b/lib/libelf/elf_getarsym.3
index 1030ea2b6f50..44b28c8c9579 100644
--- a/lib/libelf/elf_getarsym.3
+++ b/lib/libelf/elf_getarsym.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 15, 2006
-.Os
.Dt ELF_GETARSYM 3
+.Os
.Sh NAME
.Nm elf_getarsym
.Nd retrieve the symbol table of an archive
diff --git a/lib/libelf/elf_getbase.3 b/lib/libelf/elf_getbase.3
index 30be6c5c2591..be9d103f14ea 100644
--- a/lib/libelf/elf_getbase.3
+++ b/lib/libelf/elf_getbase.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd June 11, 2006
-.Os
.Dt ELF_GETBASE 3
+.Os
.Sh NAME
.Nm elf_getbase
.Nd get the base offset for an object file
diff --git a/lib/libelf/elf_getdata.3 b/lib/libelf/elf_getdata.3
index 64da4ad9f8ce..10f37639563b 100644
--- a/lib/libelf/elf_getdata.3
+++ b/lib/libelf/elf_getdata.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 26, 2006
-.Os
.Dt ELF_GETDATA 3
+.Os
.Sh NAME
.Nm elf_getdata ,
.Nm elf_newdata ,
diff --git a/lib/libelf/elf_getident.3 b/lib/libelf/elf_getident.3
index f34ab70e3732..1031e1d0ebc1 100644
--- a/lib/libelf/elf_getident.3
+++ b/lib/libelf/elf_getident.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd July 3, 2006
-.Os
.Dt ELF_GETIDENT 3
+.Os
.Sh NAME
.Nm elf_getident
.Nd return the initial bytes of a file
diff --git a/lib/libelf/elf_getphnum.3 b/lib/libelf/elf_getphnum.3
index 606ceb0e755e..308f87cd4ccb 100644
--- a/lib/libelf/elf_getphnum.3
+++ b/lib/libelf/elf_getphnum.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd December 16, 2006
-.Os
.Dt ELF_GETPHNUM 3
+.Os
.Sh NAME
.Nm elf_getphnum
.Nd return the number of program headers in an ELF file
diff --git a/lib/libelf/elf_getscn.3 b/lib/libelf/elf_getscn.3
index 5b9de412a014..1b1b5f9ef738 100644
--- a/lib/libelf/elf_getscn.3
+++ b/lib/libelf/elf_getscn.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 22, 2007
-.Os
.Dt ELF_GETSCN 3
+.Os
.Sh NAME
.Nm elf_getscn ,
.Nm elf_ndxscn ,
diff --git a/lib/libelf/elf_getshnum.3 b/lib/libelf/elf_getshnum.3
index 10a370ce6db8..7c8a04c26a5c 100644
--- a/lib/libelf/elf_getshnum.3
+++ b/lib/libelf/elf_getshnum.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 31, 2006
-.Os
.Dt ELF_GETSHNUM 3
+.Os
.Sh NAME
.Nm elf_getshnum
.Nd return the number of sections in an ELF file
diff --git a/lib/libelf/elf_getshstrndx.3 b/lib/libelf/elf_getshstrndx.3
index 115b2dac1c6d..71df3ac51926 100644
--- a/lib/libelf/elf_getshstrndx.3
+++ b/lib/libelf/elf_getshstrndx.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 31, 2006
-.Os
.Dt ELF_GETSHSTRNDX 3
+.Os
.Sh NAME
.Nm elf_getshstrndx ,
.Nm elf_setshstrndx
diff --git a/lib/libelf/elf_hash.3 b/lib/libelf/elf_hash.3
index 02095988959a..0df2804e2fa0 100644
--- a/lib/libelf/elf_hash.3
+++ b/lib/libelf/elf_hash.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 15, 2006
-.Os
.Dt ELF_HASH 3
+.Os
.Sh NAME
.Nm elf_hash
.Nd compute a hash value for a string
diff --git a/lib/libelf/elf_kind.3 b/lib/libelf/elf_kind.3
index def1582b2299..de74e5749938 100644
--- a/lib/libelf/elf_kind.3
+++ b/lib/libelf/elf_kind.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd June 1, 2006
-.Os
.Dt ELF_KIND 3
+.Os
.Sh NAME
.Nm elf_kind
.Nd determine ELF file type
diff --git a/lib/libelf/elf_memory.3 b/lib/libelf/elf_memory.3
index 9af6c5e30fa8..83de5124b211 100644
--- a/lib/libelf/elf_memory.3
+++ b/lib/libelf/elf_memory.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd June 28, 2006
-.Os
.Dt ELF_MEMORY 3
+.Os
.Sh NAME
.Nm elf_memory
.Nd process an ELF or ar(1) archive mapped into memory
diff --git a/lib/libelf/elf_next.3 b/lib/libelf/elf_next.3
index da995fc253be..184ab9f44eec 100644
--- a/lib/libelf/elf_next.3
+++ b/lib/libelf/elf_next.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd June 17, 2006
-.Os
.Dt ELF_NEXT 3
+.Os
.Sh NAME
.Nm elf_next
.Nd provide sequential access to the next archive member
diff --git a/lib/libelf/elf_rand.3 b/lib/libelf/elf_rand.3
index 46cec6d2895e..e4d23d761f14 100644
--- a/lib/libelf/elf_rand.3
+++ b/lib/libelf/elf_rand.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd June 17, 2006
-.Os
.Dt ELF_RAND 3
+.Os
.Sh NAME
.Nm elf_rand
.Nd provide sequential access to the next archive member
diff --git a/lib/libelf/elf_rawfile.3 b/lib/libelf/elf_rawfile.3
index 76026e7971bc..4458148830bb 100644
--- a/lib/libelf/elf_rawfile.3
+++ b/lib/libelf/elf_rawfile.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd July 3, 2006
-.Os
.Dt ELF_RAWFILE 3
+.Os
.Sh NAME
.Nm elf_rawfile
.Nd return uninterpreted contents of an ELF file
diff --git a/lib/libelf/elf_strptr.3 b/lib/libelf/elf_strptr.3
index bf24cc1f6553..a0a9e649bb14 100644
--- a/lib/libelf/elf_strptr.3
+++ b/lib/libelf/elf_strptr.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd December 16, 2006
-.Os
.Dt ELF_STRPTR 3
+.Os
.Sh NAME
.Nm elf_strptr
.Nd retrieve a string pointer in a string table
diff --git a/lib/libelf/elf_update.3 b/lib/libelf/elf_update.3
index 33a14d192bcb..7f6f4f09ba55 100644
--- a/lib/libelf/elf_update.3
+++ b/lib/libelf/elf_update.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd March 19, 2008
-.Os
.Dt ELF_UPDATE 3
+.Os
.Sh NAME
.Nm elf_update
.Nd update an ELF descriptor
diff --git a/lib/libelf/elf_version.3 b/lib/libelf/elf_version.3
index 25ea62b231cf..e9187106174c 100644
--- a/lib/libelf/elf_version.3
+++ b/lib/libelf/elf_version.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd June 1, 2006
-.Os
.Dt ELF_VERSION 3
+.Os
.Sh NAME
.Nm elf_version
.Nd retrieve or set ELF library operating version
diff --git a/lib/libelf/gelf.3 b/lib/libelf/gelf.3
index 4ab5ff2867c2..d541388aee39 100644
--- a/lib/libelf/gelf.3
+++ b/lib/libelf/gelf.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd September 1, 2006
-.Os
.Dt GELF 3
+.Os
.Sh NAME
.Nm GElf
.Nd class-independent API for ELF manipulation
diff --git a/lib/libelf/gelf_checksum.3 b/lib/libelf/gelf_checksum.3
index a6f19784b3c7..99870f0af13a 100644
--- a/lib/libelf/gelf_checksum.3
+++ b/lib/libelf/gelf_checksum.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 29, 2006
-.Os
.Dt GELF_CHECKSUM 3
+.Os
.Sh NAME
.Nm elf32_checksum ,
.Nm elf64_checksum ,
diff --git a/lib/libelf/gelf_fsize.3 b/lib/libelf/gelf_fsize.3
index 915d840b638c..caefae755fe8 100644
--- a/lib/libelf/gelf_fsize.3
+++ b/lib/libelf/gelf_fsize.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd February 5, 2008
-.Os
.Dt GELF_FSIZE 3
+.Os
.Sh NAME
.Nm gelf_fsize ,
.Nm elf32_fsize ,
diff --git a/lib/libelf/gelf_getcap.3 b/lib/libelf/gelf_getcap.3
index f6262d81a94e..e63a2633753e 100644
--- a/lib/libelf/gelf_getcap.3
+++ b/lib/libelf/gelf_getcap.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 29, 2006
-.Os
.Dt GELF_GETCAP 3
+.Os
.Sh NAME
.Nm gelf_getcap ,
.Nm gelf_update_cap
diff --git a/lib/libelf/gelf_getclass.3 b/lib/libelf/gelf_getclass.3
index cab3e24b8322..7f7bc30ce200 100644
--- a/lib/libelf/gelf_getclass.3
+++ b/lib/libelf/gelf_getclass.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd July 3, 2006
-.Os
.Dt GELF_GETCLASS 3
+.Os
.Sh NAME
.Nm gelf_getclass
.Nd retrieve the class of an ELF descriptor
diff --git a/lib/libelf/gelf_getdyn.3 b/lib/libelf/gelf_getdyn.3
index 11244440ff8c..a755d63a09f1 100644
--- a/lib/libelf/gelf_getdyn.3
+++ b/lib/libelf/gelf_getdyn.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 29, 2006
-.Os
.Dt GELF_GETDYN 3
+.Os
.Sh NAME
.Nm gelf_getdyn ,
.Nm gelf_update_dyn
diff --git a/lib/libelf/gelf_getehdr.3 b/lib/libelf/gelf_getehdr.3
index d4c8cb34e53a..8e71c2d49454 100644
--- a/lib/libelf/gelf_getehdr.3
+++ b/lib/libelf/gelf_getehdr.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd December 16, 2006
-.Os
.Dt GELF_GETEHDR 3
+.Os
.Sh NAME
.Nm elf32_getehdr ,
.Nm elf64_getehdr ,
diff --git a/lib/libelf/gelf_getmove.3 b/lib/libelf/gelf_getmove.3
index 11fd9cad9551..abe398ab3745 100644
--- a/lib/libelf/gelf_getmove.3
+++ b/lib/libelf/gelf_getmove.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 29, 2006
-.Os
.Dt GELF_GETMOVE 3
+.Os
.Sh NAME
.Nm gelf_getmove ,
.Nm gelf_update_move
diff --git a/lib/libelf/gelf_getphdr.3 b/lib/libelf/gelf_getphdr.3
index d6ffb9061477..53fab17bba8f 100644
--- a/lib/libelf/gelf_getphdr.3
+++ b/lib/libelf/gelf_getphdr.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 21, 2007
-.Os
.Dt GELF_GETPHDR 3
+.Os
.Sh NAME
.Nm elf32_getphdr ,
.Nm elf64_getphdr ,
diff --git a/lib/libelf/gelf_getrel.3 b/lib/libelf/gelf_getrel.3
index 75fa79e98222..6e650a5b7d26 100644
--- a/lib/libelf/gelf_getrel.3
+++ b/lib/libelf/gelf_getrel.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 29, 2006
-.Os
.Dt GELF_GETREL 3
+.Os
.Sh NAME
.Nm gelf_getrel ,
.Nm gelf_update_rel
diff --git a/lib/libelf/gelf_getrela.3 b/lib/libelf/gelf_getrela.3
index d8968f56129a..dc7e5795cbec 100644
--- a/lib/libelf/gelf_getrela.3
+++ b/lib/libelf/gelf_getrela.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 29, 2006
-.Os
.Dt GELF_GETRELA 3
+.Os
.Sh NAME
.Nm gelf_getrela ,
.Nm gelf_update_rela
diff --git a/lib/libelf/gelf_getshdr.3 b/lib/libelf/gelf_getshdr.3
index c1823b54d523..851f51f00ef5 100644
--- a/lib/libelf/gelf_getshdr.3
+++ b/lib/libelf/gelf_getshdr.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 27, 2006
-.Os
.Dt GELF_GETSHDR 3
+.Os
.Sh NAME
.Nm elf32_getshdr ,
.Nm elf64_getshdr ,
diff --git a/lib/libelf/gelf_getsym.3 b/lib/libelf/gelf_getsym.3
index 4e35133648d9..56a6783acb1e 100644
--- a/lib/libelf/gelf_getsym.3
+++ b/lib/libelf/gelf_getsym.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 29, 2006
-.Os
.Dt GELF_GETSYM 3
+.Os
.Sh NAME
.Nm gelf_getsym ,
.Nm gelf_update_sym
diff --git a/lib/libelf/gelf_getsyminfo.3 b/lib/libelf/gelf_getsyminfo.3
index 904e6490a2e8..12da80f544e1 100644
--- a/lib/libelf/gelf_getsyminfo.3
+++ b/lib/libelf/gelf_getsyminfo.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 29, 2006
-.Os
.Dt GELF_GETSYMINFO 3
+.Os
.Sh NAME
.Nm gelf_getsyminfo ,
.Nm gelf_update_syminfo
diff --git a/lib/libelf/gelf_getsymshndx.3 b/lib/libelf/gelf_getsymshndx.3
index c254a4382594..d79c392959f0 100644
--- a/lib/libelf/gelf_getsymshndx.3
+++ b/lib/libelf/gelf_getsymshndx.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 5, 2006
-.Os
.Dt GELF_GETSYMSHNDX 3
+.Os
.Sh NAME
.Nm gelf_getsymshndx ,
.Nm gelf_update_symshndx
diff --git a/lib/libelf/gelf_newehdr.3 b/lib/libelf/gelf_newehdr.3
index 98820e2e06eb..6a2edf8f0429 100644
--- a/lib/libelf/gelf_newehdr.3
+++ b/lib/libelf/gelf_newehdr.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 22, 2007
-.Os
.Dt GELF_NEWEHDR 3
+.Os
.Sh NAME
.Nm elf32_newehdr ,
.Nm elf64_newehdr ,
diff --git a/lib/libelf/gelf_newphdr.3 b/lib/libelf/gelf_newphdr.3
index 3d669b63aa1d..bd13e5df53ab 100644
--- a/lib/libelf/gelf_newphdr.3
+++ b/lib/libelf/gelf_newphdr.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 22, 2007
-.Os
.Dt GELF_NEWPHDR 3
+.Os
.Sh NAME
.Nm elf32_newphdr ,
.Nm elf64_newphdr ,
diff --git a/lib/libelf/gelf_update_ehdr.3 b/lib/libelf/gelf_update_ehdr.3
index 82098314e033..df23a0ceb0d2 100644
--- a/lib/libelf/gelf_update_ehdr.3
+++ b/lib/libelf/gelf_update_ehdr.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 27, 2006
-.Os
.Dt GELF_UPDATE_EHDR 3
+.Os
.Sh NAME
.Nm gelf_update_ehdr ,
.Nm gelf_update_phdr ,
diff --git a/lib/libelf/gelf_xlatetof.3 b/lib/libelf/gelf_xlatetof.3
index b7699305ea85..453f56fcc40d 100644
--- a/lib/libelf/gelf_xlatetof.3
+++ b/lib/libelf/gelf_xlatetof.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd July 24, 2006
-.Os
.Dt GELF_XLATETOF 3
+.Os
.Sh NAME
.Nm elf32_xlate ,
.Nm elf64_xlate ,
diff --git a/lib/libgssapi/gss_accept_sec_context.3 b/lib/libgssapi/gss_accept_sec_context.3
index 8957831e1451..a4c219c164e1 100644
--- a/lib/libgssapi/gss_accept_sec_context.3
+++ b/lib/libgssapi/gss_accept_sec_context.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_ACCEPT_SEC_CONTEXT 3 PRM
+.Os
.Sh NAME
.Nm gss_accept_sec_context
.Nd Accept a security context initiated by a peer application
diff --git a/lib/libgssapi/gss_acquire_cred.3 b/lib/libgssapi/gss_acquire_cred.3
index c48a46838d09..5de9ea0362a2 100644
--- a/lib/libgssapi/gss_acquire_cred.3
+++ b/lib/libgssapi/gss_acquire_cred.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_ACQUIRE_CRED 3 PRM
+.Os
.Sh NAME
.Nm gss_acquire_cred
.Nd Obtain a GSS-API credential handle for pre-existing credentials
diff --git a/lib/libgssapi/gss_add_cred.3 b/lib/libgssapi/gss_add_cred.3
index 53df140d5559..67ff1c3dc74b 100644
--- a/lib/libgssapi/gss_add_cred.3
+++ b/lib/libgssapi/gss_add_cred.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_ADD_CRED 3 PRM
+.Os
.Sh NAME
.Nm gss_add_cred
.Nd Construct credentials incrementally
diff --git a/lib/libgssapi/gss_add_oid_set_member.3 b/lib/libgssapi/gss_add_oid_set_member.3
index fb2119cefe88..5839da6717cf 100644
--- a/lib/libgssapi/gss_add_oid_set_member.3
+++ b/lib/libgssapi/gss_add_oid_set_member.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_ADD_OID_SET_MEMBER 3 PRM
+.Os
.Sh NAME
.Nm gss_add_oid_set_member
.Nd Add an object identifier to a set
diff --git a/lib/libgssapi/gss_canonicalize_name.3 b/lib/libgssapi/gss_canonicalize_name.3
index 86957dc05842..036c0eff8245 100644
--- a/lib/libgssapi/gss_canonicalize_name.3
+++ b/lib/libgssapi/gss_canonicalize_name.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_CANONICALIZE_NAME 3 PRM
+.Os
.Sh NAME
.Nm gss_canonicalize_name
.Nd Convert an internal name to an MN
diff --git a/lib/libgssapi/gss_compare_name.3 b/lib/libgssapi/gss_compare_name.3
index 7f69d430b27b..0bafb5964081 100644
--- a/lib/libgssapi/gss_compare_name.3
+++ b/lib/libgssapi/gss_compare_name.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_COMPARE_NAME PRM
+.Os
.Sh NAME
.Nm gss_compare_name
.Nd Compare two internal-form names
diff --git a/lib/libgssapi/gss_context_time.3 b/lib/libgssapi/gss_context_time.3
index 9fb43eacab05..b6b4157dd947 100644
--- a/lib/libgssapi/gss_context_time.3
+++ b/lib/libgssapi/gss_context_time.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_CONTEXT_TIME 3 PRM
+.Os
.Sh NAME
.Nm gss_context_time
.Nd Determine for how long a context will remain valid
diff --git a/lib/libgssapi/gss_create_empty_oid_set.3 b/lib/libgssapi/gss_create_empty_oid_set.3
index 08d82f6b2baa..3a84f855c152 100644
--- a/lib/libgssapi/gss_create_empty_oid_set.3
+++ b/lib/libgssapi/gss_create_empty_oid_set.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_CREATE_EMPTY_OID_SET 3 PRM
+.Os
.Sh NAME
.Nm gss_create_empty_oid_set
.Nd Create a set containing no object identifiers
diff --git a/lib/libgssapi/gss_delete_sec_context.3 b/lib/libgssapi/gss_delete_sec_context.3
index a0c26df7f3ea..1c4fa7b66909 100644
--- a/lib/libgssapi/gss_delete_sec_context.3
+++ b/lib/libgssapi/gss_delete_sec_context.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_DELETE_SEC_CONTEXT 3 PRM
+.Os
.Sh NAME
.Nm gss_delete_sec_context
.Nd Discard a security context
diff --git a/lib/libgssapi/gss_display_name.3 b/lib/libgssapi/gss_display_name.3
index 2441eef4c490..4944995c4678 100644
--- a/lib/libgssapi/gss_display_name.3
+++ b/lib/libgssapi/gss_display_name.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_DISPLAY_NAME 3 PRM
+.Os
.Sh NAME
.Nm gss_display_name
.Nd Convert internal-form name to text
diff --git a/lib/libgssapi/gss_display_status.3 b/lib/libgssapi/gss_display_status.3
index 2b1affd4e351..4bf908bb1d0f 100644
--- a/lib/libgssapi/gss_display_status.3
+++ b/lib/libgssapi/gss_display_status.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_DISPLAY_STATUS 3 PRM
+.Os
.Sh NAME
.Nm gss_display_status
.Nd Convert a GSS-API status code to text
diff --git a/lib/libgssapi/gss_duplicate_name.3 b/lib/libgssapi/gss_duplicate_name.3
index 334a12684104..5eb4a6284c41 100644
--- a/lib/libgssapi/gss_duplicate_name.3
+++ b/lib/libgssapi/gss_duplicate_name.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_DUPLICATE_NAME 3 PRM
+.Os
.Sh NAME
.Nm gss_duplicate_name
.Nd Create a copy of an internal name
diff --git a/lib/libgssapi/gss_export_name.3 b/lib/libgssapi/gss_export_name.3
index e1feee22bd60..5cbf803b9496 100644
--- a/lib/libgssapi/gss_export_name.3
+++ b/lib/libgssapi/gss_export_name.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_EXPORT_NAME 3 PRM
+.Os
.Sh NAME
.Nm gss_export_name
.Nd Convert an MN to export form
diff --git a/lib/libgssapi/gss_export_sec_context.3 b/lib/libgssapi/gss_export_sec_context.3
index 1f7f01df9d3f..7ecbef317172 100644
--- a/lib/libgssapi/gss_export_sec_context.3
+++ b/lib/libgssapi/gss_export_sec_context.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_EXPORT_SEC_CONTEXT 3 PRM
+.Os
.Sh NAME
.Nm gss_export_sec_context
.Nd Transfer a security context to another process
diff --git a/lib/libgssapi/gss_get_mic.3 b/lib/libgssapi/gss_get_mic.3
index 8892808f022d..e5d81fa77f4e 100644
--- a/lib/libgssapi/gss_get_mic.3
+++ b/lib/libgssapi/gss_get_mic.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_GET_MIC 3 PRM
+.Os
.Sh NAME
.Nm gss_get_mic ,
.Nm gss_sign
diff --git a/lib/libgssapi/gss_import_name.3 b/lib/libgssapi/gss_import_name.3
index 3119f04534bb..aef1ae8cb100 100644
--- a/lib/libgssapi/gss_import_name.3
+++ b/lib/libgssapi/gss_import_name.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_IMPORT_NAME 3 PRM
+.Os
.Sh NAME
.Nm gss_import_name
.Nd Convert a contiguous string name to internal-form
diff --git a/lib/libgssapi/gss_import_sec_context.3 b/lib/libgssapi/gss_import_sec_context.3
index a889e2b7fa43..87aaa7872c70 100644
--- a/lib/libgssapi/gss_import_sec_context.3
+++ b/lib/libgssapi/gss_import_sec_context.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_IMPORT_SEC_CONTEXT 3 PRM
+.Os
.Sh NAME
.Nm gss_import_sec_context
.Nd Import a transferred context
diff --git a/lib/libgssapi/gss_indicate_mechs.3 b/lib/libgssapi/gss_indicate_mechs.3
index 26ffaa601624..3eec8615a171 100644
--- a/lib/libgssapi/gss_indicate_mechs.3
+++ b/lib/libgssapi/gss_indicate_mechs.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_INDICATE_MECHS 3 PRM
+.Os
.Sh NAME
.Nm gss_indicate_mechs
.Nd Determine available underlying authentication mechanisms
diff --git a/lib/libgssapi/gss_init_sec_context.3 b/lib/libgssapi/gss_init_sec_context.3
index 278dd17979b5..9d14859fb41f 100644
--- a/lib/libgssapi/gss_init_sec_context.3
+++ b/lib/libgssapi/gss_init_sec_context.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_INIT_SEC_CONTEXT 3 PRM
+.Os
.Sh NAME
.Nm gss_init_sec_context
.Nd Initiate a security context with a peer application
diff --git a/lib/libgssapi/gss_inquire_context.3 b/lib/libgssapi/gss_inquire_context.3
index 51fa18db8299..ba5d649facd3 100644
--- a/lib/libgssapi/gss_inquire_context.3
+++ b/lib/libgssapi/gss_inquire_context.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_INQUIRE_CONTEXT 3 PRM
+.Os
.Sh NAME
.Nm gss_inquire_context
.Nd Obtain information about a security context
diff --git a/lib/libgssapi/gss_inquire_cred.3 b/lib/libgssapi/gss_inquire_cred.3
index 99c20ce01fbb..923b3734bea1 100644
--- a/lib/libgssapi/gss_inquire_cred.3
+++ b/lib/libgssapi/gss_inquire_cred.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_INQUIRE_CRED 3 PRM
+.Os
.Sh NAME
.Nm gss_inquire_cred
.Nd Obtain information about a credential
diff --git a/lib/libgssapi/gss_inquire_cred_by_mech.3 b/lib/libgssapi/gss_inquire_cred_by_mech.3
index 22319bd4613d..c316930cffbc 100644
--- a/lib/libgssapi/gss_inquire_cred_by_mech.3
+++ b/lib/libgssapi/gss_inquire_cred_by_mech.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_INQUIRE_CRED_BY_MECH 3 PRM
+.Os
.Sh NAME
.Nm gss_inquire_cred_by_mech
.Nd Obtain per-mechanism information about a credential
diff --git a/lib/libgssapi/gss_inquire_mechs_for_name.3 b/lib/libgssapi/gss_inquire_mechs_for_name.3
index b56e663a18d8..d8d94edb4820 100644
--- a/lib/libgssapi/gss_inquire_mechs_for_name.3
+++ b/lib/libgssapi/gss_inquire_mechs_for_name.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_INQUIRE_MECHS_FOR_NAME 3 PRM
+.Os
.Sh NAME
.Nm gss_inquire_mechs_for_name
.Nd List mechanisms that support the specified name-type
diff --git a/lib/libgssapi/gss_inquire_names_for_mech.3 b/lib/libgssapi/gss_inquire_names_for_mech.3
index 8b7f069f9158..c1b7528b56e0 100644
--- a/lib/libgssapi/gss_inquire_names_for_mech.3
+++ b/lib/libgssapi/gss_inquire_names_for_mech.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_INQUIRE_NAMES_FOR_MECH 3 PRM
+.Os
.Sh NAME
.Nm gss_inquire_names_for_mech
.Nd List the name-types supported by the specified mechanism
diff --git a/lib/libgssapi/gss_process_context_token.3 b/lib/libgssapi/gss_process_context_token.3
index 85e1029aab08..53f5ebfcc533 100644
--- a/lib/libgssapi/gss_process_context_token.3
+++ b/lib/libgssapi/gss_process_context_token.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_PROCESS_CONTEXT_TOKEN 3 PRM
+.Os
.Sh NAME
.Nm gss_process_context_token
.Nd Process a token on a security context from a peer application
diff --git a/lib/libgssapi/gss_release_buffer.3 b/lib/libgssapi/gss_release_buffer.3
index 432d42276c53..259db3ba6b8e 100644
--- a/lib/libgssapi/gss_release_buffer.3
+++ b/lib/libgssapi/gss_release_buffer.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_RELEASE_BUFFER 3 PRM
+.Os
.Sh NAME
.Nm gss_release_buffer
.Nd Discard a buffer
diff --git a/lib/libgssapi/gss_release_cred.3 b/lib/libgssapi/gss_release_cred.3
index ca99fc40a8fc..38fc7844bea8 100644
--- a/lib/libgssapi/gss_release_cred.3
+++ b/lib/libgssapi/gss_release_cred.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_RELEASE_CRED 3 PRM
+.Os
.Sh NAME
.Nm gss_release_cred
.Nd Discard a credential handle
diff --git a/lib/libgssapi/gss_release_name.3 b/lib/libgssapi/gss_release_name.3
index 7bf1181f22a0..ca737e0af3ab 100644
--- a/lib/libgssapi/gss_release_name.3
+++ b/lib/libgssapi/gss_release_name.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_RELEASE_NAME 3 PRM
+.Os
.Sh NAME
.Nm gss_release_name
.Nd Discard an internal-form name
diff --git a/lib/libgssapi/gss_release_oid_set.3 b/lib/libgssapi/gss_release_oid_set.3
index 0142e2feec15..391ad283c799 100644
--- a/lib/libgssapi/gss_release_oid_set.3
+++ b/lib/libgssapi/gss_release_oid_set.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_RELEASE_OID_SET 3 PRM
+.Os
.Sh NAME
.Nm gss_release_oid_set
.Nd Discard a set of object identifiers
diff --git a/lib/libgssapi/gss_test_oid_set_member.3 b/lib/libgssapi/gss_test_oid_set_member.3
index 86e06b35bb7c..c6dad0f2fe76 100644
--- a/lib/libgssapi/gss_test_oid_set_member.3
+++ b/lib/libgssapi/gss_test_oid_set_member.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_TEST_OID_SET_MEMBER 3 PRM
+.Os
.Sh NAME
.Nm gss_test_oid_set_member
.Nd Determines whether an object identifier is a member of a set
diff --git a/lib/libgssapi/gss_unwrap.3 b/lib/libgssapi/gss_unwrap.3
index cc75782310b4..94537a496508 100644
--- a/lib/libgssapi/gss_unwrap.3
+++ b/lib/libgssapi/gss_unwrap.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_UNWRAP 3 PRM
+.Os
.Sh NAME
.Nm gss_unwrap ,
.Nm gss_unseal
diff --git a/lib/libgssapi/gss_verify_mic.3 b/lib/libgssapi/gss_verify_mic.3
index b72f468ce7d5..e8a46119422b 100644
--- a/lib/libgssapi/gss_verify_mic.3
+++ b/lib/libgssapi/gss_verify_mic.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_VERIFY_MIC 3 PRM
+.Os
.Sh NAME
.Nm gss_verify_mic ,
.Nm gss_verify
diff --git a/lib/libgssapi/gss_wrap.3 b/lib/libgssapi/gss_wrap.3
index c432b482c1b4..5732dd24cf83 100644
--- a/lib/libgssapi/gss_wrap.3
+++ b/lib/libgssapi/gss_wrap.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_WRAP 3 PRM
+.Os
.Sh NAME
.Nm gss_wrap ,
.Nm gss_seal
diff --git a/lib/libgssapi/gss_wrap_size_limit.3 b/lib/libgssapi/gss_wrap_size_limit.3
index c1d40da014de..7a1cb599ad20 100644
--- a/lib/libgssapi/gss_wrap_size_limit.3
+++ b/lib/libgssapi/gss_wrap_size_limit.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_WRAP_SIZE_LIMIT 3 PRM
+.Os
.Sh NAME
.Nm gss_wrap_size_limit
.Nd Determine maximum message sizes
diff --git a/lib/libmemstat/libmemstat.3 b/lib/libmemstat/libmemstat.3
index 82ec53abee67..9a4877b0aa73 100644
--- a/lib/libmemstat/libmemstat.3
+++ b/lib/libmemstat/libmemstat.3
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd June 27, 2005
-.Os
.Dt LIBMEMSTAT 3
+.Os
.Sh NAME
.Nm libmemstat
.Nd "library interface to retrieve kernel memory allocator statistics"
diff --git a/lib/libpmc/pmc.3 b/lib/libpmc/pmc.3
index f48fe7985e97..5e3236baf9bc 100644
--- a/lib/libpmc/pmc.3
+++ b/lib/libpmc/pmc.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 24, 2008
-.Os
.Dt PMC 3
+.Os
.Sh NAME
.Nm pmc
.Nd library for accessing hardware performance monitoring counters
diff --git a/lib/libpmc/pmc.atom.3 b/lib/libpmc/pmc.atom.3
index bd081f9d27aa..a54d1db2b1cd 100644
--- a/lib/libpmc/pmc.atom.3
+++ b/lib/libpmc/pmc.atom.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 12, 2008
-.Os
.Dt PMC.ATOM 3
+.Os
.Sh NAME
.Nm pmc.atom
.Nd measurement events for
diff --git a/lib/libpmc/pmc.core.3 b/lib/libpmc/pmc.core.3
index 3c97e0925941..3feadaef2c5f 100644
--- a/lib/libpmc/pmc.core.3
+++ b/lib/libpmc/pmc.core.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 12, 2008
-.Os
.Dt PMC.CORE 3
+.Os
.Sh NAME
.Nm pmc.core
.Nd measurement events for
diff --git a/lib/libpmc/pmc.core2.3 b/lib/libpmc/pmc.core2.3
index 41c16750d625..3dbc0c850e5f 100644
--- a/lib/libpmc/pmc.core2.3
+++ b/lib/libpmc/pmc.core2.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd June 8, 2009
-.Os
.Dt PMC.CORE2 3
+.Os
.Sh NAME
.Nm pmc.core2
.Nd measurement events for
diff --git a/lib/libpmc/pmc.corei7.3 b/lib/libpmc/pmc.corei7.3
index 1a8b9d9d4195..f90b0d3ead86 100644
--- a/lib/libpmc/pmc.corei7.3
+++ b/lib/libpmc/pmc.corei7.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd March 24, 2010
-.Os
.Dt PMC.COREI7 3
+.Os
.Sh NAME
.Nm pmc.corei7
.Nd measurement events for
diff --git a/lib/libpmc/pmc.corei7uc.3 b/lib/libpmc/pmc.corei7uc.3
index 2c1b3dde07f5..fc3435b698a3 100644
--- a/lib/libpmc/pmc.corei7uc.3
+++ b/lib/libpmc/pmc.corei7uc.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd March 24, 2010
-.Os
.Dt PMC.COREI7UC 3
+.Os
.Sh NAME
.Nm pmc.corei7uc
.Nd uncore measurement events for
diff --git a/lib/libpmc/pmc.iaf.3 b/lib/libpmc/pmc.iaf.3
index c6d01eaaa721..ec9f21cb2761 100644
--- a/lib/libpmc/pmc.iaf.3
+++ b/lib/libpmc/pmc.iaf.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 14, 2008
-.Os
.Dt PMC.IAF 3
+.Os
.Sh NAME
.Nm pmc.iaf
.Nd measurement events for
diff --git a/lib/libpmc/pmc.k7.3 b/lib/libpmc/pmc.k7.3
index 8db9020dead8..2775d4fd922b 100644
--- a/lib/libpmc/pmc.k7.3
+++ b/lib/libpmc/pmc.k7.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 4, 2008
-.Os
.Dt PMC.K7 3
+.Os
.Sh NAME
.Nm pmc.k7
.Nd measurement events for
diff --git a/lib/libpmc/pmc.k8.3 b/lib/libpmc/pmc.k8.3
index 3e4afb1ff5b2..995bfac958a3 100644
--- a/lib/libpmc/pmc.k8.3
+++ b/lib/libpmc/pmc.k8.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 4, 2008
-.Os
.Dt PMC.K8 3
+.Os
.Sh NAME
.Nm pmc.k8
.Nd measurement events for
diff --git a/lib/libpmc/pmc.p4.3 b/lib/libpmc/pmc.p4.3
index ecfc6287db8c..e13fa6ec5ea4 100644
--- a/lib/libpmc/pmc.p4.3
+++ b/lib/libpmc/pmc.p4.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 4, 2008
-.Os
.Dt PMC.P4 3
+.Os
.Sh NAME
.Nm pmc.p4
.Nd measurement events for
diff --git a/lib/libpmc/pmc.p5.3 b/lib/libpmc/pmc.p5.3
index 2930f16caacc..36ab917dc256 100644
--- a/lib/libpmc/pmc.p5.3
+++ b/lib/libpmc/pmc.p5.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 4, 2008
-.Os
.Dt PMC 3
+.Os
.Sh NAME
.Nm pmc
.Nd library for accessing hardware performance monitoring counters
diff --git a/lib/libpmc/pmc.p6.3 b/lib/libpmc/pmc.p6.3
index 15a1101bf67b..d8cde6427b66 100644
--- a/lib/libpmc/pmc.p6.3
+++ b/lib/libpmc/pmc.p6.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 4, 2008
-.Os
.Dt PMC.P6 3
+.Os
.Sh NAME
.Nm pmc.p6
.Nd measurement events for
diff --git a/lib/libpmc/pmc.tsc.3 b/lib/libpmc/pmc.tsc.3
index 3dd0b8859caa..144ff35c3f05 100644
--- a/lib/libpmc/pmc.tsc.3
+++ b/lib/libpmc/pmc.tsc.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 4, 2008
-.Os
.Dt PMC.TSC 3
+.Os
.Sh NAME
.Nm pmc.tsc
.Nd measurements using the i386 timestamp counter
diff --git a/lib/libpmc/pmc.ucf.3 b/lib/libpmc/pmc.ucf.3
index c8f2468cdf8a..230a11085787 100644
--- a/lib/libpmc/pmc.ucf.3
+++ b/lib/libpmc/pmc.ucf.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd March 30, 2010
-.Os
.Dt PMC.UCF 3
+.Os
.Sh NAME
.Nm pmc.ucf
.Nd measurement events for
diff --git a/lib/libpmc/pmc.westmere.3 b/lib/libpmc/pmc.westmere.3
index 0b87e50230af..98adce6f3af1 100644
--- a/lib/libpmc/pmc.westmere.3
+++ b/lib/libpmc/pmc.westmere.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd March 24, 2010
-.Os
.Dt PMC.WESTMERE 3
+.Os
.Sh NAME
.Nm pmc.westmere
.Nd measurement events for
diff --git a/lib/libpmc/pmc.westmereuc.3 b/lib/libpmc/pmc.westmereuc.3
index c5fd12dfa66c..c77ef9bfa48c 100644
--- a/lib/libpmc/pmc.westmereuc.3
+++ b/lib/libpmc/pmc.westmereuc.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd March 24, 2010
-.Os
.Dt PMC.WESTMEREUC 3
+.Os
.Sh NAME
.Nm pmc.westmere
.Nd uncore measurement events for
diff --git a/lib/libpmc/pmc_allocate.3 b/lib/libpmc/pmc_allocate.3
index 03f907811a72..6a2a6c0d0f07 100644
--- a/lib/libpmc/pmc_allocate.3
+++ b/lib/libpmc/pmc_allocate.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd September 22, 2008
-.Os
.Dt PMC_ALLOCATE 3
+.Os
.Sh NAME
.Nm pmc_allocate ,
.Nm pmc_release
diff --git a/lib/libpmc/pmc_attach.3 b/lib/libpmc/pmc_attach.3
index be340a775985..ca725112b0b3 100644
--- a/lib/libpmc/pmc_attach.3
+++ b/lib/libpmc/pmc_attach.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 25, 2007
-.Os
.Dt PMC_ATTACH 3
+.Os
.Sh NAME
.Nm pmc_attach ,
.Nm pmc_detach
diff --git a/lib/libpmc/pmc_capabilities.3 b/lib/libpmc/pmc_capabilities.3
index 0d1a99dd6023..6aee17f8bfb6 100644
--- a/lib/libpmc/pmc_capabilities.3
+++ b/lib/libpmc/pmc_capabilities.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd September 22, 2008
-.Os
.Dt PMC_CAPABILITIES 3
+.Os
.Sh NAME
.Nm pmc_capabilities ,
.Nm pmc_cpuinfo ,
diff --git a/lib/libpmc/pmc_configure_logfile.3 b/lib/libpmc/pmc_configure_logfile.3
index 95c6c28d4382..a33688c222c0 100644
--- a/lib/libpmc/pmc_configure_logfile.3
+++ b/lib/libpmc/pmc_configure_logfile.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 24, 2007
-.Os
.Dt PMC_CONFIGURE_LOGFILE 3
+.Os
.Sh NAME
.Nm pmc_configure_logfile ,
.Nm pmc_flush_logfile ,
diff --git a/lib/libpmc/pmc_disable.3 b/lib/libpmc/pmc_disable.3
index cd837d3a0757..a6902ffd463f 100644
--- a/lib/libpmc/pmc_disable.3
+++ b/lib/libpmc/pmc_disable.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd September 22, 2008
-.Os
.Dt PMC_ENABLE 3
+.Os
.Sh NAME
.Nm pmc_disable ,
.Nm pmc_enable
diff --git a/lib/libpmc/pmc_event_names_of_class.3 b/lib/libpmc/pmc_event_names_of_class.3
index fc1c63c3120e..5b2c89d1b800 100644
--- a/lib/libpmc/pmc_event_names_of_class.3
+++ b/lib/libpmc/pmc_event_names_of_class.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 23, 2007
-.Os
.Dt PMC_EVENT_NAMES_OF_CLASS 3
+.Os
.Sh NAME
.Nm pmc_event_names_of_class
.Nd return a list of event names supported by a PMC class.
diff --git a/lib/libpmc/pmc_get_driver_stats.3 b/lib/libpmc/pmc_get_driver_stats.3
index d8bfe233b60e..fa214b321a30 100644
--- a/lib/libpmc/pmc_get_driver_stats.3
+++ b/lib/libpmc/pmc_get_driver_stats.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 25, 2007
-.Os
.Dt PMC_GET_DRIVER_STATS 3
+.Os
.Sh NAME
.Nm pmc_get_driver_stats
.Nd retrieve driver statistics
diff --git a/lib/libpmc/pmc_get_msr.3 b/lib/libpmc/pmc_get_msr.3
index 6a2b94274bdd..6361d3adab2d 100644
--- a/lib/libpmc/pmc_get_msr.3
+++ b/lib/libpmc/pmc_get_msr.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 25, 2007
-.Os
.Dt PMC_GET_MSR 3
+.Os
.Sh NAME
.Nm pmc_get_msr
.Nd x86 architecture-specific PMC operations
diff --git a/lib/libpmc/pmc_init.3 b/lib/libpmc/pmc_init.3
index 5113b4aa9515..655bfb6f78b0 100644
--- a/lib/libpmc/pmc_init.3
+++ b/lib/libpmc/pmc_init.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 24, 2007
-.Os
.Dt PMC_INIT 3
+.Os
.Sh NAME
.Nm pmc_init
.Nd initialize library
diff --git a/lib/libpmc/pmc_name_of_capability.3 b/lib/libpmc/pmc_name_of_capability.3
index 53ddfdf90757..78efeafd6ac7 100644
--- a/lib/libpmc/pmc_name_of_capability.3
+++ b/lib/libpmc/pmc_name_of_capability.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 24, 2007
-.Os
.Dt PMC_NAME_OF_CAPABILITY 3
+.Os
.Sh NAME
.Nm pmc_name_of_capability ,
.Nm pmc_name_of_class ,
diff --git a/lib/libpmc/pmc_read.3 b/lib/libpmc/pmc_read.3
index d9fa3ce8b9c2..8d718ca3fd15 100644
--- a/lib/libpmc/pmc_read.3
+++ b/lib/libpmc/pmc_read.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 25, 2007
-.Os
.Dt PMC_READ 3
+.Os
.Sh NAME
.Nm pmc_read ,
.Nm pmc_rw ,
diff --git a/lib/libpmc/pmc_set.3 b/lib/libpmc/pmc_set.3
index a9e438af9dfe..e8d65971dd29 100644
--- a/lib/libpmc/pmc_set.3
+++ b/lib/libpmc/pmc_set.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 25, 2007
-.Os
.Dt PMC_SET 3
+.Os
.Sh NAME
.Nm pmc_set
.Nd set the reload count of a sampling PMC
diff --git a/lib/libpmc/pmc_start.3 b/lib/libpmc/pmc_start.3
index 7fb474a18bfc..2272122dd19b 100644
--- a/lib/libpmc/pmc_start.3
+++ b/lib/libpmc/pmc_start.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd September 22, 2008
-.Os
.Dt PMC_START 3
+.Os
.Sh NAME
.Nm pmc_start ,
.Nm pmc_stop
diff --git a/lib/libpmc/pmclog.3 b/lib/libpmc/pmclog.3
index 688445a4524a..4438f106d0bc 100644
--- a/lib/libpmc/pmclog.3
+++ b/lib/libpmc/pmclog.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd March 26, 2006
-.Os
.Dt PMCLOG 3
+.Os
.Sh NAME
.Nm pmclog_open ,
.Nm pmclog_close ,
diff --git a/lib/libthr/libthr.3 b/lib/libthr/libthr.3
index 87e5e6475d7a..696da17bdcb0 100644
--- a/lib/libthr/libthr.3
+++ b/lib/libthr/libthr.3
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd October 19, 2007
-.Os
.Dt LIBTHR 3
+.Os
.Sh NAME
.Nm libthr
.Nd "1:1 POSIX threads library"
diff --git a/lib/libugidfw/bsde_get_rule.3 b/lib/libugidfw/bsde_get_rule.3
index a3b6691eaa9a..1f37b62613dc 100644
--- a/lib/libugidfw/bsde_get_rule.3
+++ b/lib/libugidfw/bsde_get_rule.3
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd February 24, 2004
-.Os
.Dt BSDE_GET_RULE 3
+.Os
.Sh NAME
.Nm bsde_add_rule ,
.Nm bsde_get_rule ,
diff --git a/lib/libugidfw/bsde_get_rule_count.3 b/lib/libugidfw/bsde_get_rule_count.3
index bf441e150d9c..2ca965f8fd40 100644
--- a/lib/libugidfw/bsde_get_rule_count.3
+++ b/lib/libugidfw/bsde_get_rule_count.3
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd January 7, 2003
-.Os
.Dt BSDE_GET_RULE_COUNT 3
+.Os
.Sh NAME
.Nm bsde_get_rule_count ,
.Nm bsde_get_rule_slots
diff --git a/lib/libugidfw/bsde_parse_rule.3 b/lib/libugidfw/bsde_parse_rule.3
index d510cab26a2e..4b177af22ed0 100644
--- a/lib/libugidfw/bsde_parse_rule.3
+++ b/lib/libugidfw/bsde_parse_rule.3
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd January 7, 2003
-.Os
.Dt BSDE_PARSE_RULE 3
+.Os
.Sh NAME
.Nm bsde_parse_rule ,
.Nm bsde_parse_rule_string
diff --git a/lib/libugidfw/bsde_rule_to_string.3 b/lib/libugidfw/bsde_rule_to_string.3
index 44144069a524..6279dcfa3711 100644
--- a/lib/libugidfw/bsde_rule_to_string.3
+++ b/lib/libugidfw/bsde_rule_to_string.3
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd January 7, 2003
-.Os
.Dt BSDE_RULE_TO_STRING 3
+.Os
.Sh NAME
.Nm bsde_rule_to_string
.Nd "convert a ugidfw rule into its text representation"
diff --git a/lib/libugidfw/libugidfw.3 b/lib/libugidfw/libugidfw.3
index 3ff407c1609b..42d23c680392 100644
--- a/lib/libugidfw/libugidfw.3
+++ b/lib/libugidfw/libugidfw.3
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd February 25, 2004
-.Os
.Dt LIBUGIDFW 3
+.Os
.Sh NAME
.Nm libugidfw
.Nd "library interface to the file system firewall MAC policy"
diff --git a/lib/libulog/ulog_login.3 b/lib/libulog/ulog_login.3
index ec397c8c0cd9..451a4f7a31fa 100644
--- a/lib/libulog/ulog_login.3
+++ b/lib/libulog/ulog_login.3
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd December 5, 2009
-.Os
.Dt ULOG_LOGIN 3
+.Os
.Sh NAME
.Nm ulog_login ,
.Nm ulog_login_pseudo ,
diff --git a/lib/libulog/utempter_add_record.3 b/lib/libulog/utempter_add_record.3
index 1553d68c26b1..cd8e8f1e69fb 100644
--- a/lib/libulog/utempter_add_record.3
+++ b/lib/libulog/utempter_add_record.3
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd December 6, 2009
-.Os
.Dt UTEMPTER_ADD_RECORD 3
+.Os
.Sh NAME
.Nm utempter_add_record ,
.Nm utempter_remove_added_record ,
diff --git a/lib/libutil/_secure_path.3 b/lib/libutil/_secure_path.3
index fe23d12b2b9f..cf89315a89e0 100644
--- a/lib/libutil/_secure_path.3
+++ b/lib/libutil/_secure_path.3
@@ -20,8 +20,8 @@
.\" $FreeBSD$
.\"
.Dd May 2, 1997
-.Os
.Dt _SECURE_PATH 3
+.Os
.Sh NAME
.Nm _secure_path
.Nd determine if a file appears to be secure
diff --git a/lib/libutil/auth.3 b/lib/libutil/auth.3
index 3a1bb4dd4dbf..247a09859141 100644
--- a/lib/libutil/auth.3
+++ b/lib/libutil/auth.3
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\" "
.Dd October 7, 1998
-.Os
.Dt AUTH_GETVAL 3
+.Os
.Sh NAME
.Nm auth_getval
.Nd functions for reading values from
diff --git a/lib/libutil/hexdump.3 b/lib/libutil/hexdump.3
index cc004f61bb33..8e997ac24b4d 100644
--- a/lib/libutil/hexdump.3
+++ b/lib/libutil/hexdump.3
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 1, 2008
-.Os
.Dt HEXDUMP 3
+.Os
.Sh NAME
.Nm hexdump
.Nd "dump a block of bytes to standard out in hexadecimal form"
diff --git a/lib/libutil/kinfo_getfile.3 b/lib/libutil/kinfo_getfile.3
index 5705bf774d68..c0b0b0220215 100644
--- a/lib/libutil/kinfo_getfile.3
+++ b/lib/libutil/kinfo_getfile.3
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd December 6, 2008
-.Os
.Dt KINFO_GETFILE 3
+.Os
.Sh NAME
.Nm kinfo_getfile
.Nd function for getting per-process file descriptor information
diff --git a/lib/libutil/kinfo_getvmmap.3 b/lib/libutil/kinfo_getvmmap.3
index 0f12b675ac3d..7aa46fc102e0 100644
--- a/lib/libutil/kinfo_getvmmap.3
+++ b/lib/libutil/kinfo_getvmmap.3
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd December 6, 2008
-.Os
.Dt KINFO_GETVMMAP 3
+.Os
.Sh NAME
.Nm kinfo_getvmmap
.Nd function for getting per-process memory map information
diff --git a/lib/libutil/kld.3 b/lib/libutil/kld.3
index cc34fa1a0406..6b77c47fc0db 100644
--- a/lib/libutil/kld.3
+++ b/lib/libutil/kld.3
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd February 18, 2006
-.Os
.Dt KLD 3
+.Os
.Sh NAME
.Nm kld_isloaded ,
.Nm kld_load
diff --git a/lib/libutil/login_auth.3 b/lib/libutil/login_auth.3
index 3750bd69182b..003f6e92ac02 100644
--- a/lib/libutil/login_auth.3
+++ b/lib/libutil/login_auth.3
@@ -20,8 +20,8 @@
.\" $FreeBSD$
.\"
.Dd December 29, 1996
-.Os
.Dt LOGIN_AUTH 3
+.Os
.Sh NAME
.\" .Nm authenticate
.\" .Nm auth_script
diff --git a/lib/libutil/login_cap.3 b/lib/libutil/login_cap.3
index 7ecefffb2a3e..bdab56eba50a 100644
--- a/lib/libutil/login_cap.3
+++ b/lib/libutil/login_cap.3
@@ -20,8 +20,8 @@
.\" $FreeBSD$
.\"
.Dd June 14, 2007
-.Os
.Dt LOGIN_CAP 3
+.Os
.Sh NAME
.Nm login_close ,
.Nm login_getcapbool ,
diff --git a/lib/libutil/login_class.3 b/lib/libutil/login_class.3
index 75ccccc14499..083e94289d14 100644
--- a/lib/libutil/login_class.3
+++ b/lib/libutil/login_class.3
@@ -20,8 +20,8 @@
.\" $FreeBSD$
.\"
.Dd October 20, 2008
-.Os
.Dt LOGIN_CLASS 3
+.Os
.Sh NAME
.Nm setclasscontext ,
.Nm setclasscpumask ,
diff --git a/lib/libutil/login_ok.3 b/lib/libutil/login_ok.3
index 1bb6236c243b..9022ff55d3a2 100644
--- a/lib/libutil/login_ok.3
+++ b/lib/libutil/login_ok.3
@@ -20,8 +20,8 @@
.\" $FreeBSD$
.\"
.Dd January 2, 1997
-.Os
.Dt LOGIN_OK 3
+.Os
.Sh NAME
.Nm auth_ttyok ,
.Nm auth_hostok ,
diff --git a/lib/libutil/login_times.3 b/lib/libutil/login_times.3
index a1444843d42b..9d1f88d858c2 100644
--- a/lib/libutil/login_times.3
+++ b/lib/libutil/login_times.3
@@ -20,8 +20,8 @@
.\" $FreeBSD$
.\"
.Dd October 20, 2008
-.Os
.Dt LOGIN_TIMES 3
+.Os
.Sh NAME
.Nm parse_lt ,
.Nm in_lt ,
diff --git a/lib/libutil/login_tty.3 b/lib/libutil/login_tty.3
index 6303d685e034..907b97cd5cf7 100644
--- a/lib/libutil/login_tty.3
+++ b/lib/libutil/login_tty.3
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\" "
.Dd December 29, 1996
-.Os
.Dt LOGIN_TTY 3
+.Os
.Sh NAME
.Nm login_tty
.Nd prepare a tty for a new login session
diff --git a/lib/libutil/property.3 b/lib/libutil/property.3
index 61eb15399098..51f7e14928f5 100644
--- a/lib/libutil/property.3
+++ b/lib/libutil/property.3
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\" "
.Dd October 7, 1998
-.Os
.Dt PROPERTIES 3
+.Os
.Sh NAME
.Nm properties_read ,
.Nm propery_find ,
diff --git a/lib/libutil/pty.3 b/lib/libutil/pty.3
index 08a5985b6841..f71cc5323d72 100644
--- a/lib/libutil/pty.3
+++ b/lib/libutil/pty.3
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\" "
.Dd December 29, 1996
-.Os
.Dt PTY 3
+.Os
.Sh NAME
.Nm openpty ,
.Nm forkpty
diff --git a/lib/libutil/realhostname.3 b/lib/libutil/realhostname.3
index fd64d4c6966e..9f5a6c5ddc6e 100644
--- a/lib/libutil/realhostname.3
+++ b/lib/libutil/realhostname.3
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd April 6, 1999
-.Os
.Dt REALHOSTNAME 3
+.Os
.Sh NAME
.Nm realhostname
.Nd "convert an IP number to the real host name"
diff --git a/lib/libutil/realhostname_sa.3 b/lib/libutil/realhostname_sa.3
index 9f7f0dfb0224..3fd44a442b11 100644
--- a/lib/libutil/realhostname_sa.3
+++ b/lib/libutil/realhostname_sa.3
@@ -52,8 +52,8 @@
.\" $FreeBSD$
.\"
.Dd January 11, 2000
-.Os
.Dt REALHOSTNAME_SA 3
+.Os
.Sh NAME
.Nm realhostname_sa
.Nd "convert a"
diff --git a/lib/libutil/trimdomain.3 b/lib/libutil/trimdomain.3
index f01e884e7870..8d600c019213 100644
--- a/lib/libutil/trimdomain.3
+++ b/lib/libutil/trimdomain.3
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd April 7, 1999
-.Os
.Dt TRIMDOMAIN 3
+.Os
.Sh NAME
.Nm trimdomain
.Nd "trim the current domain name from a host name"
diff --git a/lib/libutil/uucplock.3 b/lib/libutil/uucplock.3
index 5f75c7f94e99..5d8647d03191 100644
--- a/lib/libutil/uucplock.3
+++ b/lib/libutil/uucplock.3
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\" "
.Dd March 30, 1997
-.Os
.Dt UUCPLOCK 3
+.Os
.Sh NAME
.Nm uu_lock ,
.Nm uu_unlock ,
diff --git a/sbin/iscontrol/iscsi.conf.5 b/sbin/iscontrol/iscsi.conf.5
index 2edcd35742a2..0de5122914fe 100644
--- a/sbin/iscontrol/iscsi.conf.5
+++ b/sbin/iscontrol/iscsi.conf.5
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd June 5, 2007
-.Os
.Dt ISCSI.CONF 5
+.Os
.Sh NAME
.Nm iscsi.conf
.Nd key options to be negotiated in an iSCSI session
diff --git a/sbin/spppcontrol/spppcontrol.8 b/sbin/spppcontrol/spppcontrol.8
index 4389c8f66ec1..4d948a60651a 100644
--- a/sbin/spppcontrol/spppcontrol.8
+++ b/sbin/spppcontrol/spppcontrol.8
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd December 30, 2001
-.Os
.Dt SPPPCONTROL 8
+.Os
.Sh NAME
.Nm spppcontrol
.Nd display or set parameters for an sppp interface
diff --git a/share/man/man3/sysexits.3 b/share/man/man3/sysexits.3
index 4661c9d90178..2ef3407b3255 100644
--- a/share/man/man3/sysexits.3
+++ b/share/man/man3/sysexits.3
@@ -27,8 +27,8 @@
.\"
.\" "
.Dd March 31, 1996
-.Os
.Dt SYSEXITS 3
+.Os
.Sh NAME
.Nm sysexits
.Nd preferable exit codes for programs
diff --git a/share/man/man3/tgmath.3 b/share/man/man3/tgmath.3
index 4957c9b26492..f8faf269a7a3 100644
--- a/share/man/man3/tgmath.3
+++ b/share/man/man3/tgmath.3
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd August 14, 2004
-.Os
.Dt TGMATH 3
+.Os
.Sh NAME
.Nm tgmath
.Nd "type-generic macros"
diff --git a/share/man/man4/audit.4 b/share/man/man4/audit.4
index 82bb23fdcac4..167248cec5da 100644
--- a/share/man/man4/audit.4
+++ b/share/man/man4/audit.4
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd May 31, 2009
-.Os
.Dt AUDIT 4
+.Os
.Sh NAME
.Nm audit
.Nd Security Event Audit
diff --git a/share/man/man4/auditpipe.4 b/share/man/man4/auditpipe.4
index 7ba35afcb471..19db8565b703 100644
--- a/share/man/man4/auditpipe.4
+++ b/share/man/man4/auditpipe.4
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd May 5, 2006
-.Os
.Dt AUDITPIPE 4
+.Os
.Sh NAME
.Nm auditpipe
.Nd "pseudo-device for live audit event tracking"
diff --git a/share/man/man4/coda.4 b/share/man/man4/coda.4
index 9fd6cbb8be11..94b12aec4d54 100644
--- a/share/man/man4/coda.4
+++ b/share/man/man4/coda.4
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd January 21, 2008
-.Os
.Dt CODA 4
+.Os
.Sh NAME
.Nm coda
.Nd Coda Distributed File System
diff --git a/share/man/man4/gbde.4 b/share/man/man4/gbde.4
index e3bc6c7fb2aa..edac1a07316e 100644
--- a/share/man/man4/gbde.4
+++ b/share/man/man4/gbde.4
@@ -32,8 +32,8 @@
.\" $FreeBSD$
.\"
.Dd October 19, 2002
-.Os
.Dt GBDE 4
+.Os
.Sh NAME
.Nm gbde
.Nd Geom Based Disk Encryption
diff --git a/share/man/man4/geom.4 b/share/man/man4/geom.4
index 38573893357f..0a1b24e5ec31 100644
--- a/share/man/man4/geom.4
+++ b/share/man/man4/geom.4
@@ -35,8 +35,8 @@
.\" $FreeBSD$
.\"
.Dd May 25, 2006
-.Os
.Dt GEOM 4
+.Os
.Sh NAME
.Nm GEOM
.Nd "modular disk I/O request transformation framework"
diff --git a/share/man/man4/geom_fox.4 b/share/man/man4/geom_fox.4
index 588e1d7c9323..8e262b94ae52 100644
--- a/share/man/man4/geom_fox.4
+++ b/share/man/man4/geom_fox.4
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd January 2, 2005
-.Os
.Dt GEOM_FOX 4
+.Os
.Sh NAME
.Nm geom_fox
.Nd "GEOM based basic disk multipathing"
diff --git a/share/man/man4/geom_linux_lvm.4 b/share/man/man4/geom_linux_lvm.4
index e41703a489b5..30b875edd3e0 100644
--- a/share/man/man4/geom_linux_lvm.4
+++ b/share/man/man4/geom_linux_lvm.4
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd February 20, 2008
-.Os
.Dt GEOM_LINUX_LVM 4
+.Os
.Sh NAME
.Nm geom_linux_lvm
.Nd "GEOM based Linux LVM logical volume mapping"
diff --git a/share/man/man4/geom_uzip.4 b/share/man/man4/geom_uzip.4
index 30d5ab03e81e..7275029d062f 100644
--- a/share/man/man4/geom_uzip.4
+++ b/share/man/man4/geom_uzip.4
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd October 9, 2006
-.Os
.Dt GEOM_UZIP 4
+.Os
.Sh NAME
.Nm geom_uzip
.Nd "GEOM based compressed disk images"
diff --git a/share/man/man4/ipw.4 b/share/man/man4/ipw.4
index 30293f0cafeb..060058a09816 100644
--- a/share/man/man4/ipw.4
+++ b/share/man/man4/ipw.4
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd April 13, 2008
-.Os
.Dt IPW 4
+.Os
.Sh NAME
.Nm ipw
.Nd "Intel PRO/Wireless 2100 IEEE 802.11 driver"
diff --git a/share/man/man4/iscsi_initiator.4 b/share/man/man4/iscsi_initiator.4
index 484a2135531e..b6c47f0769b7 100644
--- a/share/man/man4/iscsi_initiator.4
+++ b/share/man/man4/iscsi_initiator.4
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd February 23, 2007
-.Os
.Dt ISCSI_INITIATOR 4
+.Os
.Sh NAME
.Nm iscsi_initiator
.Nd kernel driver for the iSCSI protocol
diff --git a/share/man/man4/iwi.4 b/share/man/man4/iwi.4
index 3c9bdd46608d..64f5c0ed13af 100644
--- a/share/man/man4/iwi.4
+++ b/share/man/man4/iwi.4
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd April 13, 2008
-.Os
.Dt IWI 4
+.Os
.Sh NAME
.Nm iwi
.Nd "Intel PRO/Wireless 2200BG/2225BG/2915ABG IEEE 802.11 driver"
diff --git a/share/man/man4/iwn.4 b/share/man/man4/iwn.4
index b73331a04b57..a229e57c843a 100644
--- a/share/man/man4/iwn.4
+++ b/share/man/man4/iwn.4
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd February 8, 2010
-.Os
.Dt IWN 4
+.Os
.Sh NAME
.Nm iwn
.Nd Intel Wireless WiFi Link 4965/1000/5000/5150/5300/6000/6050
diff --git a/share/man/man4/kbdmux.4 b/share/man/man4/kbdmux.4
index e29f8cd766e2..f92fa4584e9b 100644
--- a/share/man/man4/kbdmux.4
+++ b/share/man/man4/kbdmux.4
@@ -2,8 +2,8 @@
.\" $FreeBSD$
.\"
.Dd July 12, 2005
-.Os
.Dt KBDMUX 4
+.Os
.Sh NAME
.Nm kbdmux
.Nd "keyboard multiplexer"
diff --git a/share/man/man4/lp.4 b/share/man/man4/lp.4
index 6976101af2cb..f5b628e6ff0d 100644
--- a/share/man/man4/lp.4
+++ b/share/man/man4/lp.4
@@ -35,8 +35,8 @@
.\" $FreeBSD$
.\"
.Dd March 4, 1996
-.Os
.Dt LP 4
+.Os
.Sh NAME
.Nm lp
.Nd printer port Internet Protocol driver
diff --git a/share/man/man4/mac.4 b/share/man/man4/mac.4
index 82d7a165aa1b..b1ff1d951d8e 100644
--- a/share/man/man4/mac.4
+++ b/share/man/man4/mac.4
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd October 30, 2007
-.Os
.Dt MAC 4
+.Os
.Sh NAME
.Nm mac
.Nd Mandatory Access Control
diff --git a/share/man/man4/mac_biba.4 b/share/man/man4/mac_biba.4
index 20a66615e5f2..265f5710edcf 100644
--- a/share/man/man4/mac_biba.4
+++ b/share/man/man4/mac_biba.4
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd November 18, 2002
-.Os
.Dt MAC_BIBA 4
+.Os
.Sh NAME
.Nm mac_biba
.Nd "Biba data integrity policy"
diff --git a/share/man/man4/mac_bsdextended.4 b/share/man/man4/mac_bsdextended.4
index 899990c34a18..23b89c04d04b 100644
--- a/share/man/man4/mac_bsdextended.4
+++ b/share/man/man4/mac_bsdextended.4
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd May 21, 2005
-.Os
.Dt MAC_BSDEXTENDED 4
+.Os
.Sh NAME
.Nm mac_bsdextended
.Nd "file system firewall policy"
diff --git a/share/man/man4/mac_ifoff.4 b/share/man/man4/mac_ifoff.4
index ede13b0fac5c..87c73b250888 100644
--- a/share/man/man4/mac_ifoff.4
+++ b/share/man/man4/mac_ifoff.4
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd December 10, 2002
-.Os
.Dt MAC_IFOFF 4
+.Os
.Sh NAME
.Nm mac_ifoff
.Nd "interface silencing policy"
diff --git a/share/man/man4/mac_lomac.4 b/share/man/man4/mac_lomac.4
index 8133ad8a8333..8ae8875acb42 100644
--- a/share/man/man4/mac_lomac.4
+++ b/share/man/man4/mac_lomac.4
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd December 11, 2002
-.Os
.Dt MAC_LOMAC 4
+.Os
.Sh NAME
.Nm mac_lomac
.Nd "Low-watermark Mandatory Access Control data integrity policy"
diff --git a/share/man/man4/mac_mls.4 b/share/man/man4/mac_mls.4
index 921781adf1ea..b314fb5ca3a9 100644
--- a/share/man/man4/mac_mls.4
+++ b/share/man/man4/mac_mls.4
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd December 1, 2002
-.Os
.Dt MAC_MLS 4
+.Os
.Sh NAME
.Nm mac_mls
.Nd "Multi-Level Security confidentiality policy"
diff --git a/share/man/man4/mac_none.4 b/share/man/man4/mac_none.4
index 159151e53388..8f4602935ac9 100644
--- a/share/man/man4/mac_none.4
+++ b/share/man/man4/mac_none.4
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd December 1, 2002
-.Os
.Dt MAC_NONE 4
+.Os
.Sh NAME
.Nm mac_none
.Nd "null MAC policy module"
diff --git a/share/man/man4/mac_partition.4 b/share/man/man4/mac_partition.4
index 54abee5ae7bf..296635edaf06 100644
--- a/share/man/man4/mac_partition.4
+++ b/share/man/man4/mac_partition.4
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd December 9, 2002
-.Os
.Dt MAC_PARTITION 4
+.Os
.Sh NAME
.Nm mac_partition
.Nd "process partition policy"
diff --git a/share/man/man4/mac_seeotheruids.4 b/share/man/man4/mac_seeotheruids.4
index 4eeb7bba9eb6..c870ca00d3ed 100644
--- a/share/man/man4/mac_seeotheruids.4
+++ b/share/man/man4/mac_seeotheruids.4
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd October 6, 2005
-.Os
.Dt MAC_SEEOTHERUIDS 4
+.Os
.Sh NAME
.Nm mac_seeotheruids
.Nd "simple policy controlling whether users see other users"
diff --git a/share/man/man4/mac_stub.4 b/share/man/man4/mac_stub.4
index ded95e2c0818..79326df3649f 100644
--- a/share/man/man4/mac_stub.4
+++ b/share/man/man4/mac_stub.4
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd December 1, 2002
-.Os
.Dt MAC_STUB 4
+.Os
.Sh NAME
.Nm mac_stub
.Nd "MAC policy stub module"
diff --git a/share/man/man4/mac_test.4 b/share/man/man4/mac_test.4
index dde744589a22..e86d4bd0f140 100644
--- a/share/man/man4/mac_test.4
+++ b/share/man/man4/mac_test.4
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd December 1, 2002
-.Os
.Dt MAC_TEST 4
+.Os
.Sh NAME
.Nm mac_test
.Nd MAC framework testing policy
diff --git a/share/man/man4/ng_netflow.4 b/share/man/man4/ng_netflow.4
index d1ef20482266..5c5c8e0ccfd5 100644
--- a/share/man/man4/ng_netflow.4
+++ b/share/man/man4/ng_netflow.4
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd October 8, 2008
-.Os
.Dt NG_NETFLOW 4
+.Os
.Sh NAME
.Nm ng_netflow
.Nd Cisco's NetFlow implementation
diff --git a/share/man/man4/orm.4 b/share/man/man4/orm.4
index 2ef54a0b5d32..2922cb68eade 100644
--- a/share/man/man4/orm.4
+++ b/share/man/man4/orm.4
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd December 15, 2000
-.Os
.Dt ORM 4
+.Os
.Sh NAME
.Nm orm
.Nd ISA I/O space option ROM(s) driver
diff --git a/share/man/man4/ral.4 b/share/man/man4/ral.4
index 2fd8e3355cbc..25fb343a0b42 100644
--- a/share/man/man4/ral.4
+++ b/share/man/man4/ral.4
@@ -16,8 +16,8 @@
.\" $FreeBSD$
.\"
.Dd July 8, 2009
-.Os
.Dt RAL 4
+.Os
.Sh NAME
.Nm ral
.Nd "Ralink Technology IEEE 802.11 wireless network driver"
diff --git a/share/man/man4/rp.4 b/share/man/man4/rp.4
index 8f0f425c662a..a894f1242c76 100644
--- a/share/man/man4/rp.4
+++ b/share/man/man4/rp.4
@@ -3,8 +3,8 @@
.\"
.\" $FreeBSD$
.Dd November 15, 1995
-.Os
.Dt RP 4
+.Os
.Sh NAME
.Nm rp
.Nd "driver for Comtrol RocketPort Intelligent Serial Port Cards"
diff --git a/share/man/man4/rum.4 b/share/man/man4/rum.4
index cbbbcd0962b5..82e25f5c3b94 100644
--- a/share/man/man4/rum.4
+++ b/share/man/man4/rum.4
@@ -17,8 +17,8 @@
.\" $FreeBSD$
.\"
.Dd April 13, 2008
-.Os
.Dt RUM 4
+.Os
.Sh NAME
.Nm rum
.Nd Ralink Technology USB IEEE 802.11a/b/g wireless network device
diff --git a/share/man/man4/run.4 b/share/man/man4/run.4
index e613649e853d..a7c6f4deeaf2 100644
--- a/share/man/man4/run.4
+++ b/share/man/man4/run.4
@@ -17,8 +17,8 @@
.\" $FreeBSD$
.\"
.Dd January 29, 2010
-.Os
.Dt RUN 4
+.Os
.Sh NAME
.Nm run
.Nd Ralink Technology USB IEEE 802.11a/g/n wireless network device
diff --git a/share/man/man4/sched_4bsd.4 b/share/man/man4/sched_4bsd.4
index 9533cae0055f..a02c40eb58a8 100644
--- a/share/man/man4/sched_4bsd.4
+++ b/share/man/man4/sched_4bsd.4
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd January 21, 2008
-.Os
.Dt SCHED_4BSD 4
+.Os
.Sh NAME
.Nm sched_4bsd
.Nd "4.4BSD scheduler"
diff --git a/share/man/man4/sched_ule.4 b/share/man/man4/sched_ule.4
index c5ce58b57c7b..fdb96f1c8280 100644
--- a/share/man/man4/sched_ule.4
+++ b/share/man/man4/sched_ule.4
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd January 21, 2008
-.Os
.Dt SCHED_ULE 4
+.Os
.Sh NAME
.Nm sched_ule
.Nd ULE scheduler
diff --git a/share/man/man4/si.4 b/share/man/man4/si.4
index 65176bdb78ba..5eb7629d979d 100644
--- a/share/man/man4/si.4
+++ b/share/man/man4/si.4
@@ -1,7 +1,7 @@
.\" $FreeBSD$
.Dd September 16, 1995
-.Os
.Dt SI 4
+.Os
.Sh NAME
.Nm si
.Nd "driver for Specialix International SI/XIO or SX intelligent serial card"
diff --git a/share/man/man4/tap.4 b/share/man/man4/tap.4
index 9f0472572895..a306108af63b 100644
--- a/share/man/man4/tap.4
+++ b/share/man/man4/tap.4
@@ -2,8 +2,8 @@
.\" Based on PR#2411
.\"
.Dd September 8, 2008
-.Os
.Dt TAP 4
+.Os
.Sh NAME
.Nm tap
.Nd Ethernet tunnel software network interface
diff --git a/share/man/man4/uhso.4 b/share/man/man4/uhso.4
index 7f10c6212a37..e4d6df5b2aaf 100644
--- a/share/man/man4/uhso.4
+++ b/share/man/man4/uhso.4
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd January 14, 2010
-.Os
.Dt UHSO 4
+.Os
.Sh NAME
.Nm uhso
.Nd support for several HSxPA devices from Option N.V.
diff --git a/share/man/man4/upgt.4 b/share/man/man4/upgt.4
index 39dee55c7162..06c5eb57f76a 100644
--- a/share/man/man4/upgt.4
+++ b/share/man/man4/upgt.4
@@ -50,8 +50,8 @@
.\" SUCH DAMAGE.
.\"
.Dd April 17, 2008
-.Os
.Dt UPGT 4
+.Os
.Sh NAME
.Nm upgt
.Nd Conexant/Intersil PrismGT SoftMAC USB IEEE 802.11b/g wireless network
diff --git a/share/man/man4/ural.4 b/share/man/man4/ural.4
index 053ae704a3c4..3825166ffa8f 100644
--- a/share/man/man4/ural.4
+++ b/share/man/man4/ural.4
@@ -16,8 +16,8 @@
.\" $FreeBSD$
.\"
.Dd April 13, 2008
-.Os
.Dt URAL 4
+.Os
.Sh NAME
.Nm ural
.Nd "Ralink Technology RT2500USB IEEE 802.11 driver"
diff --git a/share/man/man4/vkbd.4 b/share/man/man4/vkbd.4
index bdaa941531c5..079688f6bb0b 100644
--- a/share/man/man4/vkbd.4
+++ b/share/man/man4/vkbd.4
@@ -2,8 +2,8 @@
.\" $FreeBSD$
.\"
.Dd August 12, 2004
-.Os
.Dt VKBD 4
+.Os
.Sh NAME
.Nm vkbd
.Nd the virtual AT keyboard interface
diff --git a/share/man/man4/wpi.4 b/share/man/man4/wpi.4
index f424d74a3c7d..07e881698276 100644
--- a/share/man/man4/wpi.4
+++ b/share/man/man4/wpi.4
@@ -27,8 +27,8 @@
.\" $FreeBSD$
.\"
.Dd October 5, 2008
-.Os
.Dt WPI 4
+.Os
.Sh NAME
.Nm wpi
.Nd "Intel 3945ABG Wireless LAN IEEE 802.11 driver"
diff --git a/share/man/man5/ar.5 b/share/man/man5/ar.5
index 58d2d788701b..dc802cee79c2 100644
--- a/share/man/man5/ar.5
+++ b/share/man/man5/ar.5
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd September 7, 2007
-.Os
.Dt AR 5
+.Os
.Sh NAME
.Nm ar
.Nd format of archives managed by ar(1) and ranlib(1)
diff --git a/share/man/man7/clocks.7 b/share/man/man7/clocks.7
index 700a79f33da9..692796842ed4 100644
--- a/share/man/man7/clocks.7
+++ b/share/man/man7/clocks.7
@@ -28,8 +28,8 @@
.\" $FreeBSD$
.\" "
.Dd January 18, 2008
-.Os
.Dt CLOCKS 7
+.Os
.Sh NAME
.Nm clocks
.Nd various system timers
diff --git a/share/man/man7/maclabel.7 b/share/man/man7/maclabel.7
index 05c3654aa9e7..0648fb565c9a 100644
--- a/share/man/man7/maclabel.7
+++ b/share/man/man7/maclabel.7
@@ -34,8 +34,8 @@
.\" $FreeBSD$
.\"
.Dd October 25, 2002
-.Os
.Dt MACLABEL 7
+.Os
.Sh NAME
.Nm maclabel
.Nd Mandatory Access Control label format
diff --git a/share/man/man8/picobsd.8 b/share/man/man8/picobsd.8
index 1ce50b3386bf..c6c6c948ea8e 100644
--- a/share/man/man8/picobsd.8
+++ b/share/man/man8/picobsd.8
@@ -1,8 +1,8 @@
.\" -*- nroff-fill -*-
.\" $FreeBSD$
.Dd June 25, 2009
-.Os
.Dt PICOBSD 8
+.Os
.Sh NAME
.Nm picobsd
.Nd building small FreeBSD disk images
diff --git a/share/man/man8/rescue.8 b/share/man/man8/rescue.8
index 685827f3d598..29218874d676 100644
--- a/share/man/man8/rescue.8
+++ b/share/man/man8/rescue.8
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd July 23, 2003
-.Os
.Dt RESCUE 8
+.Os
.Sh NAME
.Nm rescue
.Nd rescue utilities in
diff --git a/share/man/man9/CTASSERT.9 b/share/man/man9/CTASSERT.9
index db1ad49ee770..4885d4248b8e 100644
--- a/share/man/man9/CTASSERT.9
+++ b/share/man/man9/CTASSERT.9
@@ -27,8 +27,8 @@
.\" $FreeBSD$
.\"
.Dd September 5, 2008
-.Os
.Dt CTASSERT 9
+.Os
.Sh NAME
.Nm CTASSERT
.Nd compile time assertion macro
diff --git a/share/man/man9/DELAY.9 b/share/man/man9/DELAY.9
index ac6231c2bc70..58b2a07e8b61 100644
--- a/share/man/man9/DELAY.9
+++ b/share/man/man9/DELAY.9
@@ -28,8 +28,8 @@
.\" $FreeBSD$
.\"
.Dd November 21, 2000
-.Os
.Dt DELAY 9
+.Os
.Sh NAME
.Nm DELAY
.Nd busy loop for an interval
diff --git a/share/man/man9/KASSERT.9 b/share/man/man9/KASSERT.9
index e53e9b605a8e..62c97c44bd55 100644
--- a/share/man/man9/KASSERT.9
+++ b/share/man/man9/KASSERT.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd January 14, 2000
-.Os
.Dt KASSERT 9
+.Os
.Sh NAME
.Nm KASSERT
.Nd kernel expression verification macro
diff --git a/share/man/man9/VFS.9 b/share/man/man9/VFS.9
index 30f89189bf26..ca3109b5b48e 100644
--- a/share/man/man9/VFS.9
+++ b/share/man/man9/VFS.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd February 9, 2010
-.Os
.Dt VFS 9
+.Os
.Sh NAME
.Nm VFS
.Nd kernel interface to file systems
diff --git a/share/man/man9/VFS_CHECKEXP.9 b/share/man/man9/VFS_CHECKEXP.9
index 92afda86d69c..62d545c753ee 100644
--- a/share/man/man9/VFS_CHECKEXP.9
+++ b/share/man/man9/VFS_CHECKEXP.9
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd January 4, 2010
-.Os
.Dt VFS_CHECKEXP 9
+.Os
.Sh NAME
.Nm VFS_CHECKEXP
.Nd check if a file system is exported to a client
diff --git a/share/man/man9/VFS_FHTOVP.9 b/share/man/man9/VFS_FHTOVP.9
index f6f88d204ee3..39a6168f51b5 100644
--- a/share/man/man9/VFS_FHTOVP.9
+++ b/share/man/man9/VFS_FHTOVP.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd January 4, 2010
-.Os
.Dt VFS_FHTOVP 9
+.Os
.Sh NAME
.Nm VFS_FHTOVP
.Nd turn an NFS filehandle into a vnode
diff --git a/share/man/man9/VFS_MOUNT.9 b/share/man/man9/VFS_MOUNT.9
index 4856dc49ea82..e46c71a5825a 100644
--- a/share/man/man9/VFS_MOUNT.9
+++ b/share/man/man9/VFS_MOUNT.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd May 23, 2009
-.Os
.Dt VFS_MOUNT 9
+.Os
.Sh NAME
.Nm VFS_MOUNT
.Nd mount a file system
diff --git a/share/man/man9/VFS_QUOTACTL.9 b/share/man/man9/VFS_QUOTACTL.9
index 48ff866c2117..fded4d6b883c 100644
--- a/share/man/man9/VFS_QUOTACTL.9
+++ b/share/man/man9/VFS_QUOTACTL.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd May 23, 2009
-.Os
.Dt VFS_QUOTACTL 9
+.Os
.Sh NAME
.Nm VFS_QUOTACTL
.Nd manipulate file system quotas
diff --git a/share/man/man9/VFS_ROOT.9 b/share/man/man9/VFS_ROOT.9
index 2490cfc0bdad..f81a500b3ab2 100644
--- a/share/man/man9/VFS_ROOT.9
+++ b/share/man/man9/VFS_ROOT.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd May 23, 2009
-.Os
.Dt VFS_ROOT 9
+.Os
.Sh NAME
.Nm VFS_ROOT
.Nd return the root vnode of a file system
diff --git a/share/man/man9/VFS_STATFS.9 b/share/man/man9/VFS_STATFS.9
index 80d0d6652a5a..7a7e37141120 100644
--- a/share/man/man9/VFS_STATFS.9
+++ b/share/man/man9/VFS_STATFS.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd May 23, 2009
-.Os
.Dt VFS_STATFS 9
+.Os
.Sh NAME
.Nm VFS_STATFS
.Nd return file system status
diff --git a/share/man/man9/VFS_SYNC.9 b/share/man/man9/VFS_SYNC.9
index 60947a247095..ed510dd7b664 100644
--- a/share/man/man9/VFS_SYNC.9
+++ b/share/man/man9/VFS_SYNC.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd May 23, 2009
-.Os
.Dt VFS_SYNC 9
+.Os
.Sh NAME
.Nm VFS_SYNC
.Nd flush unwritten data
diff --git a/share/man/man9/VFS_UNMOUNT.9 b/share/man/man9/VFS_UNMOUNT.9
index 676685d4a4b4..59113ee174db 100644
--- a/share/man/man9/VFS_UNMOUNT.9
+++ b/share/man/man9/VFS_UNMOUNT.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd May 23, 2009
-.Os
.Dt VFS_UNMOUNT 9
+.Os
.Sh NAME
.Nm VFS_UNMOUNT
.Nd unmount a file system
diff --git a/share/man/man9/VFS_VGET.9 b/share/man/man9/VFS_VGET.9
index 02b55364127d..22c902fd6942 100644
--- a/share/man/man9/VFS_VGET.9
+++ b/share/man/man9/VFS_VGET.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd January 7, 2005
-.Os
.Dt VFS_VGET 9
+.Os
.Sh NAME
.Nm VFS_VGET
.Nd convert an inode number to a vnode
diff --git a/share/man/man9/VOP_ACCESS.9 b/share/man/man9/VOP_ACCESS.9
index 927c1187ce1f..005f2e20e578 100644
--- a/share/man/man9/VOP_ACCESS.9
+++ b/share/man/man9/VOP_ACCESS.9
@@ -30,8 +30,8 @@
.\" $FreeBSD$
.\"
.Dd September 18, 2009
-.Os
.Dt VOP_ACCESS 9
+.Os
.Sh NAME
.Nm VOP_ACCESS ,
.Nm VOP_ACCESSX
diff --git a/share/man/man9/VOP_ACLCHECK.9 b/share/man/man9/VOP_ACLCHECK.9
index 62102281ce7b..363811213374 100644
--- a/share/man/man9/VOP_ACLCHECK.9
+++ b/share/man/man9/VOP_ACLCHECK.9
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd December 23, 1999
-.Os
.Dt VOP_ACLCHECK 9
+.Os
.Sh NAME
.Nm VOP_ACLCHECK
.Nd check an access control list for a vnode
diff --git a/share/man/man9/VOP_ADVLOCK.9 b/share/man/man9/VOP_ADVLOCK.9
index bdb00b7070e7..3dabc59ea496 100644
--- a/share/man/man9/VOP_ADVLOCK.9
+++ b/share/man/man9/VOP_ADVLOCK.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd June 30, 1999
-.Os
.Dt VOP_ADVLOCK 9
+.Os
.Sh NAME
.Nm VOP_ADVLOCK
.Nd advisory record locking
diff --git a/share/man/man9/VOP_ATTRIB.9 b/share/man/man9/VOP_ATTRIB.9
index f14b1a5d20b5..e48e4eb9a254 100644
--- a/share/man/man9/VOP_ATTRIB.9
+++ b/share/man/man9/VOP_ATTRIB.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd August 29, 2008
-.Os
.Dt VOP_ATTRIB 9
+.Os
.Sh NAME
.Nm VOP_GETATTR ,
.Nm VOP_SETATTR
diff --git a/share/man/man9/VOP_BWRITE.9 b/share/man/man9/VOP_BWRITE.9
index 0b8f7e0e1c66..d2ee5105166a 100644
--- a/share/man/man9/VOP_BWRITE.9
+++ b/share/man/man9/VOP_BWRITE.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 24, 1996
-.Os
.Dt VOP_BWRITE 9
+.Os
.Sh NAME
.Nm VOP_BWRITE
.Nd write a file system buffer
diff --git a/share/man/man9/VOP_CREATE.9 b/share/man/man9/VOP_CREATE.9
index 2f30328d2b0d..b86a88dce119 100644
--- a/share/man/man9/VOP_CREATE.9
+++ b/share/man/man9/VOP_CREATE.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 24, 1996
-.Os
.Dt VOP_CREATE 9
+.Os
.Sh NAME
.Nm VOP_CREATE ,
.Nm VOP_MKNOD ,
diff --git a/share/man/man9/VOP_FSYNC.9 b/share/man/man9/VOP_FSYNC.9
index 54398137c44d..e457f846640f 100644
--- a/share/man/man9/VOP_FSYNC.9
+++ b/share/man/man9/VOP_FSYNC.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 24, 1996
-.Os
.Dt VOP_FSYNC 9
+.Os
.Sh NAME
.Nm VOP_FSYNC
.Nd flush file system buffers for a file
diff --git a/share/man/man9/VOP_GETACL.9 b/share/man/man9/VOP_GETACL.9
index ba819085bb75..d23034081017 100644
--- a/share/man/man9/VOP_GETACL.9
+++ b/share/man/man9/VOP_GETACL.9
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd December 23, 1999
-.Os
.Dt VOP_GETACL 9
+.Os
.Sh NAME
.Nm VOP_GETACL
.Nd retrieve access control list for a vnode
diff --git a/share/man/man9/VOP_GETEXTATTR.9 b/share/man/man9/VOP_GETEXTATTR.9
index 0971c27a2951..cf00d26f48f6 100644
--- a/share/man/man9/VOP_GETEXTATTR.9
+++ b/share/man/man9/VOP_GETEXTATTR.9
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd December 23, 1999
-.Os
.Dt VOP_GETEXTATTR 9
+.Os
.Sh NAME
.Nm VOP_GETEXTATTR
.Nd retrieve named extended attribute from a vnode
diff --git a/share/man/man9/VOP_GETPAGES.9 b/share/man/man9/VOP_GETPAGES.9
index ffac609de133..ab0afe8be095 100644
--- a/share/man/man9/VOP_GETPAGES.9
+++ b/share/man/man9/VOP_GETPAGES.9
@@ -30,8 +30,8 @@
.\" $FreeBSD$
.\"
.Dd September 27, 2003
-.Os
.Dt VOP_GETPAGES 9
+.Os
.Sh NAME
.Nm VOP_GETPAGES ,
.Nm VOP_PUTPAGES
diff --git a/share/man/man9/VOP_GETVOBJECT.9 b/share/man/man9/VOP_GETVOBJECT.9
index e2e0ba471a85..2490da710b57 100644
--- a/share/man/man9/VOP_GETVOBJECT.9
+++ b/share/man/man9/VOP_GETVOBJECT.9
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd September 10, 2000
-.Os
.Dt VOP_CREATEVOBJECT 9
+.Os
.Sh NAME
.Nm VOP_CREATEVOBJECT ,
.Nm VOP_DESTROYVOBJECT ,
diff --git a/share/man/man9/VOP_INACTIVE.9 b/share/man/man9/VOP_INACTIVE.9
index 75bd53b89196..2f1e4ed60bd6 100644
--- a/share/man/man9/VOP_INACTIVE.9
+++ b/share/man/man9/VOP_INACTIVE.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 24, 1996
-.Os
.Dt VOP_INACTIVE 9
+.Os
.Sh NAME
.Nm VOP_INACTIVE ,
.Nm VOP_RECLAIM
diff --git a/share/man/man9/VOP_IOCTL.9 b/share/man/man9/VOP_IOCTL.9
index 7b45484056cc..ba1208179fc3 100644
--- a/share/man/man9/VOP_IOCTL.9
+++ b/share/man/man9/VOP_IOCTL.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 24, 1996
-.Os
.Dt VOP_IOCTL 9
+.Os
.Sh NAME
.Nm VOP_IOCTL
.Nd device specific control
diff --git a/share/man/man9/VOP_LINK.9 b/share/man/man9/VOP_LINK.9
index b7fbb7bd2270..f5b7c68e7042 100644
--- a/share/man/man9/VOP_LINK.9
+++ b/share/man/man9/VOP_LINK.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 24, 1996
-.Os
.Dt VOP_LINK 9
+.Os
.Sh NAME
.Nm VOP_LINK
.Nd create a new name for a file
diff --git a/share/man/man9/VOP_LISTEXTATTR.9 b/share/man/man9/VOP_LISTEXTATTR.9
index 4c8b744efcfa..cca875d68ee1 100644
--- a/share/man/man9/VOP_LISTEXTATTR.9
+++ b/share/man/man9/VOP_LISTEXTATTR.9
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd August 19, 2005
-.Os
.Dt VOP_LISTEXTATTR 9
+.Os
.Sh NAME
.Nm VOP_LISTEXTATTR
.Nd retrieve a list of named extended attribute from a vnode
diff --git a/share/man/man9/VOP_LOCK.9 b/share/man/man9/VOP_LOCK.9
index 6c54a38df5ba..b4fdc7ac72b9 100644
--- a/share/man/man9/VOP_LOCK.9
+++ b/share/man/man9/VOP_LOCK.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd February 25, 2008
-.Os
.Dt VOP_LOCK 9
+.Os
.Sh NAME
.Nm VOP_LOCK ,
.Nm VOP_UNLOCK ,
diff --git a/share/man/man9/VOP_LOOKUP.9 b/share/man/man9/VOP_LOOKUP.9
index ba5a260d36b5..64023f4a9e61 100644
--- a/share/man/man9/VOP_LOOKUP.9
+++ b/share/man/man9/VOP_LOOKUP.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd November 24, 1997
-.Os
.Dt VOP_LOOKUP 9
+.Os
.Sh NAME
.Nm VOP_LOOKUP
.Nd lookup a component of a pathname
diff --git a/share/man/man9/VOP_OPENCLOSE.9 b/share/man/man9/VOP_OPENCLOSE.9
index 7430da70f3ef..5442e3277f46 100644
--- a/share/man/man9/VOP_OPENCLOSE.9
+++ b/share/man/man9/VOP_OPENCLOSE.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd December 2, 2009
-.Os
.Dt VOP_OPEN 9
+.Os
.Sh NAME
.Nm VOP_OPEN ,
.Nm VOP_CLOSE
diff --git a/share/man/man9/VOP_PATHCONF.9 b/share/man/man9/VOP_PATHCONF.9
index 056f6479a839..38fed835002e 100644
--- a/share/man/man9/VOP_PATHCONF.9
+++ b/share/man/man9/VOP_PATHCONF.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 24, 1996
-.Os
.Dt VOP_PATHCONF 9
+.Os
.Sh NAME
.Nm VOP_PATHCONF
.Nd return POSIX pathconf information
diff --git a/share/man/man9/VOP_PRINT.9 b/share/man/man9/VOP_PRINT.9
index 2da85f9a9d7b..c8188fc0263f 100644
--- a/share/man/man9/VOP_PRINT.9
+++ b/share/man/man9/VOP_PRINT.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 24, 1996
-.Os
.Dt VOP_PRINT 9
+.Os
.Sh NAME
.Nm VOP_PRINT
.Nd print debugging information
diff --git a/share/man/man9/VOP_RDWR.9 b/share/man/man9/VOP_RDWR.9
index b01052367853..eb1af7842073 100644
--- a/share/man/man9/VOP_RDWR.9
+++ b/share/man/man9/VOP_RDWR.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 24, 1996
-.Os
.Dt VOP_RDWR 9
+.Os
.Sh NAME
.Nm VOP_READ ,
.Nm VOP_WRITE
diff --git a/share/man/man9/VOP_READDIR.9 b/share/man/man9/VOP_READDIR.9
index 5b9443811627..057600e914df 100644
--- a/share/man/man9/VOP_READDIR.9
+++ b/share/man/man9/VOP_READDIR.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 24, 1996
-.Os
.Dt VOP_READDIR 9
+.Os
.Sh NAME
.Nm VOP_READDIR
.Nd read contents of a directory
diff --git a/share/man/man9/VOP_READLINK.9 b/share/man/man9/VOP_READLINK.9
index f98222f2fb11..c1883c1e99cd 100644
--- a/share/man/man9/VOP_READLINK.9
+++ b/share/man/man9/VOP_READLINK.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 24, 1996
-.Os
.Dt VOP_READLINK 9
+.Os
.Sh NAME
.Nm VOP_READLINK
.Nd read the target of a symbolic link
diff --git a/share/man/man9/VOP_REALLOCBLKS.9 b/share/man/man9/VOP_REALLOCBLKS.9
index 9209844eb8dd..d38caf16d72e 100644
--- a/share/man/man9/VOP_REALLOCBLKS.9
+++ b/share/man/man9/VOP_REALLOCBLKS.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 24, 1996
-.Os
.Dt VOP_REALLOCBLKS 9
+.Os
.Sh NAME
.Nm VOP_REALLOCBLKS
.Nd rearrange blocks in a file to be contiguous
diff --git a/share/man/man9/VOP_REMOVE.9 b/share/man/man9/VOP_REMOVE.9
index 0a10ed222dcf..38e3b060bc53 100644
--- a/share/man/man9/VOP_REMOVE.9
+++ b/share/man/man9/VOP_REMOVE.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 24, 1996
-.Os
.Dt VOP_REMOVE 9
+.Os
.Sh NAME
.Nm VOP_REMOVE ,
.Nm VOP_RMDIR
diff --git a/share/man/man9/VOP_RENAME.9 b/share/man/man9/VOP_RENAME.9
index 87975852959f..76bb0dc1a1c3 100644
--- a/share/man/man9/VOP_RENAME.9
+++ b/share/man/man9/VOP_RENAME.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 24, 1996
-.Os
.Dt VOP_RENAME 9
+.Os
.Sh NAME
.Nm VOP_RENAME
.Nd rename a file
diff --git a/share/man/man9/VOP_REVOKE.9 b/share/man/man9/VOP_REVOKE.9
index 6e0401435348..3557ce1109e8 100644
--- a/share/man/man9/VOP_REVOKE.9
+++ b/share/man/man9/VOP_REVOKE.9
@@ -35,8 +35,8 @@
.\" $FreeBSD$
.\"
.Dd February 5, 2002
-.Os
.Dt VOP_REVOKE 9
+.Os
.Sh NAME
.Nm VOP_REVOKE
.Nd "revoke access to a device and its aliases"
diff --git a/share/man/man9/VOP_SETACL.9 b/share/man/man9/VOP_SETACL.9
index b6a7003a86b6..482d28980349 100644
--- a/share/man/man9/VOP_SETACL.9
+++ b/share/man/man9/VOP_SETACL.9
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd December 23, 1999
-.Os
.Dt VOP_SETACL 9
+.Os
.Sh NAME
.Nm VOP_SETACL
.Nd set the access control list for a vnode
diff --git a/share/man/man9/VOP_SETEXTATTR.9 b/share/man/man9/VOP_SETEXTATTR.9
index ccb8aaad0fb6..4bc53877b5a6 100644
--- a/share/man/man9/VOP_SETEXTATTR.9
+++ b/share/man/man9/VOP_SETEXTATTR.9
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd December 23, 1999
-.Os
.Dt VOP_SETEXTATTR 9
+.Os
.Sh NAME
.Nm VOP_SETEXTATTR
.Nd set named extended attribute for a vnode
diff --git a/share/man/man9/VOP_STRATEGY.9 b/share/man/man9/VOP_STRATEGY.9
index 8c4fbace42a7..33d9fb8c1468 100644
--- a/share/man/man9/VOP_STRATEGY.9
+++ b/share/man/man9/VOP_STRATEGY.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 24, 1996
-.Os
.Dt VOP_STRATEGY 9
+.Os
.Sh NAME
.Nm VOP_STRATEGY
.Nd read or write a file system buffer
diff --git a/share/man/man9/VOP_VPTOCNP.9 b/share/man/man9/VOP_VPTOCNP.9
index 892b4a64ae00..785821513816 100644
--- a/share/man/man9/VOP_VPTOCNP.9
+++ b/share/man/man9/VOP_VPTOCNP.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd December 7, 2008
-.Os
.Dt VOP_VPTOCNP 9
+.Os
.Sh NAME
.Nm VOP_VPTOCNP
.Nd translate a vnode to its component name
diff --git a/share/man/man9/VOP_VPTOFH.9 b/share/man/man9/VOP_VPTOFH.9
index 36e703d7958d..3619a7b065a3 100644
--- a/share/man/man9/VOP_VPTOFH.9
+++ b/share/man/man9/VOP_VPTOFH.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd February 16, 2007
-.Os
.Dt VOP_VPTOFH 9
+.Os
.Sh NAME
.Nm VOP_VPTOFH
.Nd turn a vnode into an NFS filehandle
diff --git a/share/man/man9/accept_filter.9 b/share/man/man9/accept_filter.9
index 4a7d239f86d9..3f89a0cdf7d6 100644
--- a/share/man/man9/accept_filter.9
+++ b/share/man/man9/accept_filter.9
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\" "
.Dd June 25, 2000
-.Os
.Dt ACCEPT_FILTER 9
+.Os
.Sh NAME
.Nm accept_filter ,
.Nm accept_filt_add ,
diff --git a/share/man/man9/accf_data.9 b/share/man/man9/accf_data.9
index 836deba17a6e..2d3b7a24d693 100644
--- a/share/man/man9/accf_data.9
+++ b/share/man/man9/accf_data.9
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\" "
.Dd November 15, 2000
-.Os
.Dt ACCF_DATA 9
+.Os
.Sh NAME
.Nm accf_data
.Nd buffer incoming connections until data arrives
diff --git a/share/man/man9/accf_dns.9 b/share/man/man9/accf_dns.9
index f4b1563bb73b..4a2dad250666 100644
--- a/share/man/man9/accf_dns.9
+++ b/share/man/man9/accf_dns.9
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\" "
.Dd July 16, 2008
-.Os
.Dt ACCF_DNS 9
+.Os
.Sh NAME
.Nm accf_dns
.Nd buffer incoming DNS requests until the whole first request is present
diff --git a/share/man/man9/accf_http.9 b/share/man/man9/accf_http.9
index a75321c9b1b2..2a340605ecf5 100644
--- a/share/man/man9/accf_http.9
+++ b/share/man/man9/accf_http.9
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\" "
.Dd November 15, 2000
-.Os
.Dt ACCF_HTTP 9
+.Os
.Sh NAME
.Nm accf_http
.Nd "buffer incoming connections until a certain complete HTTP requests arrive"
diff --git a/share/man/man9/acl.9 b/share/man/man9/acl.9
index c5192fc8b140..21640bd7b86f 100644
--- a/share/man/man9/acl.9
+++ b/share/man/man9/acl.9
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd September 18, 2009
-.Os
.Dt ACL 9
+.Os
.Sh NAME
.Nm acl
.Nd virtual file system access control lists
diff --git a/share/man/man9/atomic.9 b/share/man/man9/atomic.9
index 0bc567c4b9bf..94c4ba4d0e02 100644
--- a/share/man/man9/atomic.9
+++ b/share/man/man9/atomic.9
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd September 27, 2005
-.Os
.Dt ATOMIC 9
+.Os
.Sh NAME
.Nm atomic_add ,
.Nm atomic_clear ,
diff --git a/share/man/man9/cr_cansee.9 b/share/man/man9/cr_cansee.9
index 53823c16371a..c4cc2d4a861e 100644
--- a/share/man/man9/cr_cansee.9
+++ b/share/man/man9/cr_cansee.9
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd November 19, 2006
-.Os
.Dt CR_CANSEE 9
+.Os
.Sh NAME
.Nm cr_cansee
.Nd "determine visibility of objects given their user credentials"
diff --git a/share/man/man9/cr_seeothergids.9 b/share/man/man9/cr_seeothergids.9
index 1f5f4ee05dba..87fd13962265 100644
--- a/share/man/man9/cr_seeothergids.9
+++ b/share/man/man9/cr_seeothergids.9
@@ -28,8 +28,8 @@
.\" $FreeBSD$
.\"
.Dd November 11, 2003
-.Os
.Dt CR_SEEOTHERGIDS 9
+.Os
.Sh NAME
.Nm cr_seeothergids
.Nd determine visibility of objects given their group memberships
diff --git a/share/man/man9/cr_seeotheruids.9 b/share/man/man9/cr_seeotheruids.9
index e79363f225eb..2066c405e55e 100644
--- a/share/man/man9/cr_seeotheruids.9
+++ b/share/man/man9/cr_seeotheruids.9
@@ -28,8 +28,8 @@
.\" $FreeBSD$
.\"
.Dd November 11, 2003
-.Os
.Dt CR_SEEOTHERUIDS 9
+.Os
.Sh NAME
.Nm cr_seeotheruids
.Nd determine visibility of objects given their user credentials
diff --git a/share/man/man9/devfs_set_cdevpriv.9 b/share/man/man9/devfs_set_cdevpriv.9
index 0896d4de0810..fcdc5c4fd419 100644
--- a/share/man/man9/devfs_set_cdevpriv.9
+++ b/share/man/man9/devfs_set_cdevpriv.9
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd September 8, 2008
-.Os
.Dt DEVFS_CDEVPRIV
+.Os
.Sh NAME
.Nm devfs_set_cdevpriv ,
.Nm devfs_get_cdevpriv ,
diff --git a/share/man/man9/devtoname.9 b/share/man/man9/devtoname.9
index 9a62a5ededb6..f93e77bccc08 100644
--- a/share/man/man9/devtoname.9
+++ b/share/man/man9/devtoname.9
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd September 25, 1999
-.Os
.Dt DEVTONAME 9
+.Os
.Sh NAME
.Nm devtoname
.Nd "converts dev_t data into a string indicating the device name"
diff --git a/share/man/man9/extattr.9 b/share/man/man9/extattr.9
index 9c74a60bf9bc..bf79487f8bf4 100644
--- a/share/man/man9/extattr.9
+++ b/share/man/man9/extattr.9
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd December 23, 1999
-.Os
.Dt EXTATTR 9
+.Os
.Sh NAME
.Nm extattr
.Nd virtual file system named extended attributes
diff --git a/share/man/man9/firmware.9 b/share/man/man9/firmware.9
index 87d43e3205a2..5254f2448ad1 100644
--- a/share/man/man9/firmware.9
+++ b/share/man/man9/firmware.9
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 2, 2008
-.Os
.Dt FIRMWARE 9
+.Os
.Sh NAME
.Nm firmware_register ,
.Nm firmware_unregister ,
diff --git a/share/man/man9/hexdump.9 b/share/man/man9/hexdump.9
index 656299cd5611..a731ab51ab93 100644
--- a/share/man/man9/hexdump.9
+++ b/share/man/man9/hexdump.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd December 7, 2003
-.Os
.Dt HEXDUMP 9
+.Os
.Sh NAME
.Nm hexdump
.Nd "dump a block of bytes to the console in hexadecimal form"
diff --git a/share/man/man9/ifnet.9 b/share/man/man9/ifnet.9
index 7a3a3d9d9e94..55e75418536f 100644
--- a/share/man/man9/ifnet.9
+++ b/share/man/man9/ifnet.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd December 1, 2009
-.Os
.Dt IFNET 9
+.Os
.Sh NAME
.Nm ifnet ,
.Nm ifaddr ,
diff --git a/share/man/man9/make_dev.9 b/share/man/man9/make_dev.9
index b39ca8b833e4..50f7d46fc6c2 100644
--- a/share/man/man9/make_dev.9
+++ b/share/man/man9/make_dev.9
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd September 28, 2008
-.Os
.Dt MAKE_DEV 9
+.Os
.Sh NAME
.Nm make_dev ,
.Nm make_dev_cred ,
diff --git a/share/man/man9/namei.9 b/share/man/man9/namei.9
index 0325c36fa58f..33f753f14499 100644
--- a/share/man/man9/namei.9
+++ b/share/man/man9/namei.9
@@ -34,8 +34,8 @@
.\" $FreeBSD$
.\"
.Dd September 21, 2005
-.Os
.Dt NAMEI 9
+.Os
.Sh NAME
.Nm namei ,
.Nm NDINIT ,
diff --git a/share/man/man9/p_candebug.9 b/share/man/man9/p_candebug.9
index 2127fbc4a286..6249a4de4104 100644
--- a/share/man/man9/p_candebug.9
+++ b/share/man/man9/p_candebug.9
@@ -28,8 +28,8 @@
.\" $FreeBSD$
.\"
.Dd November 19, 2006
-.Os
.Dt P_CANDEBUG 9
+.Os
.Sh NAME
.Nm p_candebug
.Nd determine debuggability of a process
diff --git a/share/man/man9/p_cansee.9 b/share/man/man9/p_cansee.9
index 92ffeeaaa786..fafe9d3a1fb6 100644
--- a/share/man/man9/p_cansee.9
+++ b/share/man/man9/p_cansee.9
@@ -27,8 +27,8 @@
.\" $FreeBSD$
.\"
.Dd November 19, 2006
-.Os
.Dt P_CANSEE 9
+.Os
.Sh NAME
.Nm p_cansee
.Nd determine visibility of a process
diff --git a/share/man/man9/pfind.9 b/share/man/man9/pfind.9
index 58adab3fad32..dfd15b8dcf74 100644
--- a/share/man/man9/pfind.9
+++ b/share/man/man9/pfind.9
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd July 11, 2001
-.Os
.Dt PFIND 9
+.Os
.Sh NAME
.Nm pfind , zpfind
.Nd locate a process by number
diff --git a/share/man/man9/pgfind.9 b/share/man/man9/pgfind.9
index 96abd0ae5214..a3049876d729 100644
--- a/share/man/man9/pgfind.9
+++ b/share/man/man9/pgfind.9
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd August 8, 2001
-.Os
.Dt PGFIND 9
+.Os
.Sh NAME
.Nm pgfind
.Nd "locate a process group by number"
diff --git a/share/man/man9/prison_check.9 b/share/man/man9/prison_check.9
index a8ba040131aa..68e90fb7fef9 100644
--- a/share/man/man9/prison_check.9
+++ b/share/man/man9/prison_check.9
@@ -28,8 +28,8 @@
.\" $FreeBSD$
.\"
.Dd December 11, 2003
-.Os
.Dt PRISON_CHECK 9
+.Os
.Sh NAME
.Nm prison_check
.Nd determine if two credentials belong to the same jail
diff --git a/share/man/man9/random.9 b/share/man/man9/random.9
index 426774e9083f..1d7c7daf0894 100644
--- a/share/man/man9/random.9
+++ b/share/man/man9/random.9
@@ -27,8 +27,8 @@
.\" $FreeBSD$
.\" "
.Dd September 25, 2000
-.Os
.Dt RANDOM 9
+.Os
.Sh NAME
.Nm arc4rand ,
.Nm arc4random ,
diff --git a/share/man/man9/rijndael.9 b/share/man/man9/rijndael.9
index 5ee423971de1..48b402bc0f11 100644
--- a/share/man/man9/rijndael.9
+++ b/share/man/man9/rijndael.9
@@ -27,8 +27,8 @@
.\" $FreeBSD$
.\" "
.Dd February 6, 2002
-.Os
.Dt RIJNDAEL 9
+.Os
.Sh NAME
.Nm rijndael_makeKey ,
.Nm rijndael_cipherInit ,
diff --git a/share/man/man9/rtalloc.9 b/share/man/man9/rtalloc.9
index cbd2c5eaab5f..31d5ebbdf673 100644
--- a/share/man/man9/rtalloc.9
+++ b/share/man/man9/rtalloc.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd December 11, 2008
-.Os
.Dt RTALLOC 9
+.Os
.Sh NAME
.Nm rtalloc ,
.Nm rtalloc_ign ,
diff --git a/share/man/man9/rtentry.9 b/share/man/man9/rtentry.9
index 0e25b21acfc4..d7e6953f5f82 100644
--- a/share/man/man9/rtentry.9
+++ b/share/man/man9/rtentry.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd December 11, 2008
-.Os
.Dt RTENTRY 9
+.Os
.Sh NAME
.Nm rtentry
.Nd structure of an entry in the kernel routing table
diff --git a/share/man/man9/sleep.9 b/share/man/man9/sleep.9
index 8fb7f88a3200..91a212166bd7 100644
--- a/share/man/man9/sleep.9
+++ b/share/man/man9/sleep.9
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd December 12, 2009
-.Os
.Dt SLEEP 9
+.Os
.Sh NAME
.Nm msleep ,
.Nm msleep_spin ,
diff --git a/share/man/man9/spl.9 b/share/man/man9/spl.9
index fe4bec27f575..95a5fc25afff 100644
--- a/share/man/man9/spl.9
+++ b/share/man/man9/spl.9
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd July 21, 1996
-.Os
.Dt SPL 9
+.Os
.Sh NAME
.Nm splbio ,
.Nm splclock ,
diff --git a/share/man/man9/uio.9 b/share/man/man9/uio.9
index b5c12cbe3bd0..0ddb2d39f999 100644
--- a/share/man/man9/uio.9
+++ b/share/man/man9/uio.9
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd March 21, 2010
-.Os
.Dt UIO 9
+.Os
.Sh NAME
.Nm uio ,
.Nm uiomove
diff --git a/share/man/man9/usbdi.9 b/share/man/man9/usbdi.9
index 100c53c439ba..a26e026640cc 100644
--- a/share/man/man9/usbdi.9
+++ b/share/man/man9/usbdi.9
@@ -25,8 +25,8 @@
.\"
.\" $FreeBSD$
.Dd June 24, 2009
-.Os
.Dt USBDI 9
+.Os
.Sh NAME
.Nm usb_fifo_alloc_buffer ,
.Nm usb_fifo_attach ,
diff --git a/share/man/man9/vaccess.9 b/share/man/man9/vaccess.9
index a2e2ec5b72a0..4bf377406903 100644
--- a/share/man/man9/vaccess.9
+++ b/share/man/man9/vaccess.9
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd September 18, 2009
-.Os
.Dt VACCESS 9
+.Os
.Sh NAME
.Nm vaccess
.Nd generate an access control decision using vnode parameters
diff --git a/share/man/man9/vaccess_acl_nfs4.9 b/share/man/man9/vaccess_acl_nfs4.9
index 32cbdb3a940d..27b4cfa644b3 100644
--- a/share/man/man9/vaccess_acl_nfs4.9
+++ b/share/man/man9/vaccess_acl_nfs4.9
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd September 18, 2009
-.Os
.Dt VACCESS_ACL_NFS4 9
+.Os
.Sh NAME
.Nm vaccess_acl_nfs4
.Nd generate a NFSv4 ACL access control decision using vnode parameters
diff --git a/share/man/man9/vaccess_acl_posix1e.9 b/share/man/man9/vaccess_acl_posix1e.9
index 06105113260f..dc857a8ee61f 100644
--- a/share/man/man9/vaccess_acl_posix1e.9
+++ b/share/man/man9/vaccess_acl_posix1e.9
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd August 22, 2001
-.Os
.Dt VACCESS_ACL_POSIX1E 9
+.Os
.Sh NAME
.Nm vaccess_acl_posix1e
.Nd generate a POSIX.1e ACL access control decision using vnode parameters
diff --git a/share/man/man9/vcount.9 b/share/man/man9/vcount.9
index 610891b6a8dd..41263b9a1a3c 100644
--- a/share/man/man9/vcount.9
+++ b/share/man/man9/vcount.9
@@ -33,8 +33,8 @@
.\" $FreeBSD$
.\"
.Dd February 6, 2001
-.Os
.Dt VCOUNT 9
+.Os
.Sh NAME
.Nm vcount ,
.Nm count_dev
diff --git a/share/man/man9/vget.9 b/share/man/man9/vget.9
index ef8fb10dd05f..1a7d16cdc378 100644
--- a/share/man/man9/vget.9
+++ b/share/man/man9/vget.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 24, 1996
-.Os
.Dt VGET 9
+.Os
.Sh NAME
.Nm vget
.Nd get a vnode from the free list
diff --git a/share/man/man9/vm_map_entry_resize_free.9 b/share/man/man9/vm_map_entry_resize_free.9
index b037bcb45621..eaaec650fb60 100644
--- a/share/man/man9/vm_map_entry_resize_free.9
+++ b/share/man/man9/vm_map_entry_resize_free.9
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd August 17, 2004
-.Os
.Dt VM_MAP_ENTRY_RESIZE_FREE 9
+.Os
.Sh NAME
.Nm vm_map_entry_resize_free
.Nd "vm map free space algorithm"
diff --git a/share/man/man9/vnode.9 b/share/man/man9/vnode.9
index 49a2cc77d1c1..cfc6f7d5f7ff 100644
--- a/share/man/man9/vnode.9
+++ b/share/man/man9/vnode.9
@@ -27,8 +27,8 @@
.\" $FreeBSD$
.\"
.Dd February 13, 2010
-.Os
.Dt VNODE 9
+.Os
.Sh NAME
.Nm vnode
.Nd internal representation of a file or directory
diff --git a/share/man/man9/vput.9 b/share/man/man9/vput.9
index 47bee09b75ed..d915539d4b75 100644
--- a/share/man/man9/vput.9
+++ b/share/man/man9/vput.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 24, 1996
-.Os
.Dt VPUT 9
+.Os
.Sh NAME
.Nm vput
.Nd "decrement the use count for a vnode and unlock it"
diff --git a/share/man/man9/vref.9 b/share/man/man9/vref.9
index d979fb3f2c77..f21b9f269f33 100644
--- a/share/man/man9/vref.9
+++ b/share/man/man9/vref.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 24, 1996
-.Os
.Dt VREF 9
+.Os
.Sh NAME
.Nm vref
.Nd increment the use count for a vnode
diff --git a/share/man/man9/vrefcnt.9 b/share/man/man9/vrefcnt.9
index fbf43df7eed5..de7af26fb9c0 100644
--- a/share/man/man9/vrefcnt.9
+++ b/share/man/man9/vrefcnt.9
@@ -27,8 +27,8 @@
.\" $FreeBSD$
.\"
.Dd February 10, 2008
-.Os
.Dt VREFCNT 9
+.Os
.Sh NAME
.Nm vrefcnt
.Nd returns the use count of a vnode
diff --git a/share/man/man9/vrele.9 b/share/man/man9/vrele.9
index 249114900b1b..be5d5f7ade7b 100644
--- a/share/man/man9/vrele.9
+++ b/share/man/man9/vrele.9
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 24, 1996
-.Os
.Dt VRELE 9
+.Os
.Sh NAME
.Nm vrele
.Nd decrement the use count for a vnode
diff --git a/usr.bin/ar/ar.1 b/usr.bin/ar/ar.1
index cb9414e4b7b2..250cd20f90bd 100644
--- a/usr.bin/ar/ar.1
+++ b/usr.bin/ar/ar.1
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 31, 2007
-.Os
.Dt AR 1
+.Os
.Sh NAME
.Nm ar ,
.Nm ranlib
diff --git a/usr.bin/c89/c89.1 b/usr.bin/c89/c89.1
index 302aa321dad7..82acf37fbca7 100644
--- a/usr.bin/c89/c89.1
+++ b/usr.bin/c89/c89.1
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd September 17, 1997
-.Os
.Dt C89 1
+.Os
.Sh NAME
.Nm c89
.Nd POSIX.2 C language compiler
diff --git a/usr.bin/c99/c99.1 b/usr.bin/c99/c99.1
index c56e5856e354..e5207e5a0586 100644
--- a/usr.bin/c99/c99.1
+++ b/usr.bin/c99/c99.1
@@ -27,8 +27,8 @@
.\" $FreeBSD$
.\"
.Dd October 7, 2002
-.Os
.Dt C99 1
+.Os
.Sh NAME
.Nm c99
.Nd standard C language compiler
diff --git a/usr.bin/column/column.1 b/usr.bin/column/column.1
index 5c5a100fe3b1..d4418c5ec751 100644
--- a/usr.bin/column/column.1
+++ b/usr.bin/column/column.1
@@ -33,8 +33,8 @@
.\" $FreeBSD$
.\"
.Dd July 29, 2004
-.Os
.Dt COLUMN 1
+.Os
.Sh NAME
.Nm column
.Nd columnate lists
diff --git a/usr.bin/comm/comm.1 b/usr.bin/comm/comm.1
index 02b508cf6264..67b5eecca579 100644
--- a/usr.bin/comm/comm.1
+++ b/usr.bin/comm/comm.1
@@ -36,8 +36,8 @@
.\" $FreeBSD$
.\"
.Dd December 12, 2009
-.Os
.Dt COMM 1
+.Os
.Sh NAME
.Nm comm
.Nd select or reject lines common to two files
diff --git a/usr.bin/csup/cpasswd.1 b/usr.bin/csup/cpasswd.1
index 973dc808f28f..1f486d18dcd2 100644
--- a/usr.bin/csup/cpasswd.1
+++ b/usr.bin/csup/cpasswd.1
@@ -30,8 +30,8 @@
.\" $FreeBSD$
.\"
.Dd June 27, 2007
-.Os FreeBSD
.Dt CPASSWD 1
+.Os FreeBSD
.Sh NAME
.Nm cpasswd
.Nd scramble passwords for csup authentication
diff --git a/usr.bin/csup/csup.1 b/usr.bin/csup/csup.1
index 2690863bde0c..02e2edb168f0 100644
--- a/usr.bin/csup/csup.1
+++ b/usr.bin/csup/csup.1
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd February 1, 2006
-.Os FreeBSD
.Dt CSUP 1
+.Os FreeBSD
.Sh NAME
.Nm csup
.Nd network distribution package for CVS repositories
diff --git a/usr.bin/enigma/enigma.1 b/usr.bin/enigma/enigma.1
index 4fc0b206fe9b..e5f65ac4a4de 100644
--- a/usr.bin/enigma/enigma.1
+++ b/usr.bin/enigma/enigma.1
@@ -7,8 +7,8 @@
.\" $FreeBSD$
.\" "
.Dd May 14, 2004
-.Os
.Dt ENIGMA 1
+.Os
.Sh NAME
.Nm enigma ,
.Nm crypt
diff --git a/usr.bin/hexdump/od.1 b/usr.bin/hexdump/od.1
index dd67ff58b234..b5b5494a47aa 100644
--- a/usr.bin/hexdump/od.1
+++ b/usr.bin/hexdump/od.1
@@ -33,8 +33,8 @@
.\" $FreeBSD$
.\"
.Dd February 18, 2010
-.Os
.Dt OD 1
+.Os
.Sh NAME
.Nm od
.Nd octal, decimal, hex, ASCII dump
diff --git a/usr.bin/killall/killall.1 b/usr.bin/killall/killall.1
index 19362bc6d655..58ffa068b9f7 100644
--- a/usr.bin/killall/killall.1
+++ b/usr.bin/killall/killall.1
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd December 25, 2009
-.Os
.Dt KILLALL 1
+.Os
.Sh NAME
.Nm killall
.Nd kill processes by name
diff --git a/usr.bin/lockf/lockf.1 b/usr.bin/lockf/lockf.1
index 6e2e06eae588..255a8283a1f6 100644
--- a/usr.bin/lockf/lockf.1
+++ b/usr.bin/lockf/lockf.1
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd July 7, 1998
-.Os
.Dt LOCKF 1
+.Os
.Sh NAME
.Nm lockf
.Nd execute a command while holding a file lock
diff --git a/usr.bin/wtmpcvt/wtmpcvt.1 b/usr.bin/wtmpcvt/wtmpcvt.1
index fdc995b4d5c0..50f89eeb5c5e 100644
--- a/usr.bin/wtmpcvt/wtmpcvt.1
+++ b/usr.bin/wtmpcvt/wtmpcvt.1
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd January 14, 2010
-.Os
.Dt WTMPCVT 1
+.Os
.Sh NAME
.Nm wtmpcvt
.Nd convert wtmp files to the utmpx format
diff --git a/usr.sbin/asf/asf.8 b/usr.sbin/asf/asf.8
index 25b03089c7a6..92edb4b790d8 100644
--- a/usr.sbin/asf/asf.8
+++ b/usr.sbin/asf/asf.8
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd December 20, 2006
-.Os
.Dt ASF 8
+.Os
.Sh NAME
.Nm asf
.Nd add symbol files
diff --git a/usr.sbin/burncd/burncd.8 b/usr.sbin/burncd/burncd.8
index 2501e7209c7b..a9c53e627748 100644
--- a/usr.sbin/burncd/burncd.8
+++ b/usr.sbin/burncd/burncd.8
@@ -28,8 +28,8 @@
.\" $FreeBSD$
.\"
.Dd December 21, 2009
-.Os
.Dt BURNCD 8
+.Os
.Sh NAME
.Nm burncd
.Nd control the ATAPI CD-R/RW driver
diff --git a/usr.sbin/ctm/ctm/ctm.1 b/usr.sbin/ctm/ctm/ctm.1
index 732b0b9a9685..d5cc6144d1d6 100644
--- a/usr.sbin/ctm/ctm/ctm.1
+++ b/usr.sbin/ctm/ctm/ctm.1
@@ -13,8 +13,8 @@
.\" $FreeBSD$
.\"
.Dd March 25, 1995
-.Os
.Dt CTM 1
+.Os
.Sh NAME
.Nm ctm
.Nd source code mirror program
diff --git a/usr.sbin/ctm/ctm/ctm.5 b/usr.sbin/ctm/ctm/ctm.5
index 678837e6182e..a51c93b00698 100644
--- a/usr.sbin/ctm/ctm/ctm.5
+++ b/usr.sbin/ctm/ctm/ctm.5
@@ -13,8 +13,8 @@
.\" $FreeBSD$
.\"
.Dd March 25, 1995
-.Os
.Dt CTM 5
+.Os
.Sh NAME
.Nm ctm
.Nd source code mirror system
diff --git a/usr.sbin/devinfo/devinfo.8 b/usr.sbin/devinfo/devinfo.8
index 6c893dc66a5a..ecb3b0126370 100644
--- a/usr.sbin/devinfo/devinfo.8
+++ b/usr.sbin/devinfo/devinfo.8
@@ -28,8 +28,8 @@
.\" $FreeBSD$
.\"
.Dd November 28, 2005
-.Os
.Dt DEVINFO 8
+.Os
.Sh NAME
.Nm devinfo
.Nd print information about system device configuration
diff --git a/usr.sbin/fdformat/fdformat.1 b/usr.sbin/fdformat/fdformat.1
index 25891c0f003b..596b09b6cc05 100644
--- a/usr.sbin/fdformat/fdformat.1
+++ b/usr.sbin/fdformat/fdformat.1
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd December 25, 2001
-.Os
.Dt FDFORMAT 1
+.Os
.Sh NAME
.Nm fdformat
.Nd format floppy disks
diff --git a/usr.sbin/fdread/fdread.1 b/usr.sbin/fdread/fdread.1
index 20a79fc14531..d29a4a44dd64 100644
--- a/usr.sbin/fdread/fdread.1
+++ b/usr.sbin/fdread/fdread.1
@@ -27,8 +27,8 @@
.\"
.\"
.Dd May 14, 2001
-.Os
.Dt FDREAD 1
+.Os
.Sh NAME
.Nm fdread
.Nd read floppy disks
diff --git a/usr.sbin/fdwrite/fdwrite.1 b/usr.sbin/fdwrite/fdwrite.1
index 28df514f2645..e8473983bffc 100644
--- a/usr.sbin/fdwrite/fdwrite.1
+++ b/usr.sbin/fdwrite/fdwrite.1
@@ -10,8 +10,8 @@
.\"
.\"
.Dd September 16, 1993
-.Os
.Dt FDWRITE 1
+.Os
.Sh NAME
.Nm fdwrite
.Nd format and write floppy disks
diff --git a/usr.sbin/fifolog/fifolog_create/fifolog.1 b/usr.sbin/fifolog/fifolog_create/fifolog.1
index 7db58e71840c..d0be0ce9bb3a 100644
--- a/usr.sbin/fifolog/fifolog_create/fifolog.1
+++ b/usr.sbin/fifolog/fifolog_create/fifolog.1
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd February 9, 2008
-.Os
.Dt FIFOLOG 1
+.Os
.Sh NAME
.Nm fifolog_create , fifolog_writer , fifolog_reader
.Nd "initialize, write, seek and extract data from a fifolog"
diff --git a/usr.sbin/flowctl/flowctl.8 b/usr.sbin/flowctl/flowctl.8
index e72486bbf800..75304c45910f 100644
--- a/usr.sbin/flowctl/flowctl.8
+++ b/usr.sbin/flowctl/flowctl.8
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd March 23, 2005
-.Os
.Dt FLOWCTL 8
+.Os
.Sh NAME
.Nm flowctl
.Nd
diff --git a/usr.sbin/mtest/mtest.8 b/usr.sbin/mtest/mtest.8
index b4d3514582c0..9a961e018469 100644
--- a/usr.sbin/mtest/mtest.8
+++ b/usr.sbin/mtest/mtest.8
@@ -27,8 +27,8 @@
.\" $FreeBSD$
.\"
.Dd April 29, 2009
-.Os
.Dt MTEST 8
+.Os
.Sh NAME
.Nm mtest
.Nd test multicast socket operations
diff --git a/usr.sbin/periodic/periodic.8 b/usr.sbin/periodic/periodic.8
index 63359308656e..22a96a2a647d 100644
--- a/usr.sbin/periodic/periodic.8
+++ b/usr.sbin/periodic/periodic.8
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd August 30, 2007
-.Os
.Dt PERIODIC 8
+.Os
.Sh NAME
.Nm periodic
.Nd run periodic system functions
diff --git a/usr.sbin/pmcannotate/pmcannotate.8 b/usr.sbin/pmcannotate/pmcannotate.8
index adadae437fa1..17c7c0ed5d68 100644
--- a/usr.sbin/pmcannotate/pmcannotate.8
+++ b/usr.sbin/pmcannotate/pmcannotate.8
@@ -28,8 +28,8 @@
.\" $FreeBSD$
.\"
.Dd November 20, 2008
-.Os
.Dt PMCANNOTATE 8
+.Os
.Sh NAME
.Nm pmcannotate
.Nd "sources printout with inlined profiling"
diff --git a/usr.sbin/pmccontrol/pmccontrol.8 b/usr.sbin/pmccontrol/pmccontrol.8
index e521a1f47029..f436753dd372 100644
--- a/usr.sbin/pmccontrol/pmccontrol.8
+++ b/usr.sbin/pmccontrol/pmccontrol.8
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 9, 2008
-.Os
.Dt PMCCONTROL 8
+.Os
.Sh NAME
.Nm pmccontrol
.Nd "control hardware performance monitoring counters"
diff --git a/usr.sbin/pmcstat/pmcstat.8 b/usr.sbin/pmcstat/pmcstat.8
index 309eb3eae2d4..b033357fa42a 100644
--- a/usr.sbin/pmcstat/pmcstat.8
+++ b/usr.sbin/pmcstat/pmcstat.8
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd September 19, 2008
-.Os
.Dt PMCSTAT 8
+.Os
.Sh NAME
.Nm pmcstat
.Nd "performance measurement with performance monitoring hardware"
diff --git a/usr.sbin/pppctl/pppctl.8 b/usr.sbin/pppctl/pppctl.8
index 245690f17f1f..431b7d76c17e 100644
--- a/usr.sbin/pppctl/pppctl.8
+++ b/usr.sbin/pppctl/pppctl.8
@@ -1,7 +1,7 @@
.\" $FreeBSD$
.Dd June 26, 1997
-.Os
.Dt PPPCTL 8
+.Os
.Sh NAME
.Nm pppctl
.Nd PPP control program
diff --git a/usr.sbin/setfmac/setfsmac.8 b/usr.sbin/setfmac/setfsmac.8
index 7d4150f94476..9bdb0e8f7ec9 100644
--- a/usr.sbin/setfmac/setfsmac.8
+++ b/usr.sbin/setfmac/setfsmac.8
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd February 17, 2004
-.Os
.Dt SETFSMAC 8
+.Os
.Sh NAME
.Nm setfsmac
.Nd set MAC label for a file hierarchy
diff --git a/usr.sbin/setpmac/setpmac.8 b/usr.sbin/setpmac/setpmac.8
index e84a8bc63228..c5c2963c5570 100644
--- a/usr.sbin/setpmac/setpmac.8
+++ b/usr.sbin/setpmac/setpmac.8
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd January 14, 2003
-.Os
.Dt SETPMAC 8
+.Os
.Sh NAME
.Nm setpmac
.Nd "run a command with a different MAC process label"
diff --git a/usr.sbin/uhsoctl/uhsoctl.1 b/usr.sbin/uhsoctl/uhsoctl.1
index e01c1a2af497..cd0c5ca66f8f 100644
--- a/usr.sbin/uhsoctl/uhsoctl.1
+++ b/usr.sbin/uhsoctl/uhsoctl.1
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd Aug 12, 2009
-.Os
.Dt UHSOCTL 1
+.Os
.Sh NAME
.Nm uhsoctl
.Nd connection utility for Option based devices