gbranden pushed a commit to branch master
in repository groff.
commit 8df309ad097bebc3b6afad4033a06bb0a45d6b54
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Feb 20 19:57:53 2026 -0600
Revise test scripts' legal notices and comments.
* src/preproc/preconv/tests/do-not-seek-the-unseekable.sh: Revise
copyright notice.
Identify myself as the copyright holder. I've never executed
copyright assignment paperwork with the FSF, so my "legally
significant"[1] origination of this file in 2022 (and subsequent
changes to it) can't be under the FSF's copyright.
* Drop ersatz copyright symbol '(C)'.
Software developers have long labored under the no-longer-correct
misconception that omitting a copyright symbol from one's notice was a
fatal defect that effectively placed the work in the public domain.
That stopped being true as of 1 March 1989.[2] Further, prior to
guidance issued by the U.S. Copyright Office in the decades since, the
use of "(C)" as a substitute for a copyright sign _may not have
sufficed_ to prevent the copyright notice from being regarded as
defective. The Copyright Office, then and now, prefers the
abbreviation "copr." when © is typographically unavailable.[ibid.]
Nowadays, its advice is that "c" (note lowercase) is an "acceptable
variant", that _may_ retain the efficacy of the copyright notice. The
word "copyright", spelled out in full, also suffices per that
resource, and is already present in this notice.
* Drop stump comment after license notice.
* Revise Vim modeline to communicate less esoterically.
[1] See groff's "HACKING" file, section "Updating Copyright Notices".
[2] https://www.copyright.gov/circs/circ03.pdf
---
contrib/mom/examples/test-mom.sh.in | 3 +--
src/preproc/preconv/tests/do-not-seek-the-unseekable.sh | 5 ++---
tmac/tests/pdfpic_does-not-choke-on-bad-pdfinfo-output.sh | 3 +--
tmac/tests/pdfpic_falls-back-to-PSPIC.sh | 3 +--
4 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/contrib/mom/examples/test-mom.sh.in
b/contrib/mom/examples/test-mom.sh.in
index 770b07a8d..f394c43d5 100644
--- a/contrib/mom/examples/test-mom.sh.in
+++ b/contrib/mom/examples/test-mom.sh.in
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# Copyright (C) 2018-2025 Free Software Foundation, Inc.
+# Copyright 2018-2025 Free Software Foundation, Inc.
#
# This file is part of groff, the GNU roff typesetting system.
#
@@ -16,7 +16,6 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
builddir="@abs_top_builddir@"
have_urw_fonts="@groff_have_urw_fonts@"
diff --git a/src/preproc/preconv/tests/do-not-seek-the-unseekable.sh
b/src/preproc/preconv/tests/do-not-seek-the-unseekable.sh
index 7207cd7bd..f0605b334 100755
--- a/src/preproc/preconv/tests/do-not-seek-the-unseekable.sh
+++ b/src/preproc/preconv/tests/do-not-seek-the-unseekable.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# Copyright (C) 2022 Free Software Foundation, Inc.
+# Copyright 2022 G. Branden Robinson
#
# This file is part of groff, the GNU roff typesetting system.
#
@@ -16,7 +16,6 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
set -e
@@ -64,4 +63,4 @@ echo "$output" | grep -q "stream is not seekable" || wail
test -z "$fail"
-# vim:set ai et sw=4 ts=4 tw=72:
+# vim:set autoindent expandtab shiftwidth=4 tabstop=4 textwidth=72:
diff --git a/tmac/tests/pdfpic_does-not-choke-on-bad-pdfinfo-output.sh
b/tmac/tests/pdfpic_does-not-choke-on-bad-pdfinfo-output.sh
index a5e9fa561..7b6599345 100755
--- a/tmac/tests/pdfpic_does-not-choke-on-bad-pdfinfo-output.sh
+++ b/tmac/tests/pdfpic_does-not-choke-on-bad-pdfinfo-output.sh
@@ -16,7 +16,6 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
groff="${abs_top_builddir:-.}/test-groff"
# Give the output a name that won't collide with another test.
@@ -81,4 +80,4 @@ test -z "$fail" \
rm -f "$gnu_pdf"
test -z "$fail"
-# vim:set ai et sw=4 ts=4 tw=72:
+# vim:set autoindent expandtab shiftwidth=4 tabstop=4 textwidth=72:
diff --git a/tmac/tests/pdfpic_falls-back-to-PSPIC.sh
b/tmac/tests/pdfpic_falls-back-to-PSPIC.sh
index e3a904a4f..6244cd4be 100755
--- a/tmac/tests/pdfpic_falls-back-to-PSPIC.sh
+++ b/tmac/tests/pdfpic_falls-back-to-PSPIC.sh
@@ -16,7 +16,6 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
groff="${abs_top_builddir:-.}/test-groff"
# Give the output a name that won't collide with another test.
@@ -75,4 +74,4 @@ test -z "$fail" \
rm -f "$gnu_fallback_eps" "$gnu_pdf"
test -z "$fail"
-# vim:set ai et sw=4 ts=4 tw=72:
+# vim:set autoindent expandtab shiftwidth=4 tabstop=4 textwidth=72:
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit