commit: 2c68c8419dd0f7bf668449985d53315f5919a94f
parent fdf829f8054c4717c8a5001edea96530c17f2442
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 15 Mar 2023 00:25:03 +0100
new-manpage.sh: Generate copyright year, linting fixes
Diffstat:
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/header.txt b/header.txt
@@ -1,3 +0,0 @@
-.\" This file is part of Cross Unix Documentation
-.\" Copyright © 2019-2021 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
-.\" SPDX-License-Identifier: CC-BY-4.0
diff --git a/new-manpage.sh b/new-manpage.sh
@@ -17,14 +17,17 @@ usage() {
man_file=man${section}/${name}.${section}
cat >"${man_file}" <<EOF
-$(cat header.txt)
+.\" This file is part of Cross Unix Documentation
+.\" Copyright © 2019-$(date +%Y) Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+.\" SPDX-License-Identifier: CC-BY-4.0
.Dd $(date +%F)
.Dt $(tr '[:lower:]' '[:upper:]' <<<"${name}") ${section}
.Os
.Sh PROLOG
This manual page is part of
.Lk https://hacktivis.me/git/cross-unix-documentation "Cross-Unix Documentation"
-which is an attempt to provide documentation of similarities and (noteworthy) differencies between Unix-like systems.
+which is an attempt to provide documentation of similarities and (noteworthy)
+differencies between Unix-like systems.
To be used as an addition to the POSIX standard.
.Sh NAME
.Nm ${name}