From e369dfdd2bafa421b72ce5cb8d3a6c5fe825d699 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 13 Jan 2022 08:42:15 +0000 Subject: 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. --- mdoc.7 | 9 +++------ st.c | 3 +-- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/mdoc.7 b/mdoc.7 index 442f3033..07ee9aec 100644 --- a/mdoc.7 +++ b/mdoc.7 @@ -1,4 +1,4 @@ -.\" $Id: mdoc.7,v 1.288 2021/12/06 16:26:08 schwarze Exp $ +.\" $Id: mdoc.7,v 1.289 2022/01/13 08:42:15 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons .\" Copyright (c) 2010, 2011, 2013-2020 Ingo Schwarze @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: December 6 2021 $ +.Dd $Mdocdate: January 13 2022 $ .Dt MDOC 7 .Os .Sh NAME @@ -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 c4d86e33..1d198bac 100644 --- a/st.c +++ b/st.c @@ -1,4 +1,4 @@ -/* $Id: st.c,v 1.16 2018/12/14 01:18:26 schwarze Exp $ */ +/* $Id: st.c,v 1.17 2022/01/13 08:42:15 schwarze Exp $ */ /* * Copyright (c) 2009, 2010 Kristaps Dzonsons * @@ -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)") -- cgit v1.2.3-56-ge451