From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16568 invoked from network); 20 May 2022 12:33:01 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 20 May 2022 12:33:01 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id c5d2d932 for ; Fri, 20 May 2022 07:32:59 -0500 (EST) Received: from localhost (mandoc.bsd.lv [local]) by mandoc.bsd.lv (OpenSMTPD) with ESMTPA id f82c87fc for ; Fri, 20 May 2022 07:32:59 -0500 (EST) Date: Fri, 20 May 2022 07:32:59 -0500 (EST) X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: mandoc: Test the handling of some additional one-character escape X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-ID: <33653494deb75f0c@mandoc.bsd.lv> Log Message: ----------- Test the handling of some additional one-character escape sequences that take no argument and are ignored: \% \& \^ \a \d \t \u \{ \| \} No change to parsing or formatting needed. Modified Files: -------------- mandoc/regress/roff/esc: ignore.in ignore.out_ascii ignore.out_lint Revision Data ------------- Index: ignore.out_lint =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/roff/esc/ignore.out_lint,v retrieving revision 1.7 retrieving revision 1.8 diff -Lregress/roff/esc/ignore.out_lint -Lregress/roff/esc/ignore.out_lint -u -p -r1.7 -r1.8 --- regress/roff/esc/ignore.out_lint +++ regress/roff/esc/ignore.out_lint @@ -1,4 +1,14 @@ -mandoc: ignore.in:7:26: WARNING: invalid escape sequence: \[)] -mandoc: ignore.in:8:12: WARNING: invalid escape sequence: \[,] -mandoc: ignore.in:9:12: WARNING: invalid escape sequence: \[/] -mandoc: ignore.in:13:56: WARNING: invalid escape sequence: \s- +mandoc: ignore.in:7:36: WARNING: invalid escape sequence: \[%] +mandoc: ignore.in:8:35: WARNING: invalid escape sequence: \[&] +mandoc: ignore.in:9:51: WARNING: invalid escape sequence: \[)] +mandoc: ignore.in:10:37: WARNING: invalid escape sequence: \[,] +mandoc: ignore.in:11:38: WARNING: invalid escape sequence: \[/] +mandoc: ignore.in:12:28: WARNING: invalid escape sequence: \[^] +mandoc: ignore.in:13:17: WARNING: invalid escape sequence: \[a] +mandoc: ignore.in:14:25: WARNING: invalid escape sequence: \[d] +mandoc: ignore.in:15:25: WARNING: invalid escape sequence: \[t] +mandoc: ignore.in:16:33: WARNING: invalid escape sequence: \[u] +mandoc: ignore.in:17:20: WARNING: invalid escape sequence: \[{] +mandoc: ignore.in:18:25: WARNING: invalid escape sequence: \[|] +mandoc: ignore.in:19:20: WARNING: invalid escape sequence: \[}] +mandoc: ignore.in:23:56: WARNING: invalid escape sequence: \s- Index: ignore.in =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/roff/esc/ignore.in,v retrieving revision 1.3 retrieving revision 1.4 diff -Lregress/roff/esc/ignore.in -Lregress/roff/esc/ignore.in -u -p -r1.3 -r1.4 --- regress/roff/esc/ignore.in +++ regress/roff/esc/ignore.in @@ -1,12 +1,22 @@ -.\" $OpenBSD: ignore.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ -.TH ESC-IGNORE 1 "December 15, 2018" +.\" $OpenBSD: ignore.in,v 1.5 2022/05/20 12:30:33 schwarze Exp $ +.TH ESC-IGNORE 1 "May 20, 2022" .SH NAME esc-ignore \- ignored roff escape sequences .SH DESCRIPTION .nf -closing parenthesis: a\)b\[)]c -comma: a\,b\[,]c -slash: a\/b\[/]c +percent (hyphenation allowed): a\%b\[%]c +ampersand (zero width space): a\&b\[&]c +closing parenthesis (ZWS transparent to EOS): a\)b\[)]c +comma (left italic correction): a\,b\[,]c +slash (right italic correction): a\/b\[/]c +caret (1/12 em space): a\^b\[^]c +a (leader): a\ab\[a]c +d (half line feed): a\db\[d]c +t (horizontal tab): a\tb\[t]c +u (half reverse line feed): a\ub\[u]c +opening brace: a\{b\[{]c +bar (1/6 em space): a\|b\[|]c +closing brace: a\}b\[}]c multiform: a\kxb\k(xyc\k[xyz]d quoted: a\R'myreg 0'b\R'myreg \A'y'0'c sizes: a\s0b\s(12c\s[123]d\s'123'e\s'1\w'xy'2'f Index: ignore.out_ascii =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/roff/esc/ignore.out_ascii,v retrieving revision 1.4 retrieving revision 1.5 diff -Lregress/roff/esc/ignore.out_ascii -Lregress/roff/esc/ignore.out_ascii -u -p -r1.4 -r1.5 --- regress/roff/esc/ignore.out_ascii +++ regress/roff/esc/ignore.out_ascii @@ -4,12 +4,22 @@ NNAAMMEE esc-ignore - ignored roff escape sequences DDEESSCCRRIIPPTTIIOONN - closing parenthesis: abc - comma: abc - slash: abc + percent (hyphenation allowed): abc + ampersand (zero width space): abc + closing parenthesis (ZWS transparent to EOS): abc + comma (left italic correction): abc + slash (right italic correction): abc + caret (1/12 em space): abc + a (leader): abc + d (half line feed): abc + t (horizontal tab): abc + u (half reverse line feed): abc + opening brace: abc + bar (1/6 em space): abc + closing brace: abc multiform: abcd quoted: abc sizes: abcdef signed sizes: abcdef -OpenBSD December 15, 2018 ESC-IGNORE(1) +OpenBSD May 20, 2022 ESC-IGNORE(1) -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv