summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2022-01-13 08:42:15 +0000
committerIngo Schwarze <schwarze@openbsd.org>2022-01-13 08:42:15 +0000
commitdf598f0d35370f4e95f729a4f748cf82935359ca (patch)
tree6501bc5d175824eab97c5043a200c87e64e86293
parent9000d2ef3dea08a1b8e264f86867952cf7388ab5 (diff)
downloadmandoc-df598f0d35370f4e95f729a4f748cf82935359ca.tar.gz
Tedu support for the -xsh4.2 argument to the mdoc(7) .St macro
because all of the following hold: * It is an alias for a part of an ancient standard that is no longer important. * To refer to that old standard, -xpg4.2 is readily available and portable. * It is unused in OpenBSD, FreeBSD, and NetBSD. * Groff never supported it. I agreed with G. Branden Robinson that deleting this from mandoc is preferable to adding it to groff.
-rw-r--r--mdoc.77
-rw-r--r--st.c3
2 files changed, 3 insertions, 7 deletions
diff --git a/mdoc.7 b/mdoc.7
index 0a57c395..5bb9231c 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -1,4 +1,4 @@
-.\" $Id$
+.\" $Id$
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2010, 2011, 2013-2020 Ingo Schwarze <schwarze@openbsd.org>
@@ -2486,10 +2486,7 @@ Based on POSIX.1 and POSIX.2, published in 1992.
.br
This standard was published in 1994.
It was used as the basis for UNIX 95 certification.
-The following three refer to parts of it.
-.Pp
-.It \-xsh4.2
-.St -xsh4.2
+The following two refer to parts of it.
.Pp
.It \-xcurses4.2
.St -xcurses4.2
diff --git a/st.c b/st.c
index 6940e17e..4e7d7257 100644
--- a/st.c
+++ b/st.c
@@ -1,4 +1,4 @@
-/* $Id$ */
+/* $Id$ */
/*
* Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -67,7 +67,6 @@ LINE("-xpg4", "X/Open Portability Guide Issue\\~4 (\\(lqXPG4\\(rq)")
LINE("-xpg4.2", "X/Open Portability Guide Issue\\~4, Version\\~2 (\\(lqXPG4.2\\(rq)")
LINE("-xbd5", "X/Open Base Definitions Issue\\~5 (\\(lqXBD5\\(rq)")
LINE("-xcu5", "X/Open Commands and Utilities Issue\\~5 (\\(lqXCU5\\(rq)")
-LINE("-xsh4.2", "X/Open System Interfaces and Headers Issue\\~4, Version\\~2 (\\(lqXSH4.2\\(rq)")
LINE("-xsh5", "X/Open System Interfaces and Headers Issue\\~5 (\\(lqXSH5\\(rq)")
LINE("-xns5", "X/Open Networking Services Issue\\~5 (\\(lqXNS5\\(rq)")
LINE("-xns5.2", "X/Open Networking Services Issue\\~5.2 (\\(lqXNS5.2\\(rq)")