commit: 776edfd0eb4a660a00edcce7171b8b46cf31cbf0
parent: 8fb1ad4117f25c4d2e64a273cfee036ed6dc8955
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 5 Mar 2019 23:22:50 +0100
new-manpage.sh: Uppercase name for .Dt
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/new-manpage.sh b/new-manpage.sh
@@ -15,7 +15,7 @@ man_file=man${section}/${name}.${section}
cat >"${man_file}" <<EOF
.Dd $(date +%F)
-.Dt ${name} ${section}
+.Dt $(tr '[:lower:]' '[:upper:]' <<<"${name}") ${section}
.Os
.Sh PROLOG
This manual page is part of