source@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: schwarze@mandoc.bsd.lv
To: source@mandoc.bsd.lv
Subject: mandoc: Rename syntax test of the \O escape sequence (suppress output
Date: Mon, 21 Dec 2020 10:13:40 -0500 (EST)	[thread overview]
Message-ID: <fc3b946d6f409f3b@mandoc.bsd.lv> (raw)

Log Message:
-----------
Rename syntax test of the \O escape sequence (suppress output groff
extension; mandoc only implements syntax checking but ignores the
sequence) to please Bill Gates and didickman@: avoid path names that
only differ by case, like o.in vs. O.in.

Modified Files:
--------------
    mandoc/regress/roff/esc:
        Makefile

Added Files:
-----------
    mandoc/regress/roff/esc:
        O1.in
        O1.out_ascii
        O1.out_lint

Removed Files:
-------------
    mandoc/regress/roff/esc:
        O.in
        O.out_ascii
        O.out_lint

Revision Data
-------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/roff/esc/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -Lregress/roff/esc/Makefile -Lregress/roff/esc/Makefile -u -p -r1.6 -r1.7
--- regress/roff/esc/Makefile
+++ regress/roff/esc/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.16 2019/01/17 06:29:14 schwarze Exp $
+# $OpenBSD: Makefile,v 1.17 2020/12/21 14:55:58 schwarze Exp $
 
-REGRESS_TARGETS	 = one two multi B bs_man bs_mdoc c c_man e f h l O o p w z
+REGRESS_TARGETS	 = one two multi B bs_man bs_mdoc c c_man e f h l O1 o p w z
 REGRESS_TARGETS	+= ignore invalid unsupp
 HTML_TARGETS	 = f
-LINT_TARGETS	 = B h l O w ignore invalid unsupp
+LINT_TARGETS	 = B h l O1 w ignore invalid unsupp
 
 .include <bsd.regress.mk>
--- regress/roff/esc/O.out_ascii
+++ /dev/null
@@ -1,21 +0,0 @@
-ESC-O(1)                    General Commands Manual                   ESC-O(1)
-
-
-
-N\bNA\bAM\bME\bE
-       esc-O - escape sequence to suppress output
-
-D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
-       O1: ab
-       O2: ab
-       O3: ab
-       O4: ab
-       O5: ab
-       O52: ab
-       O5n: ab
-       O6: ab
-       O0: ab
-
-
-
-OpenBSD                        December 15, 2018                      ESC-O(1)
--- regress/roff/esc/O.in
+++ /dev/null
@@ -1,15 +0,0 @@
-.\" $OpenBSD$
-.TH ESC-O 1 "December 15, 2018"
-.SH NAME
-esc-O \- escape sequence to suppress output
-.SH DESCRIPTION
-.nf
-O1: a\O1b
-O2: a\O2b
-O3: a\O3b
-O4: a\O4b
-O5: a\O5b
-O52: a\O(52b
-O5n: a\O[5dummy]b
-O6: a\O6b
-O0: a\O0\&\O1b
--- /dev/null
+++ regress/roff/esc/O1.in
@@ -0,0 +1,15 @@
+.\" $OpenBSD: O1.in,v 1.1 2020/12/21 14:55:58 schwarze Exp $
+.TH ESC-O1 1 "December 15, 2018"
+.SH NAME
+esc-O1 \- escape sequence to suppress output
+.SH DESCRIPTION
+.nf
+O1: a\O1b
+O2: a\O2b
+O3: a\O3b
+O4: a\O4b
+O5: a\O5b
+O52: a\O(52b
+O5n: a\O[5dummy]b
+O6: a\O6b
+O0: a\O0\&\O1b
--- /dev/null
+++ regress/roff/esc/O1.out_ascii
@@ -0,0 +1,21 @@
+ESC-O1(1)                   General Commands Manual                  ESC-O1(1)
+
+
+
+N\bNA\bAM\bME\bE
+       esc-O1 - escape sequence to suppress output
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       O1: ab
+       O2: ab
+       O3: ab
+       O4: ab
+       O5: ab
+       O52: ab
+       O5n: ab
+       O6: ab
+       O0: ab
+
+
+
+OpenBSD                        December 15, 2018                     ESC-O1(1)
--- /dev/null
+++ regress/roff/esc/O1.out_lint
@@ -0,0 +1,5 @@
+mandoc: O1.in:11:6: WARNING: invalid escape sequence: \O5
+mandoc: O1.in:12:7: WARNING: invalid escape sequence: \O(52
+mandoc: O1.in:13:7: UNSUPP: unsupported escape sequence: \O[5dummy]
+mandoc: O1.in:14:6: WARNING: invalid escape sequence: \O6
+mandoc: O1.in:15:6: UNSUPP: unsupported escape sequence: \O0
--- regress/roff/esc/O.out_lint
+++ /dev/null
@@ -1,5 +0,0 @@
-mandoc: O.in:11:6: WARNING: invalid escape sequence: \O5
-mandoc: O.in:12:7: WARNING: invalid escape sequence: \O(52
-mandoc: O.in:13:7: UNSUPP: unsupported escape sequence: \O[5dummy]
-mandoc: O.in:14:6: WARNING: invalid escape sequence: \O6
-mandoc: O.in:15:6: UNSUPP: unsupported escape sequence: \O0
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv


                 reply	other threads:[~2020-12-21 15:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fc3b946d6f409f3b@mandoc.bsd.lv \
    --to=schwarze@mandoc.bsd.lv \
    --cc=source@mandoc.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).