[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 18/51: [mdoc]: Change default "OS" from "BSD" to "GNU".
From: |
G. Branden Robinson |
Subject: |
[groff] 18/51: [mdoc]: Change default "OS" from "BSD" to "GNU". |
Date: |
Sun, 11 Sep 2022 08:15:51 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 24d9e02d42f9ce1e1f97855bc8464e080b93c7b9
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Sep 6 18:32:36 2022 -0500
[mdoc]: Change default "OS" from "BSD" to "GNU".
* tmac/mdoc/doc-common: Change `doc-default-operating-system` string
from "BSD" to "GNU", per discussion with Ingo Schwarze. See
<https://lists.gnu.org/archive/html/groff/2022-07/msg00280.html>.
* tmac/tests/doc_smoke-test.sh: Update expectations of footer regression
test.
---
ChangeLog | 10 ++++++++++
tmac/mdoc/doc-common | 2 +-
tmac/tests/doc_smoke-test.sh | 2 +-
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 75396a4e9..3fa42425e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2022-09-06 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * tmac/mdoc/doc-common: Change `doc-default-operating-system`
+ string from "BSD" to "GNU", per discussion with Ingo Schwarze.
+ See <https://lists.gnu.org/archive/html/groff/2022-07/\
+ msg00280.html>.
+
+ * tmac/tests/doc_smoke-test.sh: Update expectations of footer
+ regression test.
+
2022-09-06 G. Branden Robinson <g.branden.robinson@gmail.com>
* tmac/mdoc/doc-common (Dt): Delete lingering and useless
diff --git a/tmac/mdoc/doc-common b/tmac/mdoc/doc-common
index 1bf5cd285..acd3b227c 100644
--- a/tmac/mdoc/doc-common
+++ b/tmac/mdoc/doc-common
@@ -403,7 +403,7 @@
.\" NS
.\" NS override this in 'mdoc.local', if necessary
.
-.ds doc-default-operating-system BSD\"
+.ds doc-default-operating-system GNU\"
.
.
.\" NS doc-operating-system global string
diff --git a/tmac/tests/doc_smoke-test.sh b/tmac/tests/doc_smoke-test.sh
index daeda2af7..b55f58462 100755
--- a/tmac/tests/doc_smoke-test.sh
+++ b/tmac/tests/doc_smoke-test.sh
@@ -62,7 +62,7 @@ then
echo "paragraph body check failed" >&2
fi
-if ! echo "$OUTPUT" | grep -qE '^BSD +August 25, 2020'
+if ! echo "$OUTPUT" | grep -qE '^GNU +August 25, 2020'
then
FAIL=yes
echo "footer check failed" >&2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 18/51: [mdoc]: Change default "OS" from "BSD" to "GNU".,
G. Branden Robinson <=