From 2dfa03db406ab0640f155551c2c5af2d992878dc Mon Sep 17 00:00:00 2001 From: Lucas Holt Date: Fri, 29 Dec 2023 13:10:38 -0500 Subject: [PATCH] Add midnightbsd customizations. --- contrib/mandoc/Makefile.local | 35 + contrib/mandoc/config.h | 55 + contrib/mandoc/config.log | 221 + contrib/mandoc/configure | 0 contrib/mandoc/lib.in | 4 +- contrib/mandoc/libroff.h | 80 + contrib/mandoc/main.c | 33 +- contrib/mandoc/man-cgi.css | 13 + contrib/mandoc/manpath.h | 34 + contrib/mandoc/mdoc_validate.c | 2 + contrib/mandoc/msec.in | 20 +- contrib/mandoc/regress/char/Makefile | 6 + contrib/mandoc/regress/char/Makefile.inc | 6 + contrib/mandoc/regress/char/N/Makefile | 5 + contrib/mandoc/regress/char/N/basic.in | 27 + contrib/mandoc/regress/char/N/basic.out_ascii | 21 + contrib/mandoc/regress/char/accent/Makefile | 7 + contrib/mandoc/regress/char/accent/combine.in | 24 + .../regress/char/accent/combine.out_utf8 | 17 + .../mandoc/regress/char/accent/nocombine.in | 46 + .../regress/char/accent/nocombine.out_ascii | 28 + .../regress/char/accent/nocombine.out_utf8 | 28 + .../mandoc/regress/char/accent/utf8only.in | 10 + .../regress/char/accent/utf8only.out_utf8 | 15 + contrib/mandoc/regress/char/bar/Makefile | 5 + contrib/mandoc/regress/char/bar/man.in | 13 + contrib/mandoc/regress/char/bar/man.out_ascii | 21 + contrib/mandoc/regress/char/bar/mdoc.in | 38 + .../mandoc/regress/char/bar/mdoc.out_ascii | 31 + contrib/mandoc/regress/char/hyphen/Makefile | 5 + contrib/mandoc/regress/char/hyphen/man.in | 12 + .../mandoc/regress/char/hyphen/man.out_ascii | 20 + contrib/mandoc/regress/char/hyphen/mdoc.in | 18 + .../mandoc/regress/char/hyphen/mdoc.out_ascii | 19 + contrib/mandoc/regress/char/space/Makefile | 13 + contrib/mandoc/regress/char/space/break.in | 12 + .../mandoc/regress/char/space/break.out_ascii | 12 + contrib/mandoc/regress/char/space/eos-man.in | 23 + .../regress/char/space/eos-man.out_ascii | 26 + contrib/mandoc/regress/char/space/eos.in | 28 + .../mandoc/regress/char/space/eos.out_ascii | 21 + contrib/mandoc/regress/char/space/esct-man.in | 35 + .../regress/char/space/esct-man.out_ascii | 36 + .../regress/char/space/esct-man.out_lint | 6 + .../mandoc/regress/char/space/esct-mdoc.in | 36 + .../regress/char/space/esct-mdoc.out_ascii | 34 + .../regress/char/space/esct-mdoc.out_lint | 3 + .../mandoc/regress/char/space/leading-man.in | 12 + .../regress/char/space/leading-man.out_ascii | 15 + .../mandoc/regress/char/space/leading-mdoc.in | 25 + .../regress/char/space/leading-mdoc.out_ascii | 18 + contrib/mandoc/regress/char/space/multiple.in | 19 + .../regress/char/space/multiple.out_ascii | 19 + contrib/mandoc/regress/char/space/nobreak.in | 31 + .../regress/char/space/nobreak.out_ascii | 34 + contrib/mandoc/regress/char/space/tab-man.in | 67 + .../regress/char/space/tab-man.out_ascii | 52 + .../regress/char/space/tab-man.out_lint | 22 + contrib/mandoc/regress/char/space/tab.in | 129 + .../mandoc/regress/char/space/tab.out_ascii | 89 + .../mandoc/regress/char/space/tab.out_lint | 42 + .../regress/char/space/trailing-mdoc.in | 12 + .../char/space/trailing-mdoc.out_ascii | 9 + .../regress/char/space/trailing-mdoc.out_lint | 3 + .../mandoc/regress/char/space/zerowidth.in | 13 + .../regress/char/space/zerowidth.out_ascii | 18 + .../regress/char/space/zerowidth.out_html | 6 + .../regress/char/space/zerowidth.out_utf8 | 18 + contrib/mandoc/regress/char/unicode/Makefile | 16 + contrib/mandoc/regress/char/unicode/ascii.in | 29 + .../regress/char/unicode/ascii.out_ascii | 34 + .../regress/char/unicode/ascii.out_html | 22 + .../regress/char/unicode/ascii.out_utf8 | 34 + contrib/mandoc/regress/char/unicode/input.in | Bin 0 -> 2427 bytes .../regress/char/unicode/input.out_ascii | 67 + .../regress/char/unicode/input.out_lint | 81 + .../regress/char/unicode/input.out_utf8 | 67 + .../mandoc/regress/char/unicode/invalid.in | 18 + .../regress/char/unicode/invalid.out_ascii | 16 + .../regress/char/unicode/invalid.out_html | 8 + .../regress/char/unicode/invalid.out_lint | 9 + .../regress/char/unicode/invalid.out_utf8 | 16 + contrib/mandoc/regress/char/unicode/latin1.in | 93 + .../regress/char/unicode/latin1.out_ascii | 98 + .../regress/char/unicode/latin1.out_html | 86 + .../regress/char/unicode/latin1.out_utf8 | 98 + .../mandoc/regress/char/unicode/latin1diff.in | 20 + .../regress/char/unicode/latin1diff.out_ascii | 25 + .../regress/char/unicode/latin1diff.out_html | 13 + .../regress/char/unicode/latin1diff.out_utf8 | 25 + contrib/mandoc/regress/char/unicode/man.in | 13 + .../mandoc/regress/char/unicode/man.out_utf8 | 19 + contrib/mandoc/regress/char/unicode/mdoc.in | 16 + .../mandoc/regress/char/unicode/mdoc.out_utf8 | 15 + contrib/mandoc/regress/char/unicode/named.in | 161 + .../regress/char/unicode/named.out_ascii | 166 + .../regress/char/unicode/named.out_html | 154 + .../regress/char/unicode/named.out_utf8 | 166 + .../mandoc/regress/char/unicode/namediff.in | 49 + .../regress/char/unicode/namediff.out_ascii | 54 + .../regress/char/unicode/namediff.out_html | 42 + .../regress/char/unicode/namediff.out_utf8 | 54 + .../mandoc/regress/char/unicode/nogroff.in | 44 + .../regress/char/unicode/nogroff.out_ascii | 49 + .../regress/char/unicode/nogroff.out_html | 37 + .../regress/char/unicode/nogroff.out_utf8 | 49 + contrib/mandoc/regress/eqn/Makefile | 6 + contrib/mandoc/regress/eqn/Makefile.inc | 29 + contrib/mandoc/regress/eqn/define/Makefile | 6 + contrib/mandoc/regress/eqn/define/font.in | 16 + .../mandoc/regress/eqn/define/font.out_ascii | 9 + contrib/mandoc/regress/eqn/define/infinite.in | 31 + .../regress/eqn/define/infinite.out_ascii | 15 + .../regress/eqn/define/infinite.out_lint | 4 + contrib/mandoc/regress/eqn/define/invalid.in | 37 + .../regress/eqn/define/invalid.out_ascii | 17 + .../regress/eqn/define/invalid.out_lint | 5 + contrib/mandoc/regress/eqn/define/quoted.in | 18 + .../regress/eqn/define/quoted.out_ascii | 9 + contrib/mandoc/regress/eqn/delim/Makefile | 5 + contrib/mandoc/regress/eqn/delim/basic.in | 22 + .../mandoc/regress/eqn/delim/basic.out_ascii | 9 + contrib/mandoc/regress/eqn/fromto/Makefile | 6 + contrib/mandoc/regress/eqn/fromto/basic.in | 13 + .../mandoc/regress/eqn/fromto/basic.out_ascii | 9 + .../mandoc/regress/eqn/fromto/basic.out_html | 1 + contrib/mandoc/regress/eqn/fromto/noarg.in | 13 + .../mandoc/regress/eqn/fromto/noarg.out_ascii | 9 + .../mandoc/regress/eqn/fromto/noarg.out_html | 1 + .../mandoc/regress/eqn/fromto/precedence.in | 15 + .../regress/eqn/fromto/precedence.out_ascii | 9 + .../regress/eqn/fromto/precedence.out_html | 1 + contrib/mandoc/regress/eqn/matrix/Makefile | 6 + contrib/mandoc/regress/eqn/matrix/basic.in | 21 + .../mandoc/regress/eqn/matrix/basic.out_ascii | 9 + .../mandoc/regress/eqn/matrix/basic.out_html | 1 + contrib/mandoc/regress/eqn/matrix/empty.in | 18 + .../mandoc/regress/eqn/matrix/empty.out_ascii | 9 + .../mandoc/regress/eqn/matrix/empty.out_html | 1 + contrib/mandoc/regress/eqn/nullary/Makefile | 7 + contrib/mandoc/regress/eqn/nullary/roman.in | 33 + .../regress/eqn/nullary/roman.out_ascii | 14 + .../mandoc/regress/eqn/nullary/roman.out_html | 15 + contrib/mandoc/regress/eqn/nullary/symbol.in | 20 + .../regress/eqn/nullary/symbol.out_ascii | 10 + .../regress/eqn/nullary/symbol.out_html | 6 + .../regress/eqn/nullary/symbol.out_utf8 | 10 + contrib/mandoc/regress/eqn/over/Makefile | 7 + contrib/mandoc/regress/eqn/over/noarg.in | 13 + .../mandoc/regress/eqn/over/noarg.out_ascii | 9 + .../mandoc/regress/eqn/over/noarg.out_html | 1 + .../mandoc/regress/eqn/over/noarg.out_lint | 1 + contrib/mandoc/regress/eqn/over/precedence.in | 14 + .../regress/eqn/over/precedence.out_ascii | 10 + .../regress/eqn/over/precedence.out_html | 1 + contrib/mandoc/regress/eqn/size/Makefile | 5 + contrib/mandoc/regress/eqn/size/basic.in | 13 + .../mandoc/regress/eqn/size/basic.out_ascii | 9 + contrib/mandoc/regress/eqn/subsup/Makefile | 6 + contrib/mandoc/regress/eqn/subsup/combine.in | 13 + .../regress/eqn/subsup/combine.out_ascii | 9 + .../regress/eqn/subsup/combine.out_html | 1 + contrib/mandoc/regress/eqn/subsup/noarg.in | 13 + .../mandoc/regress/eqn/subsup/noarg.out_ascii | 9 + .../mandoc/regress/eqn/subsup/noarg.out_html | 1 + .../mandoc/regress/eqn/subsup/precedence.in | 14 + .../regress/eqn/subsup/precedence.out_ascii | 9 + .../regress/eqn/subsup/precedence.out_html | 1 + .../mandoc/regress/eqn/subsup/sub_group.in | 13 + .../regress/eqn/subsup/sub_group.out_ascii | 9 + .../regress/eqn/subsup/sub_group.out_html | 1 + contrib/mandoc/regress/eqn/unary/Makefile | 6 + contrib/mandoc/regress/eqn/unary/bold.in | 13 + .../mandoc/regress/eqn/unary/bold.out_ascii | 9 + .../mandoc/regress/eqn/unary/bold.out_html | 1 + contrib/mandoc/regress/eqn/unary/diacrit.in | 15 + .../regress/eqn/unary/diacrit.out_ascii | 9 + .../mandoc/regress/eqn/unary/diacrit.out_html | 1 + contrib/mandoc/regress/eqn/unary/sqrt.in | 13 + .../mandoc/regress/eqn/unary/sqrt.out_ascii | 10 + .../mandoc/regress/eqn/unary/sqrt.out_html | 1 + contrib/mandoc/regress/man/B/Makefile | 10 + contrib/mandoc/regress/man/B/args.in | 21 + contrib/mandoc/regress/man/B/args.out_ascii | 18 + contrib/mandoc/regress/man/B/args.out_lint | 1 + contrib/mandoc/regress/man/B/blank.in | 10 + contrib/mandoc/regress/man/B/blank.out_ascii | 13 + contrib/mandoc/regress/man/B/blank.out_lint | 1 + contrib/mandoc/regress/man/BI/Makefile | 5 + contrib/mandoc/regress/man/BI/emptyargs.in | 11 + .../mandoc/regress/man/BI/emptyargs.out_ascii | 18 + contrib/mandoc/regress/man/BI/literal.in | 13 + .../mandoc/regress/man/BI/literal.out_ascii | 18 + contrib/mandoc/regress/man/EX/Makefile | 5 + contrib/mandoc/regress/man/EX/args.in | 13 + contrib/mandoc/regress/man/EX/args.out_ascii | 16 + contrib/mandoc/regress/man/EX/nested.in | 19 + .../mandoc/regress/man/EX/nested.out_ascii | 19 + contrib/mandoc/regress/man/EX/spacing.in | 36 + .../mandoc/regress/man/EX/spacing.out_ascii | 27 + contrib/mandoc/regress/man/HP/Makefile | 5 + contrib/mandoc/regress/man/HP/break.in | 11 + contrib/mandoc/regress/man/HP/break.out_ascii | 16 + contrib/mandoc/regress/man/HP/literal.in | 27 + .../mandoc/regress/man/HP/literal.out_ascii | 27 + contrib/mandoc/regress/man/HP/macrotag.in | 14 + .../mandoc/regress/man/HP/macrotag.out_ascii | 17 + contrib/mandoc/regress/man/HP/manyargs.in | 46 + .../mandoc/regress/man/HP/manyargs.out_ascii | 43 + contrib/mandoc/regress/man/HP/spacing.in | 60 + .../mandoc/regress/man/HP/spacing.out_ascii | 58 + contrib/mandoc/regress/man/IP/Makefile | 6 + contrib/mandoc/regress/man/IP/empty.in | 27 + contrib/mandoc/regress/man/IP/empty.out_ascii | 26 + contrib/mandoc/regress/man/IP/empty.out_lint | 2 + contrib/mandoc/regress/man/IP/literal.in | 65 + .../mandoc/regress/man/IP/literal.out_ascii | 53 + contrib/mandoc/regress/man/IP/longhead.in | 11 + .../mandoc/regress/man/IP/longhead.out_ascii | 19 + contrib/mandoc/regress/man/IP/manyargs.in | 40 + .../mandoc/regress/man/IP/manyargs.out_ascii | 40 + contrib/mandoc/regress/man/IP/spacing.in | 32 + .../mandoc/regress/man/IP/spacing.out_ascii | 41 + contrib/mandoc/regress/man/IP/width.in | 79 + contrib/mandoc/regress/man/IP/width.out_ascii | 87 + contrib/mandoc/regress/man/MT/Makefile | 12 + contrib/mandoc/regress/man/MT/args.in | 30 + contrib/mandoc/regress/man/MT/args.out_ascii | 23 + contrib/mandoc/regress/man/MT/args.out_lint | 5 + contrib/mandoc/regress/man/MT/noME.in | 12 + contrib/mandoc/regress/man/MT/noME.out_ascii | 15 + contrib/mandoc/regress/man/MT/noME.out_lint | 2 + contrib/mandoc/regress/man/Makefile | 6 + contrib/mandoc/regress/man/Makefile.inc | 6 + contrib/mandoc/regress/man/OP/Makefile | 6 + contrib/mandoc/regress/man/OP/args.in | 14 + contrib/mandoc/regress/man/OP/args.out_ascii | 14 + contrib/mandoc/regress/man/OP/args.out_lint | 2 + contrib/mandoc/regress/man/PD/Makefile | 6 + contrib/mandoc/regress/man/PD/args.in | 29 + contrib/mandoc/regress/man/PD/args.out_ascii | 31 + contrib/mandoc/regress/man/PD/args.out_lint | 1 + contrib/mandoc/regress/man/PD/nextline.in | 43 + .../mandoc/regress/man/PD/nextline.out_ascii | 33 + contrib/mandoc/regress/man/PD/spacing.in | 63 + .../mandoc/regress/man/PD/spacing.out_ascii | 70 + contrib/mandoc/regress/man/PP/Makefile | 6 + contrib/mandoc/regress/man/PP/args.in | 12 + contrib/mandoc/regress/man/PP/args.out_ascii | 19 + contrib/mandoc/regress/man/PP/args.out_lint | 3 + contrib/mandoc/regress/man/PP/empty.in | 16 + contrib/mandoc/regress/man/PP/empty.out_ascii | 19 + contrib/mandoc/regress/man/PP/empty.out_lint | 3 + contrib/mandoc/regress/man/RS/Makefile | 7 + contrib/mandoc/regress/man/RS/REarg.in | 27 + contrib/mandoc/regress/man/RS/REarg.out_ascii | 23 + contrib/mandoc/regress/man/RS/REarg.out_lint | 7 + contrib/mandoc/regress/man/RS/an-margin.in | 25 + .../mandoc/regress/man/RS/an-margin.out_ascii | 17 + contrib/mandoc/regress/man/RS/breaking.in | 24 + .../mandoc/regress/man/RS/breaking.out_ascii | 21 + contrib/mandoc/regress/man/RS/broken.in | 46 + .../mandoc/regress/man/RS/broken.out_ascii | 41 + contrib/mandoc/regress/man/RS/empty.in | 17 + contrib/mandoc/regress/man/RS/empty.out_ascii | 16 + contrib/mandoc/regress/man/RS/empty.out_lint | 1 + contrib/mandoc/regress/man/RS/literal.in | 19 + .../mandoc/regress/man/RS/literal.out_ascii | 20 + contrib/mandoc/regress/man/RS/lonelyRE.in | 22 + .../mandoc/regress/man/RS/lonelyRE.out_ascii | 23 + .../mandoc/regress/man/RS/lonelyRE.out_lint | 3 + contrib/mandoc/regress/man/RS/nested.in | 55 + .../mandoc/regress/man/RS/nested.out_ascii | 41 + contrib/mandoc/regress/man/RS/noRE.in | 10 + contrib/mandoc/regress/man/RS/noRE.out_ascii | 14 + contrib/mandoc/regress/man/RS/noRE.out_lint | 1 + contrib/mandoc/regress/man/RS/nowidth.in | 21 + .../mandoc/regress/man/RS/nowidth.out_ascii | 21 + contrib/mandoc/regress/man/RS/width.in | 31 + contrib/mandoc/regress/man/RS/width.out_ascii | 22 + contrib/mandoc/regress/man/SH/Makefile | 17 + contrib/mandoc/regress/man/SH/broken.in | 7 + .../mandoc/regress/man/SH/broken.out_ascii | 13 + contrib/mandoc/regress/man/SH/broken.out_lint | 1 + contrib/mandoc/regress/man/SH/broken_eline.in | 8 + .../regress/man/SH/broken_eline.out_ascii | 13 + .../regress/man/SH/broken_eline.out_lint | 2 + contrib/mandoc/regress/man/SH/empty_before.in | 7 + .../regress/man/SH/empty_before.out_ascii | 13 + .../regress/man/SH/empty_before.out_lint | 1 + contrib/mandoc/regress/man/SH/longarg.in | 10 + .../mandoc/regress/man/SH/longarg.out_ascii | 17 + contrib/mandoc/regress/man/SH/noarg.in | 47 + contrib/mandoc/regress/man/SH/noarg.out_ascii | 35 + contrib/mandoc/regress/man/SH/noarg.out_lint | 14 + contrib/mandoc/regress/man/SS/Makefile | 17 + contrib/mandoc/regress/man/SS/broken.in | 7 + .../mandoc/regress/man/SS/broken.out_ascii | 13 + contrib/mandoc/regress/man/SS/broken.out_lint | 1 + contrib/mandoc/regress/man/SS/broken_eline.in | 8 + .../regress/man/SS/broken_eline.out_ascii | 13 + .../regress/man/SS/broken_eline.out_lint | 2 + contrib/mandoc/regress/man/SS/longarg.in | 10 + .../mandoc/regress/man/SS/longarg.out_ascii | 17 + contrib/mandoc/regress/man/SS/noarg.in | 47 + contrib/mandoc/regress/man/SS/noarg.out_ascii | 35 + contrib/mandoc/regress/man/SS/noarg.out_lint | 14 + contrib/mandoc/regress/man/TH/Makefile | 13 + contrib/mandoc/regress/man/TH/baddate.in | 6 + .../mandoc/regress/man/TH/baddate.out_ascii | 13 + .../mandoc/regress/man/TH/baddate.out_lint | 1 + contrib/mandoc/regress/man/TH/case.in | 6 + contrib/mandoc/regress/man/TH/case.out_ascii | 13 + contrib/mandoc/regress/man/TH/case.out_lint | 1 + contrib/mandoc/regress/man/TH/emptydate.in | 6 + .../mandoc/regress/man/TH/emptydate.out_ascii | 13 + .../mandoc/regress/man/TH/emptydate.out_lint | 1 + contrib/mandoc/regress/man/TH/isodate.in | 6 + .../mandoc/regress/man/TH/isodate.out_ascii | 13 + contrib/mandoc/regress/man/TH/longdate.in | 6 + .../mandoc/regress/man/TH/longdate.out_ascii | 15 + .../mandoc/regress/man/TH/longdate.out_lint | 1 + contrib/mandoc/regress/man/TH/longtit.in | 6 + .../mandoc/regress/man/TH/longtit.out_ascii | 15 + contrib/mandoc/regress/man/TH/longvol.in | 6 + .../mandoc/regress/man/TH/longvol.out_ascii | 14 + contrib/mandoc/regress/man/TH/mdocdate.in | 6 + .../mandoc/regress/man/TH/mdocdate.out_ascii | 13 + contrib/mandoc/regress/man/TH/noTH.in | 5 + contrib/mandoc/regress/man/TH/noTH.out_lint | 2 + contrib/mandoc/regress/man/TH/noarg.in | 6 + contrib/mandoc/regress/man/TH/noarg.out_ascii | 13 + contrib/mandoc/regress/man/TH/noarg.out_lint | 3 + contrib/mandoc/regress/man/TH/nobody.in | 2 + .../mandoc/regress/man/TH/nobody.out_ascii | 5 + contrib/mandoc/regress/man/TH/nobody.out_lint | 1 + contrib/mandoc/regress/man/TH/onearg.in | 6 + .../mandoc/regress/man/TH/onearg.out_ascii | 13 + contrib/mandoc/regress/man/TH/onearg.out_lint | 2 + contrib/mandoc/regress/man/TH/onlyyear.in | 6 + .../mandoc/regress/man/TH/onlyyear.out_ascii | 13 + contrib/mandoc/regress/man/TH/sixargs.in | 6 + .../mandoc/regress/man/TH/sixargs.out_ascii | 13 + .../mandoc/regress/man/TH/sixargs.out_lint | 1 + contrib/mandoc/regress/man/TH/twoargs.in | 6 + .../mandoc/regress/man/TH/twoargs.out_ascii | 13 + .../mandoc/regress/man/TH/twoargs.out_lint | 2 + contrib/mandoc/regress/man/TP/Makefile | 15 + contrib/mandoc/regress/man/TP/badarg.in | 21 + .../mandoc/regress/man/TP/badarg.out_ascii | 22 + contrib/mandoc/regress/man/TP/broken.in | 18 + .../mandoc/regress/man/TP/broken.out_ascii | 17 + contrib/mandoc/regress/man/TP/broken.out_lint | 2 + contrib/mandoc/regress/man/TP/double.in | 41 + .../mandoc/regress/man/TP/double.out_ascii | 39 + contrib/mandoc/regress/man/TP/double.out_lint | 5 + contrib/mandoc/regress/man/TP/eof.in | 7 + contrib/mandoc/regress/man/TP/eof.out_ascii | 13 + contrib/mandoc/regress/man/TP/eof.out_lint | 1 + contrib/mandoc/regress/man/TP/fill.in | 17 + contrib/mandoc/regress/man/TP/fill.out_ascii | 21 + contrib/mandoc/regress/man/TP/indent.in | 15 + .../mandoc/regress/man/TP/indent.out_ascii | 20 + contrib/mandoc/regress/man/TP/literal.in | 27 + .../mandoc/regress/man/TP/literal.out_ascii | 26 + contrib/mandoc/regress/man/TP/longhead.in | 12 + .../mandoc/regress/man/TP/longhead.out_ascii | 19 + contrib/mandoc/regress/man/TP/macrotag.in | 14 + .../mandoc/regress/man/TP/macrotag.out_ascii | 18 + contrib/mandoc/regress/man/TP/manyargs.in | 46 + .../mandoc/regress/man/TP/manyargs.out_ascii | 40 + contrib/mandoc/regress/man/TP/sameline.in | 31 + .../mandoc/regress/man/TP/sameline.out_ascii | 29 + contrib/mandoc/regress/man/TP/spacing.in | 43 + .../mandoc/regress/man/TP/spacing.out_ascii | 43 + contrib/mandoc/regress/man/TP/width.in | 90 + contrib/mandoc/regress/man/TP/width.out_ascii | 81 + contrib/mandoc/regress/man/TS/Makefile | 22 + contrib/mandoc/regress/man/TS/break.in | 34 + contrib/mandoc/regress/man/TS/break.out_ascii | 29 + contrib/mandoc/regress/man/TS/break.out_lint | 4 + contrib/mandoc/regress/man/TS/vspace.in | 49 + .../mandoc/regress/man/TS/vspace.out_ascii | 42 + contrib/mandoc/regress/man/UR/Makefile | 12 + contrib/mandoc/regress/man/UR/args.in | 30 + contrib/mandoc/regress/man/UR/args.out_ascii | 23 + contrib/mandoc/regress/man/UR/args.out_lint | 5 + contrib/mandoc/regress/man/UR/noUE.in | 12 + contrib/mandoc/regress/man/UR/noUE.out_ascii | 15 + contrib/mandoc/regress/man/UR/noUE.out_lint | 2 + contrib/mandoc/regress/man/blank/Makefile | 6 + contrib/mandoc/regress/man/blank/afterSH.in | 78 + .../regress/man/blank/afterSH.out_ascii | 58 + .../mandoc/regress/man/blank/afterSH.out_lint | 4 + contrib/mandoc/regress/man/blank/afterSS.in | 79 + .../regress/man/blank/afterSS.out_ascii | 60 + .../mandoc/regress/man/blank/afterSS.out_lint | 4 + contrib/mandoc/regress/man/blank/line.in | 87 + .../mandoc/regress/man/blank/line.out_ascii | 81 + .../mandoc/regress/man/blank/line.out_lint | 8 + contrib/mandoc/regress/man/nf/Makefile | 6 + contrib/mandoc/regress/man/nf/args.in | 13 + contrib/mandoc/regress/man/nf/args.out_ascii | 16 + contrib/mandoc/regress/man/nf/args.out_lint | 2 + contrib/mandoc/regress/man/nf/dupe.in | 18 + contrib/mandoc/regress/man/nf/dupe.out_ascii | 19 + contrib/mandoc/regress/man/nf/dupe.out_lint | 2 + contrib/mandoc/regress/man/nf/indent.in | 22 + .../mandoc/regress/man/nf/indent.out_ascii | 25 + contrib/mandoc/regress/man/nf/userdef.in | 22 + .../mandoc/regress/man/nf/userdef.out_ascii | 19 + contrib/mandoc/regress/man/nf/vert.in | 29 + contrib/mandoc/regress/man/nf/vert.out_ascii | 24 + contrib/mandoc/regress/mdoc/Ad/Makefile | 6 + contrib/mandoc/regress/mdoc/Ad/font.in | 11 + contrib/mandoc/regress/mdoc/Ad/font.out_ascii | 9 + .../mandoc/regress/mdoc/Ad/font.out_markdown | 13 + contrib/mandoc/regress/mdoc/Ad/noarg.in | 13 + .../mandoc/regress/mdoc/Ad/noarg.out_ascii | 9 + contrib/mandoc/regress/mdoc/Ad/noarg.out_lint | 2 + .../mandoc/regress/mdoc/Ad/noarg.out_markdown | 14 + contrib/mandoc/regress/mdoc/An/Makefile | 6 + contrib/mandoc/regress/mdoc/An/break.in | 50 + .../mandoc/regress/mdoc/An/break.out_ascii | 29 + contrib/mandoc/regress/mdoc/An/break.out_lint | 13 + .../mandoc/regress/mdoc/An/break.out_markdown | 47 + contrib/mandoc/regress/mdoc/Ap/Makefile | 5 + contrib/mandoc/regress/mdoc/Ap/eos.in | 13 + contrib/mandoc/regress/mdoc/Ap/eos.out_ascii | 10 + .../mandoc/regress/mdoc/Ap/eos.out_markdown | 15 + contrib/mandoc/regress/mdoc/Ap/middle.in | 12 + .../mandoc/regress/mdoc/Ap/middle.out_ascii | 11 + .../regress/mdoc/Ap/middle.out_markdown | 14 + contrib/mandoc/regress/mdoc/Aq/Makefile | 7 + contrib/mandoc/regress/mdoc/Aq/author.in | 11 + .../mandoc/regress/mdoc/Aq/author.out_ascii | 13 + .../regress/mdoc/Aq/author.out_markdown | 16 + .../mandoc/regress/mdoc/Aq/author.out_utf8 | 13 + contrib/mandoc/regress/mdoc/Aq/empty.in | 15 + .../mandoc/regress/mdoc/Aq/empty.out_ascii | 10 + contrib/mandoc/regress/mdoc/Aq/empty.out_lint | 2 + .../mandoc/regress/mdoc/Aq/empty.out_markdown | 17 + contrib/mandoc/regress/mdoc/Aq/empty.out_utf8 | 10 + contrib/mandoc/regress/mdoc/Ar/Makefile | 6 + contrib/mandoc/regress/mdoc/Ar/font.in | 11 + contrib/mandoc/regress/mdoc/Ar/font.out_ascii | 9 + .../mandoc/regress/mdoc/Ar/font.out_markdown | 13 + contrib/mandoc/regress/mdoc/Ar/punct.in | 46 + .../mandoc/regress/mdoc/Ar/punct.out_ascii | 16 + contrib/mandoc/regress/mdoc/Ar/punct.out_lint | 1 + .../mandoc/regress/mdoc/Ar/punct.out_markdown | 48 + contrib/mandoc/regress/mdoc/At/Makefile | 6 + contrib/mandoc/regress/mdoc/At/invalid.in | 18 + .../mandoc/regress/mdoc/At/invalid.out_ascii | 15 + .../mandoc/regress/mdoc/At/invalid.out_lint | 1 + .../regress/mdoc/At/invalid.out_markdown | 20 + contrib/mandoc/regress/mdoc/Bd/Makefile | 25 + contrib/mandoc/regress/mdoc/Bd/badargs.in | 52 + .../mandoc/regress/mdoc/Bd/badargs.out_ascii | 30 + .../mandoc/regress/mdoc/Bd/badargs.out_lint | 12 + .../regress/mdoc/Bd/badargs.out_markdown | 51 + contrib/mandoc/regress/mdoc/Bd/beforeNAME.in | 16 + .../regress/mdoc/Bd/beforeNAME.out_ascii | 13 + .../regress/mdoc/Bd/beforeNAME.out_lint | 1 + .../regress/mdoc/Bd/beforeNAME.out_markdown | 15 + contrib/mandoc/regress/mdoc/Bd/blank.in | 32 + .../mandoc/regress/mdoc/Bd/blank.out_ascii | 29 + contrib/mandoc/regress/mdoc/Bd/blank.out_lint | 8 + .../mandoc/regress/mdoc/Bd/blank.out_markdown | 33 + contrib/mandoc/regress/mdoc/Bd/break.in | 16 + .../mandoc/regress/mdoc/Bd/break.out_ascii | 12 + contrib/mandoc/regress/mdoc/Bd/break.out_lint | 1 + .../mandoc/regress/mdoc/Bd/break.out_markdown | 17 + contrib/mandoc/regress/mdoc/Bd/broken.in | 15 + .../mandoc/regress/mdoc/Bd/broken.out_ascii | 11 + .../mandoc/regress/mdoc/Bd/broken.out_lint | 1 + .../regress/mdoc/Bd/broken.out_markdown | 15 + contrib/mandoc/regress/mdoc/Bd/centered.in | 16 + .../mandoc/regress/mdoc/Bd/centered.out_ascii | 13 + .../regress/mdoc/Bd/centered.out_markdown | 16 + contrib/mandoc/regress/mdoc/Bd/empty.in | 21 + .../mandoc/regress/mdoc/Bd/empty.out_ascii | 17 + .../mandoc/regress/mdoc/Bd/empty.out_markdown | 19 + contrib/mandoc/regress/mdoc/Bd/nested.in | 43 + .../mandoc/regress/mdoc/Bd/nested.out_ascii | 29 + .../mandoc/regress/mdoc/Bd/nested.out_lint | 2 + .../regress/mdoc/Bd/nested.out_markdown | 46 + .../mandoc/regress/mdoc/Bd/offset-empty.in | 32 + .../regress/mdoc/Bd/offset-empty.out_ascii | 23 + .../regress/mdoc/Bd/offset-empty.out_markdown | 25 + contrib/mandoc/regress/mdoc/Bd/offset-neg.in | 25 + .../regress/mdoc/Bd/offset-neg.out_ascii | 21 + .../regress/mdoc/Bd/offset-neg.out_markdown | 27 + contrib/mandoc/regress/mdoc/Bd/spacing.in | 17 + .../mandoc/regress/mdoc/Bd/spacing.out_ascii | 14 + .../regress/mdoc/Bd/spacing.out_markdown | 19 + contrib/mandoc/regress/mdoc/Bd/unclosed.in | 11 + .../mandoc/regress/mdoc/Bd/unclosed.out_ascii | 11 + .../mandoc/regress/mdoc/Bd/unclosed.out_lint | 1 + .../regress/mdoc/Bd/unclosed.out_markdown | 13 + contrib/mandoc/regress/mdoc/Bf/Makefile | 20 + contrib/mandoc/regress/mdoc/Bf/badargs.in | 21 + .../mandoc/regress/mdoc/Bf/badargs.out_ascii | 10 + .../mandoc/regress/mdoc/Bf/badargs.out_lint | 3 + contrib/mandoc/regress/mdoc/Bf/break.in | 17 + .../mandoc/regress/mdoc/Bf/break.out_ascii | 9 + contrib/mandoc/regress/mdoc/Bf/break.out_lint | 1 + contrib/mandoc/regress/mdoc/Bf/broken.in | 16 + .../mandoc/regress/mdoc/Bf/broken.out_ascii | 9 + .../mandoc/regress/mdoc/Bf/broken.out_lint | 1 + contrib/mandoc/regress/mdoc/Bf/multiargs.in | 33 + .../regress/mdoc/Bf/multiargs.out_ascii | 11 + .../mandoc/regress/mdoc/Bf/multiargs.out_lint | 5 + contrib/mandoc/regress/mdoc/Bf/nest.in | 34 + contrib/mandoc/regress/mdoc/Bf/nest.out_ascii | 11 + contrib/mandoc/regress/mdoc/Bk/Makefile | 13 + contrib/mandoc/regress/mdoc/Bk/badarg.in | 57 + .../mandoc/regress/mdoc/Bk/badarg.out_ascii | 25 + .../mandoc/regress/mdoc/Bk/badarg.out_lint | 6 + contrib/mandoc/regress/mdoc/Bk/break.in | 54 + .../mandoc/regress/mdoc/Bk/break.out_ascii | 30 + contrib/mandoc/regress/mdoc/Bk/broken.in | 12 + .../mandoc/regress/mdoc/Bk/broken.out_ascii | 12 + .../mandoc/regress/mdoc/Bk/broken.out_lint | 2 + contrib/mandoc/regress/mdoc/Bk/inputlines.in | 74 + .../regress/mdoc/Bk/inputlines.out_ascii | 37 + contrib/mandoc/regress/mdoc/Bk/lines.in | 89 + .../mandoc/regress/mdoc/Bk/lines.out_ascii | 84 + contrib/mandoc/regress/mdoc/Bk/synopsis.in | 33 + .../mandoc/regress/mdoc/Bk/synopsis.out_ascii | 27 + contrib/mandoc/regress/mdoc/Bl/Makefile | 50 + contrib/mandoc/regress/mdoc/Bl/badargs.in | 79 + .../mandoc/regress/mdoc/Bl/badargs.out_ascii | 43 + .../mandoc/regress/mdoc/Bl/badargs.out_lint | 18 + .../regress/mdoc/Bl/badargs.out_markdown | 60 + contrib/mandoc/regress/mdoc/Bl/bareIt.in | 16 + .../mandoc/regress/mdoc/Bl/bareIt.out_ascii | 12 + .../mandoc/regress/mdoc/Bl/bareIt.out_lint | 3 + .../regress/mdoc/Bl/bareIt.out_markdown | 15 + contrib/mandoc/regress/mdoc/Bl/bareTa.in | 27 + .../mandoc/regress/mdoc/Bl/bareTa.out_ascii | 18 + .../mandoc/regress/mdoc/Bl/bareTa.out_lint | 5 + .../regress/mdoc/Bl/bareTa.out_markdown | 24 + contrib/mandoc/regress/mdoc/Bl/break.in | 78 + .../mandoc/regress/mdoc/Bl/break.out_ascii | 49 + contrib/mandoc/regress/mdoc/Bl/break.out_lint | 18 + contrib/mandoc/regress/mdoc/Bl/breakingIt.in | 70 + .../regress/mdoc/Bl/breakingIt.out_ascii | 47 + .../regress/mdoc/Bl/breakingIt.out_lint | 16 + .../regress/mdoc/Bl/breakingIt.out_markdown | 69 + contrib/mandoc/regress/mdoc/Bl/breakingTa.in | 15 + .../regress/mdoc/Bl/breakingTa.out_ascii | 12 + .../regress/mdoc/Bl/breakingTa.out_markdown | 15 + contrib/mandoc/regress/mdoc/Bl/broken.in | 29 + .../mandoc/regress/mdoc/Bl/broken.out_ascii | 19 + .../mandoc/regress/mdoc/Bl/broken.out_lint | 3 + .../regress/mdoc/Bl/broken.out_markdown | 27 + contrib/mandoc/regress/mdoc/Bl/bullet.in | 82 + .../mandoc/regress/mdoc/Bl/bullet.out_ascii | 67 + .../regress/mdoc/Bl/bullet.out_markdown | 46 + contrib/mandoc/regress/mdoc/Bl/colNoIt.in | 16 + .../mandoc/regress/mdoc/Bl/colNoIt.out_ascii | 13 + .../regress/mdoc/Bl/colNoIt.out_markdown | 15 + contrib/mandoc/regress/mdoc/Bl/column.in | 109 + .../mandoc/regress/mdoc/Bl/column.out_ascii | 74 + .../mandoc/regress/mdoc/Bl/column.out_lint | 7 + .../regress/mdoc/Bl/column.out_markdown | 78 + .../mandoc/regress/mdoc/Bl/column_nogroff.in | 20 + .../regress/mdoc/Bl/column_nogroff.out_ascii | 15 + .../regress/mdoc/Bl/column_nogroff.out_lint | 2 + .../mdoc/Bl/column_nogroff.out_markdown | 18 + contrib/mandoc/regress/mdoc/Bl/dash.in | 82 + contrib/mandoc/regress/mdoc/Bl/dash.out_ascii | 67 + .../mandoc/regress/mdoc/Bl/dash.out_markdown | 46 + contrib/mandoc/regress/mdoc/Bl/dash.out_utf8 | 67 + contrib/mandoc/regress/mdoc/Bl/diag.in | 56 + contrib/mandoc/regress/mdoc/Bl/diag.out_ascii | 40 + contrib/mandoc/regress/mdoc/Bl/diag.out_lint | 4 + .../mandoc/regress/mdoc/Bl/diag.out_markdown | 46 + contrib/mandoc/regress/mdoc/Bl/empty.in | 42 + .../mandoc/regress/mdoc/Bl/empty.out_ascii | 20 + contrib/mandoc/regress/mdoc/Bl/empty.out_lint | 11 + .../mandoc/regress/mdoc/Bl/empty.out_markdown | 33 + contrib/mandoc/regress/mdoc/Bl/emptyhead.in | 44 + .../regress/mdoc/Bl/emptyhead.out_ascii | 38 + .../mandoc/regress/mdoc/Bl/emptyhead.out_lint | 4 + .../regress/mdoc/Bl/emptyhead.out_markdown | 51 + contrib/mandoc/regress/mdoc/Bl/emptyitem.in | 40 + .../regress/mdoc/Bl/emptyitem.out_ascii | 36 + .../mandoc/regress/mdoc/Bl/emptyitem.out_lint | 8 + .../regress/mdoc/Bl/emptyitem.out_markdown | 41 + contrib/mandoc/regress/mdoc/Bl/emptytag.in | 18 + .../mandoc/regress/mdoc/Bl/emptytag.out_ascii | 16 + .../mandoc/regress/mdoc/Bl/emptytag.out_lint | 1 + .../regress/mdoc/Bl/emptytag.out_markdown | 23 + contrib/mandoc/regress/mdoc/Bl/enum.in | 82 + contrib/mandoc/regress/mdoc/Bl/enum.out_ascii | 67 + .../mandoc/regress/mdoc/Bl/enum.out_markdown | 46 + contrib/mandoc/regress/mdoc/Bl/extend.in | 32 + .../mandoc/regress/mdoc/Bl/extend.out_ascii | 18 + .../regress/mdoc/Bl/extend.out_markdown | 23 + contrib/mandoc/regress/mdoc/Bl/hang.in | 112 + contrib/mandoc/regress/mdoc/Bl/hang.out_ascii | 85 + .../mandoc/regress/mdoc/Bl/hang.out_markdown | 118 + contrib/mandoc/regress/mdoc/Bl/inset.in | 49 + .../mandoc/regress/mdoc/Bl/inset.out_ascii | 37 + contrib/mandoc/regress/mdoc/Bl/inset.out_lint | 1 + .../mandoc/regress/mdoc/Bl/inset.out_markdown | 42 + contrib/mandoc/regress/mdoc/Bl/item.in | 24 + contrib/mandoc/regress/mdoc/Bl/item.out_ascii | 16 + .../mandoc/regress/mdoc/Bl/item.out_markdown | 19 + contrib/mandoc/regress/mdoc/Bl/multitag.in | 48 + .../mandoc/regress/mdoc/Bl/multitag.out_ascii | 42 + .../regress/mdoc/Bl/multitag.out_markdown | 65 + contrib/mandoc/regress/mdoc/Bl/multitype.in | 12 + .../regress/mdoc/Bl/multitype.out_ascii | 9 + .../regress/mdoc/Bl/multitype.out_markdown | 11 + contrib/mandoc/regress/mdoc/Bl/nested.in | 84 + .../mandoc/regress/mdoc/Bl/nested.out_ascii | 54 + .../regress/mdoc/Bl/nested.out_markdown | 81 + contrib/mandoc/regress/mdoc/Bl/noIt.in | 25 + contrib/mandoc/regress/mdoc/Bl/noIt.out_ascii | 15 + contrib/mandoc/regress/mdoc/Bl/noIt.out_lint | 8 + .../mandoc/regress/mdoc/Bl/noIt.out_markdown | 23 + contrib/mandoc/regress/mdoc/Bl/notype.in | 27 + .../mandoc/regress/mdoc/Bl/notype.out_ascii | 21 + .../mandoc/regress/mdoc/Bl/notype.out_lint | 5 + .../regress/mdoc/Bl/notype.out_markdown | 23 + contrib/mandoc/regress/mdoc/Bl/offset.in | 80 + .../mandoc/regress/mdoc/Bl/offset.out_ascii | 51 + .../regress/mdoc/Bl/offset.out_markdown | 63 + contrib/mandoc/regress/mdoc/Bl/ohang.in | 24 + .../mandoc/regress/mdoc/Bl/ohang.out_ascii | 22 + .../mandoc/regress/mdoc/Bl/ohang.out_markdown | 25 + contrib/mandoc/regress/mdoc/Bl/secstart.in | 40 + .../mandoc/regress/mdoc/Bl/secstart.out_ascii | 26 + .../regress/mdoc/Bl/secstart.out_markdown | 34 + contrib/mandoc/regress/mdoc/Bl/tag.in | 155 + contrib/mandoc/regress/mdoc/Bl/tag.out_ascii | 134 + contrib/mandoc/regress/mdoc/Bl/tag.out_lint | 1 + .../mandoc/regress/mdoc/Bl/tag.out_markdown | 175 + contrib/mandoc/regress/mdoc/Bl/unclosed.in | 13 + .../mandoc/regress/mdoc/Bl/unclosed.out_ascii | 12 + .../regress/mdoc/Bl/unclosed.out_markdown | 15 + contrib/mandoc/regress/mdoc/Brq/Makefile | 6 + contrib/mandoc/regress/mdoc/Brq/empty.in | 15 + .../mandoc/regress/mdoc/Brq/empty.out_ascii | 10 + .../mandoc/regress/mdoc/Brq/empty.out_lint | 2 + .../regress/mdoc/Brq/empty.out_markdown | 17 + contrib/mandoc/regress/mdoc/Bx/Makefile | 6 + contrib/mandoc/regress/mdoc/Bx/args.in | 27 + contrib/mandoc/regress/mdoc/Bx/args.out_ascii | 21 + contrib/mandoc/regress/mdoc/Bx/args.out_lint | 1 + .../mandoc/regress/mdoc/Bx/args.out_markdown | 29 + contrib/mandoc/regress/mdoc/Cd/Makefile | 6 + contrib/mandoc/regress/mdoc/Cd/eos.in | 11 + contrib/mandoc/regress/mdoc/Cd/eos.out_ascii | 9 + .../mandoc/regress/mdoc/Cd/eos.out_markdown | 13 + contrib/mandoc/regress/mdoc/Cd/font.in | 11 + contrib/mandoc/regress/mdoc/Cd/font.out_ascii | 9 + .../mandoc/regress/mdoc/Cd/font.out_markdown | 13 + contrib/mandoc/regress/mdoc/Cd/noarg.in | 13 + .../mandoc/regress/mdoc/Cd/noarg.out_ascii | 9 + contrib/mandoc/regress/mdoc/Cd/noarg.out_lint | 1 + .../mandoc/regress/mdoc/Cd/noarg.out_markdown | 14 + contrib/mandoc/regress/mdoc/Cd/punct.in | 43 + .../mandoc/regress/mdoc/Cd/punct.out_ascii | 13 + .../mandoc/regress/mdoc/Cd/punct.out_markdown | 45 + contrib/mandoc/regress/mdoc/Cm/Makefile | 6 + contrib/mandoc/regress/mdoc/Cm/basic.in | 13 + .../mandoc/regress/mdoc/Cm/basic.out_ascii | 11 + .../mandoc/regress/mdoc/Cm/basic.out_markdown | 15 + contrib/mandoc/regress/mdoc/Cm/font.in | 11 + contrib/mandoc/regress/mdoc/Cm/font.out_ascii | 9 + .../mandoc/regress/mdoc/Cm/font.out_markdown | 13 + contrib/mandoc/regress/mdoc/Cm/noarg.in | 13 + .../mandoc/regress/mdoc/Cm/noarg.out_ascii | 11 + contrib/mandoc/regress/mdoc/Cm/noarg.out_lint | 3 + .../mandoc/regress/mdoc/Cm/noarg.out_markdown | 15 + contrib/mandoc/regress/mdoc/Cm/punct.in | 43 + .../mandoc/regress/mdoc/Cm/punct.out_ascii | 13 + .../mandoc/regress/mdoc/Cm/punct.out_markdown | 45 + contrib/mandoc/regress/mdoc/D1/Makefile | 6 + contrib/mandoc/regress/mdoc/D1/spacing.in | 13 + .../mandoc/regress/mdoc/D1/spacing.out_ascii | 12 + .../mandoc/regress/mdoc/D1/spacing.out_lint | 1 + .../regress/mdoc/D1/spacing.out_markdown | 17 + contrib/mandoc/regress/mdoc/Db/Makefile | 10 + contrib/mandoc/regress/mdoc/Db/args.in | 15 + contrib/mandoc/regress/mdoc/Db/args.out_ascii | 9 + contrib/mandoc/regress/mdoc/Db/args.out_lint | 3 + contrib/mandoc/regress/mdoc/Dd/Makefile | 23 + contrib/mandoc/regress/mdoc/Dd/badarg.in | 9 + .../mandoc/regress/mdoc/Dd/badarg.out_ascii | 9 + .../mandoc/regress/mdoc/Dd/badarg.out_lint | 2 + .../regress/mdoc/Dd/badarg.out_markdown | 11 + contrib/mandoc/regress/mdoc/Dd/dupe.in | 12 + contrib/mandoc/regress/mdoc/Dd/dupe.out_ascii | 9 + contrib/mandoc/regress/mdoc/Dd/dupe.out_lint | 3 + .../mandoc/regress/mdoc/Dd/dupe.out_markdown | 12 + contrib/mandoc/regress/mdoc/Dd/late.in | 10 + contrib/mandoc/regress/mdoc/Dd/late.out_ascii | 9 + contrib/mandoc/regress/mdoc/Dd/late.out_lint | 1 + .../mandoc/regress/mdoc/Dd/late.out_markdown | 12 + contrib/mandoc/regress/mdoc/Dd/long.in | 9 + contrib/mandoc/regress/mdoc/Dd/long.out_ascii | 11 + contrib/mandoc/regress/mdoc/Dd/long.out_lint | 2 + .../mandoc/regress/mdoc/Dd/long.out_markdown | 11 + contrib/mandoc/regress/mdoc/Dd/manarg.in | 9 + .../mandoc/regress/mdoc/Dd/manarg.out_ascii | 9 + .../mandoc/regress/mdoc/Dd/manarg.out_lint | 2 + .../regress/mdoc/Dd/manarg.out_markdown | 11 + contrib/mandoc/regress/mdoc/Dd/noarg.in | 9 + contrib/mandoc/regress/mdoc/Dd/noarg.out_lint | 1 + contrib/mandoc/regress/mdoc/Dd/order.in | 9 + .../mandoc/regress/mdoc/Dd/order.out_ascii | 9 + contrib/mandoc/regress/mdoc/Dd/order.out_lint | 2 + .../mandoc/regress/mdoc/Dd/order.out_markdown | 11 + contrib/mandoc/regress/mdoc/Dl/Makefile | 6 + contrib/mandoc/regress/mdoc/Dl/spacing.in | 13 + .../mandoc/regress/mdoc/Dl/spacing.out_ascii | 12 + .../mandoc/regress/mdoc/Dl/spacing.out_lint | 1 + .../regress/mdoc/Dl/spacing.out_markdown | 17 + contrib/mandoc/regress/mdoc/Dq/Makefile | 6 + contrib/mandoc/regress/mdoc/Dq/empty.in | 15 + .../mandoc/regress/mdoc/Dq/empty.out_ascii | 10 + contrib/mandoc/regress/mdoc/Dq/empty.out_lint | 0 .../mandoc/regress/mdoc/Dq/empty.out_markdown | 17 + contrib/mandoc/regress/mdoc/Dt/Makefile | 21 + contrib/mandoc/regress/mdoc/Dt/badsec.in | 9 + .../mandoc/regress/mdoc/Dt/badsec.out_lint | 1 + contrib/mandoc/regress/mdoc/Dt/case.in | 9 + contrib/mandoc/regress/mdoc/Dt/case.out_ascii | 9 + contrib/mandoc/regress/mdoc/Dt/case.out_lint | 1 + .../mandoc/regress/mdoc/Dt/case.out_markdown | 11 + contrib/mandoc/regress/mdoc/Dt/dupe.in | 12 + contrib/mandoc/regress/mdoc/Dt/dupe.out_ascii | 9 + contrib/mandoc/regress/mdoc/Dt/dupe.out_lint | 2 + .../mandoc/regress/mdoc/Dt/dupe.out_markdown | 12 + contrib/mandoc/regress/mdoc/Dt/fourargs.in | 9 + .../mandoc/regress/mdoc/Dt/fourargs.out_ascii | 9 + .../mandoc/regress/mdoc/Dt/fourargs.out_lint | 1 + .../regress/mdoc/Dt/fourargs.out_markdown | 11 + contrib/mandoc/regress/mdoc/Dt/late.in | 10 + contrib/mandoc/regress/mdoc/Dt/late.out_ascii | 9 + contrib/mandoc/regress/mdoc/Dt/late.out_lint | 2 + .../mandoc/regress/mdoc/Dt/late.out_markdown | 12 + contrib/mandoc/regress/mdoc/Dt/missing.in | 8 + .../mandoc/regress/mdoc/Dt/missing.out_ascii | 9 + .../mandoc/regress/mdoc/Dt/missing.out_lint | 1 + .../regress/mdoc/Dt/missing.out_markdown | 11 + contrib/mandoc/regress/mdoc/Dt/noarg.in | 9 + .../mandoc/regress/mdoc/Dt/noarg.out_ascii | 9 + contrib/mandoc/regress/mdoc/Dt/noarg.out_lint | 2 + .../mandoc/regress/mdoc/Dt/noarg.out_markdown | 11 + contrib/mandoc/regress/mdoc/Dt/nobody.in | 4 + .../mandoc/regress/mdoc/Dt/nobody.out_ascii | 3 + .../mandoc/regress/mdoc/Dt/nobody.out_lint | 1 + .../regress/mdoc/Dt/nobody.out_markdown | 3 + contrib/mandoc/regress/mdoc/Dt/nosec.in | 9 + .../mandoc/regress/mdoc/Dt/nosec.out_ascii | 9 + contrib/mandoc/regress/mdoc/Dt/nosec.out_lint | 1 + .../mandoc/regress/mdoc/Dt/nosec.out_markdown | 11 + contrib/mandoc/regress/mdoc/Dt/order.in | 9 + .../mandoc/regress/mdoc/Dt/order.out_ascii | 9 + contrib/mandoc/regress/mdoc/Dt/order.out_lint | 1 + .../mandoc/regress/mdoc/Dt/order.out_markdown | 11 + contrib/mandoc/regress/mdoc/Dv/Makefile | 6 + contrib/mandoc/regress/mdoc/Dv/font.in | 14 + contrib/mandoc/regress/mdoc/Dv/font.out_ascii | 11 + .../mandoc/regress/mdoc/Dv/font.out_markdown | 16 + contrib/mandoc/regress/mdoc/Dv/noarg.in | 13 + .../mandoc/regress/mdoc/Dv/noarg.out_ascii | 9 + contrib/mandoc/regress/mdoc/Dv/noarg.out_lint | 2 + .../mandoc/regress/mdoc/Dv/noarg.out_markdown | 14 + contrib/mandoc/regress/mdoc/Em/Makefile | 6 + contrib/mandoc/regress/mdoc/Em/font.in | 11 + contrib/mandoc/regress/mdoc/Em/font.out_ascii | 9 + .../mandoc/regress/mdoc/Em/font.out_markdown | 13 + contrib/mandoc/regress/mdoc/Em/noarg.in | 13 + .../mandoc/regress/mdoc/Em/noarg.out_ascii | 9 + contrib/mandoc/regress/mdoc/Em/noarg.out_lint | 1 + .../mandoc/regress/mdoc/Em/noarg.out_markdown | 14 + contrib/mandoc/regress/mdoc/Em/punct.in | 87 + .../mandoc/regress/mdoc/Em/punct.out_ascii | 28 + contrib/mandoc/regress/mdoc/Em/punct.out_lint | 26 + .../mandoc/regress/mdoc/Em/punct.out_markdown | 89 + contrib/mandoc/regress/mdoc/Eo/Makefile | 11 + contrib/mandoc/regress/mdoc/Eo/break.in | 69 + .../mandoc/regress/mdoc/Eo/break.out_ascii | 11 + contrib/mandoc/regress/mdoc/Eo/break.out_lint | 8 + .../mandoc/regress/mdoc/Eo/break.out_markdown | 43 + contrib/mandoc/regress/mdoc/Eo/empty.in | 52 + .../mandoc/regress/mdoc/Eo/empty.out_ascii | 13 + .../mandoc/regress/mdoc/Eo/empty.out_markdown | 35 + contrib/mandoc/regress/mdoc/Eo/obsolete.in | 21 + .../mandoc/regress/mdoc/Eo/obsolete.out_ascii | 14 + .../mandoc/regress/mdoc/Eo/obsolete.out_lint | 6 + .../regress/mdoc/Eo/obsolete.out_markdown | 22 + contrib/mandoc/regress/mdoc/Eo/unclosed.in | 10 + .../mandoc/regress/mdoc/Eo/unclosed.out_ascii | 9 + .../mandoc/regress/mdoc/Eo/unclosed.out_lint | 1 + .../regress/mdoc/Eo/unclosed.out_markdown | 12 + contrib/mandoc/regress/mdoc/Er/Makefile | 6 + contrib/mandoc/regress/mdoc/Er/font.in | 11 + contrib/mandoc/regress/mdoc/Er/font.out_ascii | 9 + .../mandoc/regress/mdoc/Er/font.out_markdown | 13 + contrib/mandoc/regress/mdoc/Er/noarg.in | 14 + .../mandoc/regress/mdoc/Er/noarg.out_ascii | 9 + contrib/mandoc/regress/mdoc/Er/noarg.out_lint | 2 + .../mandoc/regress/mdoc/Er/noarg.out_markdown | 15 + contrib/mandoc/regress/mdoc/Ev/Makefile | 6 + contrib/mandoc/regress/mdoc/Ev/font.in | 14 + contrib/mandoc/regress/mdoc/Ev/font.out_ascii | 11 + .../mandoc/regress/mdoc/Ev/font.out_markdown | 16 + contrib/mandoc/regress/mdoc/Ev/noarg.in | 13 + .../mandoc/regress/mdoc/Ev/noarg.out_ascii | 9 + contrib/mandoc/regress/mdoc/Ev/noarg.out_lint | 2 + .../mandoc/regress/mdoc/Ev/noarg.out_markdown | 14 + contrib/mandoc/regress/mdoc/Ex/Makefile | 11 + contrib/mandoc/regress/mdoc/Ex/args.in | 16 + contrib/mandoc/regress/mdoc/Ex/args.out_ascii | 16 + .../mandoc/regress/mdoc/Ex/args.out_markdown | 18 + contrib/mandoc/regress/mdoc/Ex/noname.in | 16 + .../mandoc/regress/mdoc/Ex/noname.out_ascii | 16 + .../mandoc/regress/mdoc/Ex/noname.out_lint | 2 + .../regress/mdoc/Ex/noname.out_markdown | 18 + contrib/mandoc/regress/mdoc/Ex/nostd.in | 16 + .../mandoc/regress/mdoc/Ex/nostd.out_ascii | 16 + contrib/mandoc/regress/mdoc/Ex/nostd.out_lint | 3 + .../mandoc/regress/mdoc/Ex/nostd.out_markdown | 18 + contrib/mandoc/regress/mdoc/Fd/Makefile | 7 + contrib/mandoc/regress/mdoc/Fd/break.in | 27 + .../mandoc/regress/mdoc/Fd/break.out_ascii | 27 + .../mandoc/regress/mdoc/Fd/break.out_markdown | 35 + contrib/mandoc/regress/mdoc/Fd/empty.in | 15 + .../mandoc/regress/mdoc/Fd/empty.out_ascii | 13 + contrib/mandoc/regress/mdoc/Fd/empty.out_lint | 2 + .../mandoc/regress/mdoc/Fd/empty.out_markdown | 17 + contrib/mandoc/regress/mdoc/Fd/eos.in | 11 + contrib/mandoc/regress/mdoc/Fd/eos.out_ascii | 10 + .../mandoc/regress/mdoc/Fd/eos.out_markdown | 13 + contrib/mandoc/regress/mdoc/Fd/font.in | 11 + contrib/mandoc/regress/mdoc/Fd/font.out_ascii | 10 + .../mandoc/regress/mdoc/Fd/font.out_markdown | 13 + contrib/mandoc/regress/mdoc/Fl/Makefile | 6 + contrib/mandoc/regress/mdoc/Fl/font.in | 11 + contrib/mandoc/regress/mdoc/Fl/font.out_ascii | 9 + .../mandoc/regress/mdoc/Fl/font.out_markdown | 13 + contrib/mandoc/regress/mdoc/Fl/multiarg.in | 15 + .../mandoc/regress/mdoc/Fl/multiarg.out_ascii | 11 + .../regress/mdoc/Fl/multiarg.out_markdown | 17 + contrib/mandoc/regress/mdoc/Fl/noarg.in | 20 + .../mandoc/regress/mdoc/Fl/noarg.out_ascii | 13 + .../mandoc/regress/mdoc/Fl/noarg.out_markdown | 22 + contrib/mandoc/regress/mdoc/Fl/parsed.in | 19 + .../mandoc/regress/mdoc/Fl/parsed.out_ascii | 17 + .../regress/mdoc/Fl/parsed.out_markdown | 21 + contrib/mandoc/regress/mdoc/Fl/punct.in | 46 + .../mandoc/regress/mdoc/Fl/punct.out_ascii | 16 + contrib/mandoc/regress/mdoc/Fl/punct.out_lint | 1 + .../mandoc/regress/mdoc/Fl/punct.out_markdown | 48 + contrib/mandoc/regress/mdoc/Fo/Makefile | 15 + contrib/mandoc/regress/mdoc/Fo/basic.in | 25 + .../mandoc/regress/mdoc/Fo/basic.out_ascii | 16 + .../mandoc/regress/mdoc/Fo/basic.out_markdown | 22 + contrib/mandoc/regress/mdoc/Fo/break.in | 50 + .../mandoc/regress/mdoc/Fo/break.out_ascii | 48 + .../mandoc/regress/mdoc/Fo/break.out_markdown | 45 + contrib/mandoc/regress/mdoc/Fo/eos.in | 16 + contrib/mandoc/regress/mdoc/Fo/eos.out_ascii | 10 + .../mandoc/regress/mdoc/Fo/eos.out_markdown | 17 + contrib/mandoc/regress/mdoc/Fo/font.in | 20 + contrib/mandoc/regress/mdoc/Fo/font.out_ascii | 13 + .../mandoc/regress/mdoc/Fo/font.out_markdown | 18 + contrib/mandoc/regress/mdoc/Fo/noarg.in | 45 + .../mandoc/regress/mdoc/Fo/noarg.out_ascii | 12 + contrib/mandoc/regress/mdoc/Fo/noarg.out_lint | 10 + .../mandoc/regress/mdoc/Fo/noarg.out_markdown | 32 + contrib/mandoc/regress/mdoc/Fo/nohead.in | 14 + .../mandoc/regress/mdoc/Fo/nohead.out_ascii | 9 + .../mandoc/regress/mdoc/Fo/nohead.out_lint | 1 + .../regress/mdoc/Fo/nohead.out_markdown | 13 + contrib/mandoc/regress/mdoc/Fo/obsolete.in | 13 + .../mandoc/regress/mdoc/Fo/obsolete.out_ascii | 11 + .../mandoc/regress/mdoc/Fo/obsolete.out_lint | 2 + .../regress/mdoc/Fo/obsolete.out_markdown | 15 + contrib/mandoc/regress/mdoc/Fo/punct.in | 14 + .../mandoc/regress/mdoc/Fo/punct.out_ascii | 13 + contrib/mandoc/regress/mdoc/Fo/punct.out_lint | 3 + .../mandoc/regress/mdoc/Fo/punct.out_markdown | 16 + contrib/mandoc/regress/mdoc/Fo/section.in | 84 + .../mandoc/regress/mdoc/Fo/section.out_ascii | 59 + .../regress/mdoc/Fo/section.out_markdown | 114 + contrib/mandoc/regress/mdoc/Fo/warn.in | 14 + contrib/mandoc/regress/mdoc/Fo/warn.out_ascii | 13 + contrib/mandoc/regress/mdoc/Fo/warn.out_lint | 2 + .../mandoc/regress/mdoc/Fo/warn.out_markdown | 15 + contrib/mandoc/regress/mdoc/Ft/Makefile | 5 + contrib/mandoc/regress/mdoc/Ft/font.in | 11 + contrib/mandoc/regress/mdoc/Ft/font.out_ascii | 9 + .../mandoc/regress/mdoc/Ft/font.out_markdown | 13 + contrib/mandoc/regress/mdoc/Ic/Makefile | 6 + contrib/mandoc/regress/mdoc/Ic/font.in | 11 + contrib/mandoc/regress/mdoc/Ic/font.out_ascii | 9 + .../mandoc/regress/mdoc/Ic/font.out_markdown | 13 + contrib/mandoc/regress/mdoc/Ic/noarg.in | 13 + .../mandoc/regress/mdoc/Ic/noarg.out_ascii | 9 + contrib/mandoc/regress/mdoc/Ic/noarg.out_lint | 2 + .../mandoc/regress/mdoc/Ic/noarg.out_markdown | 14 + contrib/mandoc/regress/mdoc/Ic/punct.in | 43 + .../mandoc/regress/mdoc/Ic/punct.out_ascii | 13 + .../mandoc/regress/mdoc/Ic/punct.out_markdown | 45 + contrib/mandoc/regress/mdoc/In/Makefile | 6 + contrib/mandoc/regress/mdoc/In/break.in | 27 + .../mandoc/regress/mdoc/In/break.out_ascii | 26 + .../mandoc/regress/mdoc/In/break.out_markdown | 35 + contrib/mandoc/regress/mdoc/In/eos.in | 11 + contrib/mandoc/regress/mdoc/In/eos.out_ascii | 9 + .../mandoc/regress/mdoc/In/eos.out_markdown | 13 + contrib/mandoc/regress/mdoc/In/font.in | 11 + contrib/mandoc/regress/mdoc/In/font.out_ascii | 9 + .../mandoc/regress/mdoc/In/font.out_markdown | 13 + contrib/mandoc/regress/mdoc/In/noarg.in | 21 + .../mandoc/regress/mdoc/In/noarg.out_ascii | 18 + contrib/mandoc/regress/mdoc/In/noarg.out_lint | 3 + .../mandoc/regress/mdoc/In/noarg.out_markdown | 25 + contrib/mandoc/regress/mdoc/Lb/Makefile | 6 + contrib/mandoc/regress/mdoc/Lb/badargs.in | 11 + .../mandoc/regress/mdoc/Lb/badargs.out_ascii | 10 + .../mandoc/regress/mdoc/Lb/badargs.out_lint | 5 + .../regress/mdoc/Lb/badargs.out_markdown | 12 + contrib/mandoc/regress/mdoc/Lb/break.in | 13 + .../mandoc/regress/mdoc/Lb/break.out_ascii | 13 + .../mandoc/regress/mdoc/Lb/break.out_markdown | 17 + contrib/mandoc/regress/mdoc/Lb/eos.in | 11 + contrib/mandoc/regress/mdoc/Lb/eos.out_ascii | 9 + .../mandoc/regress/mdoc/Lb/eos.out_markdown | 13 + contrib/mandoc/regress/mdoc/Li/Makefile | 6 + contrib/mandoc/regress/mdoc/Li/font.in | 11 + contrib/mandoc/regress/mdoc/Li/font.out_ascii | 9 + .../mandoc/regress/mdoc/Li/font.out_markdown | 13 + contrib/mandoc/regress/mdoc/Li/punct.in | 87 + .../mandoc/regress/mdoc/Li/punct.out_ascii | 28 + contrib/mandoc/regress/mdoc/Li/punct.out_lint | 26 + .../mandoc/regress/mdoc/Li/punct.out_markdown | 89 + contrib/mandoc/regress/mdoc/Lk/Makefile | 10 + contrib/mandoc/regress/mdoc/Lk/font.in | 11 + contrib/mandoc/regress/mdoc/Lk/font.out_ascii | 9 + contrib/mandoc/regress/mdoc/Lk/link.in | 17 + contrib/mandoc/regress/mdoc/Lk/link.out_ascii | 16 + .../mandoc/regress/mdoc/Lk/link.out_markdown | 21 + contrib/mandoc/regress/mdoc/Lk/noarg.in | 19 + .../mandoc/regress/mdoc/Lk/noarg.out_ascii | 14 + contrib/mandoc/regress/mdoc/Lk/noarg.out_lint | 3 + .../mandoc/regress/mdoc/Lk/noarg.out_markdown | 20 + contrib/mandoc/regress/mdoc/Makefile | 9 + contrib/mandoc/regress/mdoc/Makefile.inc | 3 + contrib/mandoc/regress/mdoc/Ms/Makefile | 6 + contrib/mandoc/regress/mdoc/Ms/font.in | 11 + contrib/mandoc/regress/mdoc/Ms/font.out_ascii | 9 + .../mandoc/regress/mdoc/Ms/font.out_markdown | 13 + contrib/mandoc/regress/mdoc/Ms/noarg.in | 13 + .../mandoc/regress/mdoc/Ms/noarg.out_ascii | 9 + contrib/mandoc/regress/mdoc/Ms/noarg.out_lint | 2 + .../mandoc/regress/mdoc/Ms/noarg.out_markdown | 14 + contrib/mandoc/regress/mdoc/Mt/Makefile | 10 + contrib/mandoc/regress/mdoc/Mt/font.in | 11 + contrib/mandoc/regress/mdoc/Mt/font.out_ascii | 9 + contrib/mandoc/regress/mdoc/Mt/simple.in | 16 + .../mandoc/regress/mdoc/Mt/simple.out_ascii | 13 + .../mandoc/regress/mdoc/Mt/simple.out_lint | 1 + .../regress/mdoc/Mt/simple.out_markdown | 18 + contrib/mandoc/regress/mdoc/Nd/Makefile | 8 + contrib/mandoc/regress/mdoc/Nd/broken.in | 31 + .../mandoc/regress/mdoc/Nd/broken.out_ascii | 19 + .../mandoc/regress/mdoc/Nd/broken.out_lint | 9 + contrib/mandoc/regress/mdoc/Nd/hyph.in | 12 + contrib/mandoc/regress/mdoc/Nd/hyph.out_ascii | 10 + .../mandoc/regress/mdoc/Nd/hyph.out_markdown | 13 + contrib/mandoc/regress/mdoc/Nd/noarg.in | 9 + .../mandoc/regress/mdoc/Nd/noarg.out_ascii | 9 + contrib/mandoc/regress/mdoc/Nd/noarg.out_lint | 1 + .../mandoc/regress/mdoc/Nd/noarg.out_markdown | 11 + contrib/mandoc/regress/mdoc/Nd/par.in | 16 + contrib/mandoc/regress/mdoc/Nd/par.out_ascii | 13 + .../mandoc/regress/mdoc/Nd/par.out_markdown | 17 + contrib/mandoc/regress/mdoc/Nm/Makefile | 26 + contrib/mandoc/regress/mdoc/Nm/badNAME.in | 9 + .../mandoc/regress/mdoc/Nm/badNAME.out_ascii | 9 + .../mandoc/regress/mdoc/Nm/badNAME.out_lint | 2 + contrib/mandoc/regress/mdoc/Nm/badNAMEuse.in | 10 + .../regress/mdoc/Nm/badNAMEuse.out_ascii | 10 + .../regress/mdoc/Nm/badNAMEuse.out_lint | 2 + contrib/mandoc/regress/mdoc/Nm/break.in | 13 + .../mandoc/regress/mdoc/Nm/break.out_ascii | 12 + contrib/mandoc/regress/mdoc/Nm/break.out_lint | 1 + .../mandoc/regress/mdoc/Nm/break.out_markdown | 17 + contrib/mandoc/regress/mdoc/Nm/broken.in | 22 + .../mandoc/regress/mdoc/Nm/broken.out_ascii | 14 + .../mandoc/regress/mdoc/Nm/broken.out_lint | 2 + .../regress/mdoc/Nm/broken.out_markdown | 19 + contrib/mandoc/regress/mdoc/Nm/empty.in | 14 + .../mandoc/regress/mdoc/Nm/empty.out_ascii | 13 + .../mandoc/regress/mdoc/Nm/empty.out_markdown | 18 + contrib/mandoc/regress/mdoc/Nm/emptyNAME.in | 9 + .../regress/mdoc/Nm/emptyNAME.out_ascii | 9 + .../mandoc/regress/mdoc/Nm/emptyNAMEuse.in | 10 + .../regress/mdoc/Nm/emptyNAMEuse.out_ascii | 10 + contrib/mandoc/regress/mdoc/Nm/font.in | 11 + contrib/mandoc/regress/mdoc/Nm/font.out_ascii | 9 + .../mandoc/regress/mdoc/Nm/font.out_markdown | 13 + contrib/mandoc/regress/mdoc/Nm/long.in | 12 + contrib/mandoc/regress/mdoc/Nm/long.out_ascii | 14 + .../mandoc/regress/mdoc/Nm/long.out_markdown | 13 + contrib/mandoc/regress/mdoc/Nm/par.in | 12 + contrib/mandoc/regress/mdoc/Nm/par.out_ascii | 11 + .../mandoc/regress/mdoc/Nm/par.out_markdown | 14 + contrib/mandoc/regress/mdoc/Nm/parns.in | 24 + .../mandoc/regress/mdoc/Nm/parns.out_ascii | 17 + .../mandoc/regress/mdoc/Nm/parns.out_markdown | 22 + contrib/mandoc/regress/mdoc/Nm/punct.in | 43 + .../mandoc/regress/mdoc/Nm/punct.out_ascii | 14 + contrib/mandoc/regress/mdoc/Nm/punct.out_lint | 1 + .../mandoc/regress/mdoc/Nm/punct.out_markdown | 45 + contrib/mandoc/regress/mdoc/No/Makefile | 6 + contrib/mandoc/regress/mdoc/No/punct.in | 87 + .../mandoc/regress/mdoc/No/punct.out_ascii | 28 + contrib/mandoc/regress/mdoc/No/punct.out_lint | 25 + .../mandoc/regress/mdoc/No/punct.out_markdown | 89 + contrib/mandoc/regress/mdoc/No/spacing.in | 25 + .../mandoc/regress/mdoc/No/spacing.out_ascii | 11 + .../regress/mdoc/No/spacing.out_markdown | 27 + contrib/mandoc/regress/mdoc/Ns/Makefile | 6 + contrib/mandoc/regress/mdoc/Ns/position.in | 36 + .../mandoc/regress/mdoc/Ns/position.out_ascii | 23 + .../mandoc/regress/mdoc/Ns/position.out_lint | 2 + .../regress/mdoc/Ns/position.out_markdown | 35 + contrib/mandoc/regress/mdoc/Ns/punct.in | 14 + .../mandoc/regress/mdoc/Ns/punct.out_ascii | 10 + .../mandoc/regress/mdoc/Ns/punct.out_markdown | 16 + contrib/mandoc/regress/mdoc/Oo/Makefile | 6 + contrib/mandoc/regress/mdoc/Oo/punct.in | 28 + .../mandoc/regress/mdoc/Oo/punct.out_ascii | 15 + contrib/mandoc/regress/mdoc/Oo/punct.out_lint | 1 + .../mandoc/regress/mdoc/Oo/punct.out_markdown | 26 + contrib/mandoc/regress/mdoc/Op/Makefile | 9 + contrib/mandoc/regress/mdoc/Op/break.in | 30 + contrib/mandoc/regress/mdoc/Op/break.out_lint | 3 + .../mandoc/regress/mdoc/Op/break.out_markdown | 19 + contrib/mandoc/regress/mdoc/Op/broken.in | 25 + .../mandoc/regress/mdoc/Op/broken.out_ascii | 11 + .../mandoc/regress/mdoc/Op/broken.out_lint | 2 + .../regress/mdoc/Op/broken.out_markdown | 19 + contrib/mandoc/regress/mdoc/Op/punct.in | 35 + .../mandoc/regress/mdoc/Op/punct.out_ascii | 19 + contrib/mandoc/regress/mdoc/Op/punct.out_lint | 1 + .../mandoc/regress/mdoc/Op/punct.out_markdown | 37 + contrib/mandoc/regress/mdoc/Os/Makefile | 8 + contrib/mandoc/regress/mdoc/Os/dupe.in | 12 + contrib/mandoc/regress/mdoc/Os/dupe.out_ascii | 9 + contrib/mandoc/regress/mdoc/Os/dupe.out_lint | 9 + .../mandoc/regress/mdoc/Os/dupe.out_markdown | 12 + contrib/mandoc/regress/mdoc/Os/late.in | 10 + contrib/mandoc/regress/mdoc/Os/late.out_ascii | 9 + contrib/mandoc/regress/mdoc/Os/late.out_lint | 1 + .../mandoc/regress/mdoc/Os/late.out_markdown | 12 + contrib/mandoc/regress/mdoc/Os/long.in | 9 + contrib/mandoc/regress/mdoc/Os/long.out_ascii | 11 + .../mandoc/regress/mdoc/Os/long.out_markdown | 11 + contrib/mandoc/regress/mdoc/Os/missing.in | 8 + .../mandoc/regress/mdoc/Os/missing.out_ascii | 9 + .../mandoc/regress/mdoc/Os/missing.out_lint | 1 + .../regress/mdoc/Os/missing.out_markdown | 11 + contrib/mandoc/regress/mdoc/Ox/Makefile | 5 + contrib/mandoc/regress/mdoc/Ox/keep.in | 12 + contrib/mandoc/regress/mdoc/Ox/keep.out_ascii | 10 + .../mandoc/regress/mdoc/Ox/keep.out_markdown | 12 + contrib/mandoc/regress/mdoc/Pa/Makefile | 8 + contrib/mandoc/regress/mdoc/Pa/font.in | 11 + contrib/mandoc/regress/mdoc/Pa/font.out_ascii | 9 + .../mandoc/regress/mdoc/Pa/font.out_markdown | 13 + contrib/mandoc/regress/mdoc/Pa/punct.in | 46 + .../mandoc/regress/mdoc/Pa/punct.out_ascii | 15 + contrib/mandoc/regress/mdoc/Pa/punct.out_lint | 1 + .../mandoc/regress/mdoc/Pa/punct.out_markdown | 48 + contrib/mandoc/regress/mdoc/Pf/Makefile | 6 + contrib/mandoc/regress/mdoc/Pf/spacing.in | 32 + .../mandoc/regress/mdoc/Pf/spacing.out_ascii | 15 + .../mandoc/regress/mdoc/Pf/spacing.out_lint | 3 + .../regress/mdoc/Pf/spacing.out_markdown | 34 + contrib/mandoc/regress/mdoc/Pp/Makefile | 6 + contrib/mandoc/regress/mdoc/Pp/arg.in | 15 + contrib/mandoc/regress/mdoc/Pp/arg.out_ascii | 14 + contrib/mandoc/regress/mdoc/Pp/arg.out_lint | 3 + .../mandoc/regress/mdoc/Pp/arg.out_markdown | 16 + contrib/mandoc/regress/mdoc/Qq/Makefile | 6 + contrib/mandoc/regress/mdoc/Qq/empty.in | 15 + .../mandoc/regress/mdoc/Qq/empty.out_ascii | 10 + contrib/mandoc/regress/mdoc/Qq/empty.out_lint | 2 + .../mandoc/regress/mdoc/Qq/empty.out_markdown | 17 + contrib/mandoc/regress/mdoc/Rs/Makefile | 12 + contrib/mandoc/regress/mdoc/Rs/allch.in | 49 + .../mandoc/regress/mdoc/Rs/allch.out_ascii | 21 + contrib/mandoc/regress/mdoc/Rs/allch.out_lint | 6 + .../mandoc/regress/mdoc/Rs/allch.out_markdown | 50 + contrib/mandoc/regress/mdoc/Rs/allch.out_utf8 | 21 + contrib/mandoc/regress/mdoc/Rs/args.in | 19 + contrib/mandoc/regress/mdoc/Rs/args.out_ascii | 13 + contrib/mandoc/regress/mdoc/Rs/args.out_lint | 2 + .../mandoc/regress/mdoc/Rs/args.out_markdown | 19 + contrib/mandoc/regress/mdoc/Rs/break.in | 28 + .../mandoc/regress/mdoc/Rs/break.out_ascii | 19 + .../mandoc/regress/mdoc/Rs/break.out_markdown | 30 + contrib/mandoc/regress/mdoc/Rs/break.out_utf8 | 19 + contrib/mandoc/regress/mdoc/Rs/empty.in | 17 + .../mandoc/regress/mdoc/Rs/empty.out_ascii | 14 + contrib/mandoc/regress/mdoc/Rs/empty.out_lint | 2 + .../mandoc/regress/mdoc/Rs/empty.out_markdown | 18 + contrib/mandoc/regress/mdoc/Rs/empty.out_utf8 | 14 + .../mandoc/regress/mdoc/Rs/three_authors.in | 14 + .../regress/mdoc/Rs/three_authors.out_ascii | 9 + .../mdoc/Rs/three_authors.out_markdown | 14 + .../regress/mdoc/Rs/three_authors.out_utf8 | 9 + contrib/mandoc/regress/mdoc/Rv/Makefile | 15 + contrib/mandoc/regress/mdoc/Rv/args.in | 16 + contrib/mandoc/regress/mdoc/Rv/args.out_ascii | 22 + .../mandoc/regress/mdoc/Rv/args.out_markdown | 18 + contrib/mandoc/regress/mdoc/Rv/noname.in | 16 + .../mandoc/regress/mdoc/Rv/noname.out_ascii | 22 + .../mandoc/regress/mdoc/Rv/noname.out_lint | 1 + contrib/mandoc/regress/mdoc/Rv/nostd.in | 16 + .../mandoc/regress/mdoc/Rv/nostd.out_ascii | 22 + contrib/mandoc/regress/mdoc/Rv/nostd.out_lint | 3 + .../mandoc/regress/mdoc/Rv/nostd.out_markdown | 18 + contrib/mandoc/regress/mdoc/Sh/Makefile | 16 + contrib/mandoc/regress/mdoc/Sh/badNAME.in | 9 + .../mandoc/regress/mdoc/Sh/badNAME.out_ascii | 9 + .../mandoc/regress/mdoc/Sh/badNAME.out_lint | 2 + .../regress/mdoc/Sh/badNAME.out_markdown | 12 + contrib/mandoc/regress/mdoc/Sh/before.in | 12 + .../mandoc/regress/mdoc/Sh/before.out_ascii | 11 + .../mandoc/regress/mdoc/Sh/before.out_lint | 1 + .../regress/mdoc/Sh/before.out_markdown | 15 + contrib/mandoc/regress/mdoc/Sh/empty.in | 11 + .../mandoc/regress/mdoc/Sh/empty.out_ascii | 11 + contrib/mandoc/regress/mdoc/Sh/empty.out_lint | 1 + .../mandoc/regress/mdoc/Sh/empty.out_markdown | 15 + contrib/mandoc/regress/mdoc/Sh/emptyNAME.in | 7 + .../regress/mdoc/Sh/emptyNAME.out_ascii | 7 + .../mandoc/regress/mdoc/Sh/emptyNAME.out_lint | 2 + .../regress/mdoc/Sh/emptyNAME.out_markdown | 9 + contrib/mandoc/regress/mdoc/Sh/first.in | 6 + .../mandoc/regress/mdoc/Sh/first.out_ascii | 6 + contrib/mandoc/regress/mdoc/Sh/first.out_lint | 1 + .../mandoc/regress/mdoc/Sh/first.out_markdown | 7 + contrib/mandoc/regress/mdoc/Sh/nohead.in | 13 + .../mandoc/regress/mdoc/Sh/nohead.out_ascii | 9 + .../mandoc/regress/mdoc/Sh/nohead.out_lint | 2 + .../regress/mdoc/Sh/nohead.out_markdown | 13 + contrib/mandoc/regress/mdoc/Sh/order.in | 13 + .../mandoc/regress/mdoc/Sh/order.out_ascii | 14 + contrib/mandoc/regress/mdoc/Sh/order.out_lint | 3 + .../mandoc/regress/mdoc/Sh/order.out_markdown | 19 + contrib/mandoc/regress/mdoc/Sh/orderNAME.in | 10 + .../regress/mdoc/Sh/orderNAME.out_ascii | 12 + .../mandoc/regress/mdoc/Sh/orderNAME.out_lint | 2 + .../regress/mdoc/Sh/orderNAME.out_markdown | 15 + contrib/mandoc/regress/mdoc/Sh/parbefore.in | 10 + .../regress/mdoc/Sh/parbefore.out_ascii | 9 + .../mandoc/regress/mdoc/Sh/parbefore.out_lint | 1 + .../regress/mdoc/Sh/parbefore.out_markdown | 11 + contrib/mandoc/regress/mdoc/Sh/parborder.in | 22 + .../regress/mdoc/Sh/parborder.out_ascii | 18 + .../mandoc/regress/mdoc/Sh/parborder.out_lint | 7 + .../regress/mdoc/Sh/parborder.out_markdown | 23 + contrib/mandoc/regress/mdoc/Sh/punctNAME.in | 11 + .../regress/mdoc/Sh/punctNAME.out_ascii | 10 + .../mandoc/regress/mdoc/Sh/punctNAME.out_lint | 4 + .../regress/mdoc/Sh/punctNAME.out_markdown | 13 + contrib/mandoc/regress/mdoc/Sh/subbefore.in | 13 + .../regress/mdoc/Sh/subbefore.out_ascii | 12 + .../mandoc/regress/mdoc/Sh/subbefore.out_lint | 1 + .../regress/mdoc/Sh/subbefore.out_markdown | 17 + contrib/mandoc/regress/mdoc/Sm/Makefile | 8 + contrib/mandoc/regress/mdoc/Sm/badarg.in | 15 + .../mandoc/regress/mdoc/Sm/badarg.out_ascii | 9 + .../mandoc/regress/mdoc/Sm/badarg.out_lint | 2 + .../regress/mdoc/Sm/badarg.out_markdown | 14 + contrib/mandoc/regress/mdoc/Sm/noarg.in | 21 + .../mandoc/regress/mdoc/Sm/noarg.out_ascii | 11 + .../mandoc/regress/mdoc/Sm/noarg.out_markdown | 18 + contrib/mandoc/regress/mdoc/Sm/scope.in | 31 + .../mandoc/regress/mdoc/Sm/scope.out_ascii | 17 + .../mandoc/regress/mdoc/Sm/scope.out_markdown | 31 + contrib/mandoc/regress/mdoc/Sm/spacing-No.in | 61 + .../regress/mdoc/Sm/spacing-No.out_ascii | 26 + .../regress/mdoc/Sm/spacing-No.out_markdown | 47 + contrib/mandoc/regress/mdoc/Sm/spacing-Op.in | 64 + .../regress/mdoc/Sm/spacing-Op.out_ascii | 28 + .../regress/mdoc/Sm/spacing-Op.out_markdown | 49 + contrib/mandoc/regress/mdoc/Sm/twoarg.in | 22 + .../mandoc/regress/mdoc/Sm/twoarg.out_ascii | 12 + .../mandoc/regress/mdoc/Sm/twoarg.out_lint | 1 + .../regress/mdoc/Sm/twoarg.out_markdown | 19 + contrib/mandoc/regress/mdoc/Sq/Makefile | 6 + contrib/mandoc/regress/mdoc/Sq/empty.in | 15 + .../mandoc/regress/mdoc/Sq/empty.out_ascii | 10 + contrib/mandoc/regress/mdoc/Sq/empty.out_lint | 2 + .../mandoc/regress/mdoc/Sq/empty.out_markdown | 17 + contrib/mandoc/regress/mdoc/St/Makefile | 12 + contrib/mandoc/regress/mdoc/St/badargs.in | 21 + .../mandoc/regress/mdoc/St/badargs.out_ascii | 17 + .../mandoc/regress/mdoc/St/badargs.out_lint | 2 + .../regress/mdoc/St/badargs.out_markdown | 21 + contrib/mandoc/regress/mdoc/St/call.in | 15 + contrib/mandoc/regress/mdoc/St/call.out_ascii | 13 + contrib/mandoc/regress/mdoc/St/call.out_lint | 1 + .../mandoc/regress/mdoc/St/call.out_markdown | 17 + contrib/mandoc/regress/mdoc/Sx/Makefile | 6 + contrib/mandoc/regress/mdoc/Sx/font.in | 11 + contrib/mandoc/regress/mdoc/Sx/font.out_ascii | 9 + .../mandoc/regress/mdoc/Sx/font.out_markdown | 13 + contrib/mandoc/regress/mdoc/Sx/noarg.in | 13 + .../mandoc/regress/mdoc/Sx/noarg.out_ascii | 9 + contrib/mandoc/regress/mdoc/Sx/noarg.out_lint | 1 + .../mandoc/regress/mdoc/Sx/noarg.out_markdown | 14 + contrib/mandoc/regress/mdoc/Sy/Makefile | 6 + contrib/mandoc/regress/mdoc/Sy/font.in | 11 + contrib/mandoc/regress/mdoc/Sy/font.out_ascii | 9 + .../mandoc/regress/mdoc/Sy/font.out_markdown | 13 + contrib/mandoc/regress/mdoc/Sy/noarg.in | 13 + .../mandoc/regress/mdoc/Sy/noarg.out_ascii | 9 + contrib/mandoc/regress/mdoc/Sy/noarg.out_lint | 1 + .../mandoc/regress/mdoc/Sy/noarg.out_markdown | 14 + contrib/mandoc/regress/mdoc/Sy/punct.in | 87 + .../mandoc/regress/mdoc/Sy/punct.out_ascii | 28 + contrib/mandoc/regress/mdoc/Sy/punct.out_lint | 26 + .../mandoc/regress/mdoc/Sy/punct.out_markdown | 89 + contrib/mandoc/regress/mdoc/Tn/Makefile | 6 + contrib/mandoc/regress/mdoc/Tn/font.in | 11 + contrib/mandoc/regress/mdoc/Tn/font.out_ascii | 9 + .../mandoc/regress/mdoc/Tn/font.out_markdown | 13 + contrib/mandoc/regress/mdoc/Tn/noarg.in | 13 + .../mandoc/regress/mdoc/Tn/noarg.out_ascii | 9 + contrib/mandoc/regress/mdoc/Tn/noarg.out_lint | 2 + .../mandoc/regress/mdoc/Tn/noarg.out_markdown | 14 + contrib/mandoc/regress/mdoc/Ud/Makefile | 6 + contrib/mandoc/regress/mdoc/Ud/arg.in | 20 + contrib/mandoc/regress/mdoc/Ud/arg.out_ascii | 13 + contrib/mandoc/regress/mdoc/Ud/arg.out_lint | 10 + .../mandoc/regress/mdoc/Ud/arg.out_markdown | 22 + contrib/mandoc/regress/mdoc/Ux/Makefile | 6 + contrib/mandoc/regress/mdoc/Ux/eos.in | 23 + contrib/mandoc/regress/mdoc/Ux/eos.out_ascii | 11 + .../mandoc/regress/mdoc/Ux/eos.out_markdown | 25 + contrib/mandoc/regress/mdoc/Ux/punct.in | 16 + .../mandoc/regress/mdoc/Ux/punct.out_ascii | 11 + contrib/mandoc/regress/mdoc/Ux/punct.out_lint | 5 + .../mandoc/regress/mdoc/Ux/punct.out_markdown | 18 + contrib/mandoc/regress/mdoc/Ux/spacing.in | 21 + .../mandoc/regress/mdoc/Ux/spacing.out_ascii | 11 + .../regress/mdoc/Ux/spacing.out_markdown | 23 + contrib/mandoc/regress/mdoc/Va/Makefile | 6 + contrib/mandoc/regress/mdoc/Va/basic.in | 15 + .../mandoc/regress/mdoc/Va/basic.out_ascii | 10 + .../mandoc/regress/mdoc/Va/basic.out_markdown | 17 + contrib/mandoc/regress/mdoc/Va/font.in | 11 + contrib/mandoc/regress/mdoc/Va/font.out_ascii | 9 + .../mandoc/regress/mdoc/Va/font.out_markdown | 13 + contrib/mandoc/regress/mdoc/Va/noarg.in | 14 + .../mandoc/regress/mdoc/Va/noarg.out_ascii | 9 + contrib/mandoc/regress/mdoc/Va/noarg.out_lint | 2 + .../mandoc/regress/mdoc/Va/noarg.out_markdown | 15 + contrib/mandoc/regress/mdoc/Va/punct.in | 43 + .../mandoc/regress/mdoc/Va/punct.out_ascii | 13 + .../mandoc/regress/mdoc/Va/punct.out_markdown | 45 + contrib/mandoc/regress/mdoc/Vt/Makefile | 6 + contrib/mandoc/regress/mdoc/Vt/child.in | 16 + .../mandoc/regress/mdoc/Vt/child.out_ascii | 12 + .../mandoc/regress/mdoc/Vt/child.out_markdown | 20 + contrib/mandoc/regress/mdoc/Vt/font.in | 11 + contrib/mandoc/regress/mdoc/Vt/font.out_ascii | 9 + .../mandoc/regress/mdoc/Vt/font.out_markdown | 13 + contrib/mandoc/regress/mdoc/Vt/noarg.in | 13 + .../mandoc/regress/mdoc/Vt/noarg.out_ascii | 9 + contrib/mandoc/regress/mdoc/Vt/noarg.out_lint | 2 + .../mandoc/regress/mdoc/Vt/noarg.out_markdown | 14 + contrib/mandoc/regress/mdoc/Vt/spacing.in | 17 + .../mandoc/regress/mdoc/Vt/spacing.out_ascii | 13 + .../regress/mdoc/Vt/spacing.out_markdown | 21 + contrib/mandoc/regress/mdoc/Xr/Makefile | 9 + contrib/mandoc/regress/mdoc/Xr/args.in | 32 + contrib/mandoc/regress/mdoc/Xr/args.out_ascii | 17 + contrib/mandoc/regress/mdoc/Xr/args.out_lint | 7 + .../mandoc/regress/mdoc/Xr/args.out_markdown | 32 + contrib/mandoc/regress/mdoc/blank/Makefile | 9 + contrib/mandoc/regress/mdoc/blank/comment.in | 16 + .../regress/mdoc/blank/comment.out_ascii | 11 + .../regress/mdoc/blank/comment.out_lint | 1 + .../regress/mdoc/blank/comment.out_markdown | 16 + contrib/mandoc/regress/mdoc/blank/line.in | 91 + .../mandoc/regress/mdoc/blank/line.out_ascii | 77 + .../mandoc/regress/mdoc/blank/line.out_lint | 23 + contrib/mandoc/regress/mdoc/blank/list.in | 67 + .../mandoc/regress/mdoc/blank/list.out_ascii | 42 + .../mandoc/regress/mdoc/blank/list.out_lint | 7 + .../regress/mdoc/blank/list.out_markdown | 50 + contrib/mandoc/regress/mdoc/break/Makefile | 15 + .../regress/mdoc/break/brokenbreaker.in | 15 + .../mdoc/break/brokenbreaker.out_ascii | 9 + .../regress/mdoc/break/brokenbreaker.out_lint | 3 + .../mdoc/break/brokenbreaker.out_markdown | 13 + contrib/mandoc/regress/mdoc/break/notopen.in | 13 + .../regress/mdoc/break/notopen.out_ascii | 9 + .../regress/mdoc/break/notopen.out_lint | 1 + .../regress/mdoc/break/notopen.out_markdown | 14 + contrib/mandoc/regress/mdoc/break/tail.in | 49 + .../mandoc/regress/mdoc/break/tail.out_ascii | 24 + .../mandoc/regress/mdoc/break/tail.out_lint | 5 + .../regress/mdoc/break/tail.out_markdown | 43 + contrib/mandoc/regress/mdoc/break/twice.in | 42 + .../mandoc/regress/mdoc/break/twice.out_ascii | 19 + .../mandoc/regress/mdoc/break/twice.out_lint | 11 + .../regress/mdoc/break/twice.out_markdown | 35 + contrib/mandoc/regress/mdoc/break/two.in | 43 + .../mandoc/regress/mdoc/break/two.out_ascii | 19 + .../mandoc/regress/mdoc/break/two.out_lint | 8 + .../regress/mdoc/break/two.out_markdown | 37 + contrib/mandoc/regress/regress.pl | 434 + contrib/mandoc/regress/regress.pl.1 | 147 + contrib/mandoc/regress/roff/Makefile | 7 + contrib/mandoc/regress/roff/Makefile.inc | 6 + contrib/mandoc/regress/roff/args/Makefile | 6 + contrib/mandoc/regress/roff/args/man.in | 135 + .../mandoc/regress/roff/args/man.out_ascii | 38 + contrib/mandoc/regress/roff/args/man.out_lint | 9 + contrib/mandoc/regress/roff/args/mdoc.in | 125 + .../mandoc/regress/roff/args/mdoc.out_ascii | 34 + .../mandoc/regress/roff/args/mdoc.out_lint | 13 + contrib/mandoc/regress/roff/args/roff.in | 72 + .../mandoc/regress/roff/args/roff.out_ascii | 43 + .../mandoc/regress/roff/args/roff.out_lint | 16 + contrib/mandoc/regress/roff/br/Makefile | 6 + contrib/mandoc/regress/roff/br/args.in | 10 + contrib/mandoc/regress/roff/br/args.out_ascii | 14 + contrib/mandoc/regress/roff/br/args.out_lint | 1 + contrib/mandoc/regress/roff/cc/Makefile | 6 + contrib/mandoc/regress/roff/cc/basic.in | 20 + .../mandoc/regress/roff/cc/basic.out_ascii | 17 + contrib/mandoc/regress/roff/cc/basic.out_lint | 1 + contrib/mandoc/regress/roff/cond/Makefile | 6 + contrib/mandoc/regress/roff/cond/before-Dd.in | 31 + .../regress/roff/cond/before-Dd.out_ascii | 17 + contrib/mandoc/regress/roff/cond/close.in | 16 + .../mandoc/regress/roff/cond/close.out_ascii | 19 + .../mandoc/regress/roff/cond/close.out_lint | 2 + contrib/mandoc/regress/roff/cond/ie.in | 39 + contrib/mandoc/regress/roff/cond/ie.out_ascii | 20 + contrib/mandoc/regress/roff/cond/if.in | 98 + contrib/mandoc/regress/roff/cond/if.out_ascii | 34 + contrib/mandoc/regress/roff/cond/if.out_lint | 2 + contrib/mandoc/regress/roff/cond/numeric.in | 153 + .../regress/roff/cond/numeric.out_ascii | 41 + contrib/mandoc/regress/roff/cond/register.in | 12 + .../regress/roff/cond/register.out_ascii | 14 + contrib/mandoc/regress/roff/cond/strcmp.in | 38 + .../mandoc/regress/roff/cond/strcmp.out_ascii | 18 + contrib/mandoc/regress/roff/cond/string.in | 34 + .../mandoc/regress/roff/cond/string.out_ascii | 22 + contrib/mandoc/regress/roff/de/Dd.in | 12 + contrib/mandoc/regress/roff/de/Dd.out_ascii | 9 + contrib/mandoc/regress/roff/de/Makefile | 49 + contrib/mandoc/regress/roff/de/TH.in | 9 + contrib/mandoc/regress/roff/de/TH.out_ascii | 13 + contrib/mandoc/regress/roff/de/append.in | 37 + .../mandoc/regress/roff/de/append.out_ascii | 13 + contrib/mandoc/regress/roff/de/cond.in | 14 + contrib/mandoc/regress/roff/de/cond.out_ascii | 9 + contrib/mandoc/regress/roff/de/escname.in | 44 + .../mandoc/regress/roff/de/escname.out_ascii | 23 + .../mandoc/regress/roff/de/escname.out_lint | 8 + contrib/mandoc/regress/roff/de/factorial.in | 32 + .../regress/roff/de/factorial.out_ascii | 18 + contrib/mandoc/regress/roff/de/indir.in | 31 + .../mandoc/regress/roff/de/indir.out_ascii | 12 + contrib/mandoc/regress/roff/de/indir.out_lint | 4 + contrib/mandoc/regress/roff/de/infinite.in | 21 + .../mandoc/regress/roff/de/infinite.out_ascii | 9 + .../mandoc/regress/roff/de/infinite.out_lint | 2 + contrib/mandoc/regress/roff/de/startde.in | 25 + .../mandoc/regress/roff/de/startde.out_ascii | 15 + contrib/mandoc/regress/roff/ds/Makefile | 5 + contrib/mandoc/regress/roff/ds/append.in | 18 + .../mandoc/regress/roff/ds/append.out_ascii | 12 + contrib/mandoc/regress/roff/ds/escname.in | 15 + .../mandoc/regress/roff/ds/escname.out_ascii | 11 + contrib/mandoc/regress/roff/ds/nested.in | 15 + .../mandoc/regress/roff/ds/nested.out_ascii | 11 + contrib/mandoc/regress/roff/ds/quoting.in | 33 + .../mandoc/regress/roff/ds/quoting.out_ascii | 17 + contrib/mandoc/regress/roff/esc/B.in | 37 + contrib/mandoc/regress/roff/esc/B.out_ascii | 23 + contrib/mandoc/regress/roff/esc/B.out_lint | 1 + contrib/mandoc/regress/roff/esc/Makefile | 6 + contrib/mandoc/regress/roff/esc/c.in | 27 + contrib/mandoc/regress/roff/esc/c.out_ascii | 15 + contrib/mandoc/regress/roff/esc/c_man.in | 22 + .../mandoc/regress/roff/esc/c_man.out_ascii | 18 + contrib/mandoc/regress/roff/esc/e.in | 20 + contrib/mandoc/regress/roff/esc/e.out_ascii | 13 + contrib/mandoc/regress/roff/esc/f.in | 13 + contrib/mandoc/regress/roff/esc/f.out_ascii | 11 + contrib/mandoc/regress/roff/esc/h.in | 23 + contrib/mandoc/regress/roff/esc/h.out_ascii | 16 + contrib/mandoc/regress/roff/esc/h.out_lint | 1 + contrib/mandoc/regress/roff/esc/ignore.in | 15 + .../mandoc/regress/roff/esc/ignore.out_ascii | 12 + .../mandoc/regress/roff/esc/ignore.out_lint | 1 + contrib/mandoc/regress/roff/esc/l.in | 23 + contrib/mandoc/regress/roff/esc/l.out_ascii | 16 + contrib/mandoc/regress/roff/esc/l.out_lint | 1 + contrib/mandoc/regress/roff/esc/multi.in | 11 + .../mandoc/regress/roff/esc/multi.out_ascii | 10 + contrib/mandoc/regress/roff/esc/o.in | 19 + contrib/mandoc/regress/roff/esc/o.out_ascii | 14 + contrib/mandoc/regress/roff/esc/one.in | 17 + contrib/mandoc/regress/roff/esc/one.out_ascii | 13 + contrib/mandoc/regress/roff/esc/p.in | 16 + contrib/mandoc/regress/roff/esc/p.out_ascii | 19 + contrib/mandoc/regress/roff/esc/two.in | 76 + contrib/mandoc/regress/roff/esc/two.out_ascii | 26 + contrib/mandoc/regress/roff/esc/w.in | 17 + contrib/mandoc/regress/roff/esc/w.out_ascii | 13 + contrib/mandoc/regress/roff/esc/w.out_lint | 1 + contrib/mandoc/regress/roff/esc/z.in | 25 + contrib/mandoc/regress/roff/esc/z.out_ascii | 16 + contrib/mandoc/regress/roff/ft/Makefile | 8 + .../mandoc/regress/roff/ft/badargs-mdoc.in | 19 + .../regress/roff/ft/badargs-mdoc.out_ascii | 9 + .../regress/roff/ft/badargs-mdoc.out_lint | 2 + contrib/mandoc/regress/roff/ft/badargs.in | 16 + .../mandoc/regress/roff/ft/badargs.out_ascii | 13 + .../mandoc/regress/roff/ft/badargs.out_lint | 2 + contrib/mandoc/regress/roff/ig/Makefile | 6 + contrib/mandoc/regress/roff/ig/basic.in | 28 + .../mandoc/regress/roff/ig/basic.out_ascii | 13 + contrib/mandoc/regress/roff/ig/basic.out_lint | 3 + contrib/mandoc/regress/roff/it/Makefile | 6 + contrib/mandoc/regress/roff/it/badarg.in | 18 + .../mandoc/regress/roff/it/badarg.out_ascii | 9 + .../mandoc/regress/roff/it/badarg.out_lint | 2 + contrib/mandoc/regress/roff/it/double.in | 17 + .../mandoc/regress/roff/it/double.out_ascii | 13 + contrib/mandoc/regress/roff/it/text.in | 28 + contrib/mandoc/regress/roff/it/text.out_ascii | 16 + contrib/mandoc/regress/roff/ll/Makefile | 7 + contrib/mandoc/regress/roff/ll/basic.in | 26 + .../mandoc/regress/roff/ll/basic.out_ascii | 23 + contrib/mandoc/regress/roff/na/Makefile | 5 + contrib/mandoc/regress/roff/na/args.in | 10 + contrib/mandoc/regress/roff/na/args.out_ascii | 13 + contrib/mandoc/regress/roff/nr/Makefile | 6 + contrib/mandoc/regress/roff/nr/argc.in | 22 + contrib/mandoc/regress/roff/nr/argc.out_ascii | 17 + contrib/mandoc/regress/roff/nr/divzero.in | 9 + .../mandoc/regress/roff/nr/divzero.out_ascii | 13 + .../mandoc/regress/roff/nr/divzero.out_lint | 2 + contrib/mandoc/regress/roff/nr/escname.in | 18 + .../mandoc/regress/roff/nr/escname.out_ascii | 19 + .../mandoc/regress/roff/nr/escname.out_lint | 4 + contrib/mandoc/regress/roff/nr/eval.in | 68 + contrib/mandoc/regress/roff/nr/eval.out_ascii | 33 + contrib/mandoc/regress/roff/nr/int.in | 16 + contrib/mandoc/regress/roff/nr/int.out_ascii | 15 + contrib/mandoc/regress/roff/nr/predef.in | 25 + .../mandoc/regress/roff/nr/predef.out_ascii | 21 + contrib/mandoc/regress/roff/nr/rr.in | 16 + contrib/mandoc/regress/roff/nr/rr.out_ascii | 14 + contrib/mandoc/regress/roff/nr/scale.in | 27 + .../mandoc/regress/roff/nr/scale.out_ascii | 13 + contrib/mandoc/regress/roff/po/Makefile | 5 + contrib/mandoc/regress/roff/po/basic-mdoc.in | 21 + .../regress/roff/po/basic-mdoc.out_ascii | 17 + contrib/mandoc/regress/roff/ps/Makefile | 5 + contrib/mandoc/regress/roff/ps/ignore.in | 10 + .../mandoc/regress/roff/ps/ignore.out_ascii | 13 + contrib/mandoc/regress/roff/rm/Makefile | 5 + contrib/mandoc/regress/roff/rm/basic.in | 20 + .../mandoc/regress/roff/rm/basic.out_ascii | 10 + contrib/mandoc/regress/roff/rn/Makefile | 5 + contrib/mandoc/regress/roff/rn/append.in | 24 + .../mandoc/regress/roff/rn/append.out_ascii | 13 + contrib/mandoc/regress/roff/scale/Makefile | 5 + contrib/mandoc/regress/roff/scale/horiz.in | 32 + .../mandoc/regress/roff/scale/horiz.out_ascii | 27 + contrib/mandoc/regress/roff/sp/Makefile | 6 + contrib/mandoc/regress/roff/sp/badargs-man.in | 18 + .../regress/roff/sp/badargs-man.out_ascii | 29 + .../regress/roff/sp/badargs-man.out_lint | 1 + .../mandoc/regress/roff/sp/badargs-mdoc.in | 21 + .../regress/roff/sp/badargs-mdoc.out_ascii | 25 + contrib/mandoc/regress/roff/sp/negative.in | 9 + .../mandoc/regress/roff/sp/negative.out_ascii | 14 + contrib/mandoc/regress/roff/sp/scaling-man.in | 28 + .../regress/roff/sp/scaling-man.out_ascii | 34 + .../mandoc/regress/roff/sp/scaling-mdoc.in | 31 + .../regress/roff/sp/scaling-mdoc.out_ascii | 30 + contrib/mandoc/regress/roff/string/Makefile | 15 + contrib/mandoc/regress/roff/string/escape.in | 27 + .../regress/roff/string/escape.out_ascii | 31 + .../mandoc/regress/roff/string/infinite.in | 9 + .../regress/roff/string/infinite.out_ascii | 13 + contrib/mandoc/regress/roff/string/name.in | 36 + .../mandoc/regress/roff/string/name.out_ascii | 18 + .../mandoc/regress/roff/string/name.out_lint | 17 + contrib/mandoc/regress/roff/string/std.in | 11 + .../mandoc/regress/roff/string/std.out_ascii | 15 + .../mandoc/regress/roff/string/std.out_lint | 2 + .../mandoc/regress/roff/string/zerolength.in | 17 + .../regress/roff/string/zerolength.out_ascii | 15 + contrib/mandoc/regress/roff/ta/Makefile | 5 + contrib/mandoc/regress/roff/ta/basic-man.in | 23 + .../regress/roff/ta/basic-man.out_ascii | 24 + contrib/mandoc/regress/roff/ta/basic-mdoc.in | 35 + .../regress/roff/ta/basic-mdoc.out_ascii | 25 + contrib/mandoc/regress/roff/ti/Makefile | 5 + contrib/mandoc/regress/roff/ti/basic-man.in | 19 + .../regress/roff/ti/basic-man.out_ascii | 21 + contrib/mandoc/regress/roff/ti/basic-mdoc.in | 22 + .../regress/roff/ti/basic-mdoc.out_ascii | 17 + contrib/mandoc/regress/roff/tr/Makefile | 6 + contrib/mandoc/regress/roff/tr/args.in | 17 + contrib/mandoc/regress/roff/tr/args.out_ascii | 14 + contrib/mandoc/regress/roff/tr/args.out_lint | 3 + contrib/mandoc/regress/tbl/Makefile | 6 + contrib/mandoc/regress/tbl/Makefile.inc | 16 + contrib/mandoc/regress/tbl/data/Makefile | 12 + contrib/mandoc/regress/tbl/data/blankline.in | 15 + .../regress/tbl/data/blankline.out_ascii | 18 + .../mandoc/regress/tbl/data/block_unclosed.in | 34 + .../regress/tbl/data/block_unclosed.out_ascii | 27 + .../regress/tbl/data/block_unclosed.out_lint | 2 + .../mandoc/regress/tbl/data/block_width.in | 107 + .../regress/tbl/data/block_width.out_ascii | 66 + contrib/mandoc/regress/tbl/data/block_wrap.in | 32 + .../regress/tbl/data/block_wrap.out_ascii | 27 + contrib/mandoc/regress/tbl/data/empty.in | 10 + .../mandoc/regress/tbl/data/empty.out_ascii | 15 + .../mandoc/regress/tbl/data/empty.out_lint | 1 + contrib/mandoc/regress/tbl/data/insert.in | 21 + .../mandoc/regress/tbl/data/insert.out_ascii | 22 + .../mandoc/regress/tbl/data/insert.out_lint | 2 + contrib/mandoc/regress/tbl/layout/Makefile | 15 + contrib/mandoc/regress/tbl/layout/center.in | 27 + .../regress/tbl/layout/center.out_ascii | 25 + contrib/mandoc/regress/tbl/layout/complex.in | 38 + .../regress/tbl/layout/complex.out_ascii | 35 + .../regress/tbl/layout/complex.out_lint | 5 + contrib/mandoc/regress/tbl/layout/empty.in | 16 + .../mandoc/regress/tbl/layout/empty.out_ascii | 19 + .../mandoc/regress/tbl/layout/empty.out_lint | 2 + .../mandoc/regress/tbl/layout/emptyline.in | 25 + .../regress/tbl/layout/emptyline.out_ascii | 24 + .../regress/tbl/layout/lines-nogroff.in | 208 + .../tbl/layout/lines-nogroff.out_ascii | 108 + contrib/mandoc/regress/tbl/layout/lines.in | 6977 +++++++++++++++++ .../mandoc/regress/tbl/layout/lines.out_ascii | 4755 +++++++++++ contrib/mandoc/regress/tbl/layout/numbers.in | 13 + .../regress/tbl/layout/numbers.out_ascii | 18 + contrib/mandoc/regress/tbl/layout/span.in | 55 + .../mandoc/regress/tbl/layout/span.out_ascii | 44 + contrib/mandoc/regress/tbl/macro/Makefile | 12 + contrib/mandoc/regress/tbl/macro/column.in | 17 + .../mandoc/regress/tbl/macro/column.out_ascii | 13 + contrib/mandoc/regress/tbl/macro/man.in | 17 + .../mandoc/regress/tbl/macro/man.out_ascii | 20 + contrib/mandoc/regress/tbl/macro/man.out_lint | 2 + contrib/mandoc/regress/tbl/macro/nested.in | 17 + .../mandoc/regress/tbl/macro/nested.out_ascii | 21 + .../mandoc/regress/tbl/macro/nested.out_lint | 1 + contrib/mandoc/regress/tbl/mod/Makefile | 15 + contrib/mandoc/regress/tbl/mod/badfont.in | 15 + .../mandoc/regress/tbl/mod/badfont.out_ascii | 18 + .../mandoc/regress/tbl/mod/badfont.out_lint | 2 + .../mandoc/regress/tbl/mod/expand-toowide.in | 16 + .../regress/tbl/mod/expand-toowide.out_ascii | 23 + contrib/mandoc/regress/tbl/mod/expand.in | 232 + .../mandoc/regress/tbl/mod/expand.out_ascii | 104 + contrib/mandoc/regress/tbl/mod/font.in | 19 + contrib/mandoc/regress/tbl/mod/font.out_ascii | 22 + contrib/mandoc/regress/tbl/mod/font.out_lint | 5 + contrib/mandoc/regress/tbl/mod/misalign.in | 17 + .../mandoc/regress/tbl/mod/misalign.out_ascii | 22 + contrib/mandoc/regress/tbl/mod/spacing.in | 15 + .../mandoc/regress/tbl/mod/spacing.out_ascii | 18 + contrib/mandoc/regress/tbl/mod/width.in | 15 + .../mandoc/regress/tbl/mod/width.out_ascii | 16 + contrib/mandoc/regress/tbl/opt/Makefile | 6 + contrib/mandoc/regress/tbl/opt/box.in | 59 + contrib/mandoc/regress/tbl/opt/box.out_ascii | 54 + contrib/mandoc/regress/tbl/opt/center.in | 99 + .../mandoc/regress/tbl/opt/center.out_ascii | 65 + contrib/mandoc/regress/tbl/opt/invalid.in | 20 + .../mandoc/regress/tbl/opt/invalid.out_ascii | 24 + .../mandoc/regress/tbl/opt/invalid.out_lint | 5 + contrib/mandoc/st.c | 2 + contrib/mandoc/st.in | 78 + contrib/mandoc/test-fgetln.c | 11 + 1609 files changed, 44898 insertions(+), 12 deletions(-) create mode 100644 contrib/mandoc/Makefile.local create mode 100644 contrib/mandoc/config.h create mode 100644 contrib/mandoc/config.log mode change 100755 => 100644 contrib/mandoc/configure create mode 100644 contrib/mandoc/libroff.h create mode 100644 contrib/mandoc/man-cgi.css create mode 100644 contrib/mandoc/manpath.h create mode 100644 contrib/mandoc/regress/char/Makefile create mode 100644 contrib/mandoc/regress/char/Makefile.inc create mode 100644 contrib/mandoc/regress/char/N/Makefile create mode 100644 contrib/mandoc/regress/char/N/basic.in create mode 100644 contrib/mandoc/regress/char/N/basic.out_ascii create mode 100644 contrib/mandoc/regress/char/accent/Makefile create mode 100644 contrib/mandoc/regress/char/accent/combine.in create mode 100644 contrib/mandoc/regress/char/accent/combine.out_utf8 create mode 100644 contrib/mandoc/regress/char/accent/nocombine.in create mode 100644 contrib/mandoc/regress/char/accent/nocombine.out_ascii create mode 100644 contrib/mandoc/regress/char/accent/nocombine.out_utf8 create mode 100644 contrib/mandoc/regress/char/accent/utf8only.in create mode 100644 contrib/mandoc/regress/char/accent/utf8only.out_utf8 create mode 100644 contrib/mandoc/regress/char/bar/Makefile create mode 100644 contrib/mandoc/regress/char/bar/man.in create mode 100644 contrib/mandoc/regress/char/bar/man.out_ascii create mode 100644 contrib/mandoc/regress/char/bar/mdoc.in create mode 100644 contrib/mandoc/regress/char/bar/mdoc.out_ascii create mode 100644 contrib/mandoc/regress/char/hyphen/Makefile create mode 100644 contrib/mandoc/regress/char/hyphen/man.in create mode 100644 contrib/mandoc/regress/char/hyphen/man.out_ascii create mode 100644 contrib/mandoc/regress/char/hyphen/mdoc.in create mode 100644 contrib/mandoc/regress/char/hyphen/mdoc.out_ascii create mode 100644 contrib/mandoc/regress/char/space/Makefile create mode 100644 contrib/mandoc/regress/char/space/break.in create mode 100644 contrib/mandoc/regress/char/space/break.out_ascii create mode 100644 contrib/mandoc/regress/char/space/eos-man.in create mode 100644 contrib/mandoc/regress/char/space/eos-man.out_ascii create mode 100644 contrib/mandoc/regress/char/space/eos.in create mode 100644 contrib/mandoc/regress/char/space/eos.out_ascii create mode 100644 contrib/mandoc/regress/char/space/esct-man.in create mode 100644 contrib/mandoc/regress/char/space/esct-man.out_ascii create mode 100644 contrib/mandoc/regress/char/space/esct-man.out_lint create mode 100644 contrib/mandoc/regress/char/space/esct-mdoc.in create mode 100644 contrib/mandoc/regress/char/space/esct-mdoc.out_ascii create mode 100644 contrib/mandoc/regress/char/space/esct-mdoc.out_lint create mode 100644 contrib/mandoc/regress/char/space/leading-man.in create mode 100644 contrib/mandoc/regress/char/space/leading-man.out_ascii create mode 100644 contrib/mandoc/regress/char/space/leading-mdoc.in create mode 100644 contrib/mandoc/regress/char/space/leading-mdoc.out_ascii create mode 100644 contrib/mandoc/regress/char/space/multiple.in create mode 100644 contrib/mandoc/regress/char/space/multiple.out_ascii create mode 100644 contrib/mandoc/regress/char/space/nobreak.in create mode 100644 contrib/mandoc/regress/char/space/nobreak.out_ascii create mode 100644 contrib/mandoc/regress/char/space/tab-man.in create mode 100644 contrib/mandoc/regress/char/space/tab-man.out_ascii create mode 100644 contrib/mandoc/regress/char/space/tab-man.out_lint create mode 100644 contrib/mandoc/regress/char/space/tab.in create mode 100644 contrib/mandoc/regress/char/space/tab.out_ascii create mode 100644 contrib/mandoc/regress/char/space/tab.out_lint create mode 100644 contrib/mandoc/regress/char/space/trailing-mdoc.in create mode 100644 contrib/mandoc/regress/char/space/trailing-mdoc.out_ascii create mode 100644 contrib/mandoc/regress/char/space/trailing-mdoc.out_lint create mode 100644 contrib/mandoc/regress/char/space/zerowidth.in create mode 100644 contrib/mandoc/regress/char/space/zerowidth.out_ascii create mode 100644 contrib/mandoc/regress/char/space/zerowidth.out_html create mode 100644 contrib/mandoc/regress/char/space/zerowidth.out_utf8 create mode 100644 contrib/mandoc/regress/char/unicode/Makefile create mode 100644 contrib/mandoc/regress/char/unicode/ascii.in create mode 100644 contrib/mandoc/regress/char/unicode/ascii.out_ascii create mode 100644 contrib/mandoc/regress/char/unicode/ascii.out_html create mode 100644 contrib/mandoc/regress/char/unicode/ascii.out_utf8 create mode 100644 contrib/mandoc/regress/char/unicode/input.in create mode 100644 contrib/mandoc/regress/char/unicode/input.out_ascii create mode 100644 contrib/mandoc/regress/char/unicode/input.out_lint create mode 100644 contrib/mandoc/regress/char/unicode/input.out_utf8 create mode 100644 contrib/mandoc/regress/char/unicode/invalid.in create mode 100644 contrib/mandoc/regress/char/unicode/invalid.out_ascii create mode 100644 contrib/mandoc/regress/char/unicode/invalid.out_html create mode 100644 contrib/mandoc/regress/char/unicode/invalid.out_lint create mode 100644 contrib/mandoc/regress/char/unicode/invalid.out_utf8 create mode 100644 contrib/mandoc/regress/char/unicode/latin1.in create mode 100644 contrib/mandoc/regress/char/unicode/latin1.out_ascii create mode 100644 contrib/mandoc/regress/char/unicode/latin1.out_html create mode 100644 contrib/mandoc/regress/char/unicode/latin1.out_utf8 create mode 100644 contrib/mandoc/regress/char/unicode/latin1diff.in create mode 100644 contrib/mandoc/regress/char/unicode/latin1diff.out_ascii create mode 100644 contrib/mandoc/regress/char/unicode/latin1diff.out_html create mode 100644 contrib/mandoc/regress/char/unicode/latin1diff.out_utf8 create mode 100644 contrib/mandoc/regress/char/unicode/man.in create mode 100644 contrib/mandoc/regress/char/unicode/man.out_utf8 create mode 100644 contrib/mandoc/regress/char/unicode/mdoc.in create mode 100644 contrib/mandoc/regress/char/unicode/mdoc.out_utf8 create mode 100644 contrib/mandoc/regress/char/unicode/named.in create mode 100644 contrib/mandoc/regress/char/unicode/named.out_ascii create mode 100644 contrib/mandoc/regress/char/unicode/named.out_html create mode 100644 contrib/mandoc/regress/char/unicode/named.out_utf8 create mode 100644 contrib/mandoc/regress/char/unicode/namediff.in create mode 100644 contrib/mandoc/regress/char/unicode/namediff.out_ascii create mode 100644 contrib/mandoc/regress/char/unicode/namediff.out_html create mode 100644 contrib/mandoc/regress/char/unicode/namediff.out_utf8 create mode 100644 contrib/mandoc/regress/char/unicode/nogroff.in create mode 100644 contrib/mandoc/regress/char/unicode/nogroff.out_ascii create mode 100644 contrib/mandoc/regress/char/unicode/nogroff.out_html create mode 100644 contrib/mandoc/regress/char/unicode/nogroff.out_utf8 create mode 100644 contrib/mandoc/regress/eqn/Makefile create mode 100644 contrib/mandoc/regress/eqn/Makefile.inc create mode 100644 contrib/mandoc/regress/eqn/define/Makefile create mode 100644 contrib/mandoc/regress/eqn/define/font.in create mode 100644 contrib/mandoc/regress/eqn/define/font.out_ascii create mode 100644 contrib/mandoc/regress/eqn/define/infinite.in create mode 100644 contrib/mandoc/regress/eqn/define/infinite.out_ascii create mode 100644 contrib/mandoc/regress/eqn/define/infinite.out_lint create mode 100644 contrib/mandoc/regress/eqn/define/invalid.in create mode 100644 contrib/mandoc/regress/eqn/define/invalid.out_ascii create mode 100644 contrib/mandoc/regress/eqn/define/invalid.out_lint create mode 100644 contrib/mandoc/regress/eqn/define/quoted.in create mode 100644 contrib/mandoc/regress/eqn/define/quoted.out_ascii create mode 100644 contrib/mandoc/regress/eqn/delim/Makefile create mode 100644 contrib/mandoc/regress/eqn/delim/basic.in create mode 100644 contrib/mandoc/regress/eqn/delim/basic.out_ascii create mode 100644 contrib/mandoc/regress/eqn/fromto/Makefile create mode 100644 contrib/mandoc/regress/eqn/fromto/basic.in create mode 100644 contrib/mandoc/regress/eqn/fromto/basic.out_ascii create mode 100644 contrib/mandoc/regress/eqn/fromto/basic.out_html create mode 100644 contrib/mandoc/regress/eqn/fromto/noarg.in create mode 100644 contrib/mandoc/regress/eqn/fromto/noarg.out_ascii create mode 100644 contrib/mandoc/regress/eqn/fromto/noarg.out_html create mode 100644 contrib/mandoc/regress/eqn/fromto/precedence.in create mode 100644 contrib/mandoc/regress/eqn/fromto/precedence.out_ascii create mode 100644 contrib/mandoc/regress/eqn/fromto/precedence.out_html create mode 100644 contrib/mandoc/regress/eqn/matrix/Makefile create mode 100644 contrib/mandoc/regress/eqn/matrix/basic.in create mode 100644 contrib/mandoc/regress/eqn/matrix/basic.out_ascii create mode 100644 contrib/mandoc/regress/eqn/matrix/basic.out_html create mode 100644 contrib/mandoc/regress/eqn/matrix/empty.in create mode 100644 contrib/mandoc/regress/eqn/matrix/empty.out_ascii create mode 100644 contrib/mandoc/regress/eqn/matrix/empty.out_html create mode 100644 contrib/mandoc/regress/eqn/nullary/Makefile create mode 100644 contrib/mandoc/regress/eqn/nullary/roman.in create mode 100644 contrib/mandoc/regress/eqn/nullary/roman.out_ascii create mode 100644 contrib/mandoc/regress/eqn/nullary/roman.out_html create mode 100644 contrib/mandoc/regress/eqn/nullary/symbol.in create mode 100644 contrib/mandoc/regress/eqn/nullary/symbol.out_ascii create mode 100644 contrib/mandoc/regress/eqn/nullary/symbol.out_html create mode 100644 contrib/mandoc/regress/eqn/nullary/symbol.out_utf8 create mode 100644 contrib/mandoc/regress/eqn/over/Makefile create mode 100644 contrib/mandoc/regress/eqn/over/noarg.in create mode 100644 contrib/mandoc/regress/eqn/over/noarg.out_ascii create mode 100644 contrib/mandoc/regress/eqn/over/noarg.out_html create mode 100644 contrib/mandoc/regress/eqn/over/noarg.out_lint create mode 100644 contrib/mandoc/regress/eqn/over/precedence.in create mode 100644 contrib/mandoc/regress/eqn/over/precedence.out_ascii create mode 100644 contrib/mandoc/regress/eqn/over/precedence.out_html create mode 100644 contrib/mandoc/regress/eqn/size/Makefile create mode 100644 contrib/mandoc/regress/eqn/size/basic.in create mode 100644 contrib/mandoc/regress/eqn/size/basic.out_ascii create mode 100644 contrib/mandoc/regress/eqn/subsup/Makefile create mode 100644 contrib/mandoc/regress/eqn/subsup/combine.in create mode 100644 contrib/mandoc/regress/eqn/subsup/combine.out_ascii create mode 100644 contrib/mandoc/regress/eqn/subsup/combine.out_html create mode 100644 contrib/mandoc/regress/eqn/subsup/noarg.in create mode 100644 contrib/mandoc/regress/eqn/subsup/noarg.out_ascii create mode 100644 contrib/mandoc/regress/eqn/subsup/noarg.out_html create mode 100644 contrib/mandoc/regress/eqn/subsup/precedence.in create mode 100644 contrib/mandoc/regress/eqn/subsup/precedence.out_ascii create mode 100644 contrib/mandoc/regress/eqn/subsup/precedence.out_html create mode 100644 contrib/mandoc/regress/eqn/subsup/sub_group.in create mode 100644 contrib/mandoc/regress/eqn/subsup/sub_group.out_ascii create mode 100644 contrib/mandoc/regress/eqn/subsup/sub_group.out_html create mode 100644 contrib/mandoc/regress/eqn/unary/Makefile create mode 100644 contrib/mandoc/regress/eqn/unary/bold.in create mode 100644 contrib/mandoc/regress/eqn/unary/bold.out_ascii create mode 100644 contrib/mandoc/regress/eqn/unary/bold.out_html create mode 100644 contrib/mandoc/regress/eqn/unary/diacrit.in create mode 100644 contrib/mandoc/regress/eqn/unary/diacrit.out_ascii create mode 100644 contrib/mandoc/regress/eqn/unary/diacrit.out_html create mode 100644 contrib/mandoc/regress/eqn/unary/sqrt.in create mode 100644 contrib/mandoc/regress/eqn/unary/sqrt.out_ascii create mode 100644 contrib/mandoc/regress/eqn/unary/sqrt.out_html create mode 100644 contrib/mandoc/regress/man/B/Makefile create mode 100644 contrib/mandoc/regress/man/B/args.in create mode 100644 contrib/mandoc/regress/man/B/args.out_ascii create mode 100644 contrib/mandoc/regress/man/B/args.out_lint create mode 100644 contrib/mandoc/regress/man/B/blank.in create mode 100644 contrib/mandoc/regress/man/B/blank.out_ascii create mode 100644 contrib/mandoc/regress/man/B/blank.out_lint create mode 100644 contrib/mandoc/regress/man/BI/Makefile create mode 100644 contrib/mandoc/regress/man/BI/emptyargs.in create mode 100644 contrib/mandoc/regress/man/BI/emptyargs.out_ascii create mode 100644 contrib/mandoc/regress/man/BI/literal.in create mode 100644 contrib/mandoc/regress/man/BI/literal.out_ascii create mode 100644 contrib/mandoc/regress/man/EX/Makefile create mode 100644 contrib/mandoc/regress/man/EX/args.in create mode 100644 contrib/mandoc/regress/man/EX/args.out_ascii create mode 100644 contrib/mandoc/regress/man/EX/nested.in create mode 100644 contrib/mandoc/regress/man/EX/nested.out_ascii create mode 100644 contrib/mandoc/regress/man/EX/spacing.in create mode 100644 contrib/mandoc/regress/man/EX/spacing.out_ascii create mode 100644 contrib/mandoc/regress/man/HP/Makefile create mode 100644 contrib/mandoc/regress/man/HP/break.in create mode 100644 contrib/mandoc/regress/man/HP/break.out_ascii create mode 100644 contrib/mandoc/regress/man/HP/literal.in create mode 100644 contrib/mandoc/regress/man/HP/literal.out_ascii create mode 100644 contrib/mandoc/regress/man/HP/macrotag.in create mode 100644 contrib/mandoc/regress/man/HP/macrotag.out_ascii create mode 100644 contrib/mandoc/regress/man/HP/manyargs.in create mode 100644 contrib/mandoc/regress/man/HP/manyargs.out_ascii create mode 100644 contrib/mandoc/regress/man/HP/spacing.in create mode 100644 contrib/mandoc/regress/man/HP/spacing.out_ascii create mode 100644 contrib/mandoc/regress/man/IP/Makefile create mode 100644 contrib/mandoc/regress/man/IP/empty.in create mode 100644 contrib/mandoc/regress/man/IP/empty.out_ascii create mode 100644 contrib/mandoc/regress/man/IP/empty.out_lint create mode 100644 contrib/mandoc/regress/man/IP/literal.in create mode 100644 contrib/mandoc/regress/man/IP/literal.out_ascii create mode 100644 contrib/mandoc/regress/man/IP/longhead.in create mode 100644 contrib/mandoc/regress/man/IP/longhead.out_ascii create mode 100644 contrib/mandoc/regress/man/IP/manyargs.in create mode 100644 contrib/mandoc/regress/man/IP/manyargs.out_ascii create mode 100644 contrib/mandoc/regress/man/IP/spacing.in create mode 100644 contrib/mandoc/regress/man/IP/spacing.out_ascii create mode 100644 contrib/mandoc/regress/man/IP/width.in create mode 100644 contrib/mandoc/regress/man/IP/width.out_ascii create mode 100644 contrib/mandoc/regress/man/MT/Makefile create mode 100644 contrib/mandoc/regress/man/MT/args.in create mode 100644 contrib/mandoc/regress/man/MT/args.out_ascii create mode 100644 contrib/mandoc/regress/man/MT/args.out_lint create mode 100644 contrib/mandoc/regress/man/MT/noME.in create mode 100644 contrib/mandoc/regress/man/MT/noME.out_ascii create mode 100644 contrib/mandoc/regress/man/MT/noME.out_lint create mode 100644 contrib/mandoc/regress/man/Makefile create mode 100644 contrib/mandoc/regress/man/Makefile.inc create mode 100644 contrib/mandoc/regress/man/OP/Makefile create mode 100644 contrib/mandoc/regress/man/OP/args.in create mode 100644 contrib/mandoc/regress/man/OP/args.out_ascii create mode 100644 contrib/mandoc/regress/man/OP/args.out_lint create mode 100644 contrib/mandoc/regress/man/PD/Makefile create mode 100644 contrib/mandoc/regress/man/PD/args.in create mode 100644 contrib/mandoc/regress/man/PD/args.out_ascii create mode 100644 contrib/mandoc/regress/man/PD/args.out_lint create mode 100644 contrib/mandoc/regress/man/PD/nextline.in create mode 100644 contrib/mandoc/regress/man/PD/nextline.out_ascii create mode 100644 contrib/mandoc/regress/man/PD/spacing.in create mode 100644 contrib/mandoc/regress/man/PD/spacing.out_ascii create mode 100644 contrib/mandoc/regress/man/PP/Makefile create mode 100644 contrib/mandoc/regress/man/PP/args.in create mode 100644 contrib/mandoc/regress/man/PP/args.out_ascii create mode 100644 contrib/mandoc/regress/man/PP/args.out_lint create mode 100644 contrib/mandoc/regress/man/PP/empty.in create mode 100644 contrib/mandoc/regress/man/PP/empty.out_ascii create mode 100644 contrib/mandoc/regress/man/PP/empty.out_lint create mode 100644 contrib/mandoc/regress/man/RS/Makefile create mode 100644 contrib/mandoc/regress/man/RS/REarg.in create mode 100644 contrib/mandoc/regress/man/RS/REarg.out_ascii create mode 100644 contrib/mandoc/regress/man/RS/REarg.out_lint create mode 100644 contrib/mandoc/regress/man/RS/an-margin.in create mode 100644 contrib/mandoc/regress/man/RS/an-margin.out_ascii create mode 100644 contrib/mandoc/regress/man/RS/breaking.in create mode 100644 contrib/mandoc/regress/man/RS/breaking.out_ascii create mode 100644 contrib/mandoc/regress/man/RS/broken.in create mode 100644 contrib/mandoc/regress/man/RS/broken.out_ascii create mode 100644 contrib/mandoc/regress/man/RS/empty.in create mode 100644 contrib/mandoc/regress/man/RS/empty.out_ascii create mode 100644 contrib/mandoc/regress/man/RS/empty.out_lint create mode 100644 contrib/mandoc/regress/man/RS/literal.in create mode 100644 contrib/mandoc/regress/man/RS/literal.out_ascii create mode 100644 contrib/mandoc/regress/man/RS/lonelyRE.in create mode 100644 contrib/mandoc/regress/man/RS/lonelyRE.out_ascii create mode 100644 contrib/mandoc/regress/man/RS/lonelyRE.out_lint create mode 100644 contrib/mandoc/regress/man/RS/nested.in create mode 100644 contrib/mandoc/regress/man/RS/nested.out_ascii create mode 100644 contrib/mandoc/regress/man/RS/noRE.in create mode 100644 contrib/mandoc/regress/man/RS/noRE.out_ascii create mode 100644 contrib/mandoc/regress/man/RS/noRE.out_lint create mode 100644 contrib/mandoc/regress/man/RS/nowidth.in create mode 100644 contrib/mandoc/regress/man/RS/nowidth.out_ascii create mode 100644 contrib/mandoc/regress/man/RS/width.in create mode 100644 contrib/mandoc/regress/man/RS/width.out_ascii create mode 100644 contrib/mandoc/regress/man/SH/Makefile create mode 100644 contrib/mandoc/regress/man/SH/broken.in create mode 100644 contrib/mandoc/regress/man/SH/broken.out_ascii create mode 100644 contrib/mandoc/regress/man/SH/broken.out_lint create mode 100644 contrib/mandoc/regress/man/SH/broken_eline.in create mode 100644 contrib/mandoc/regress/man/SH/broken_eline.out_ascii create mode 100644 contrib/mandoc/regress/man/SH/broken_eline.out_lint create mode 100644 contrib/mandoc/regress/man/SH/empty_before.in create mode 100644 contrib/mandoc/regress/man/SH/empty_before.out_ascii create mode 100644 contrib/mandoc/regress/man/SH/empty_before.out_lint create mode 100644 contrib/mandoc/regress/man/SH/longarg.in create mode 100644 contrib/mandoc/regress/man/SH/longarg.out_ascii create mode 100644 contrib/mandoc/regress/man/SH/noarg.in create mode 100644 contrib/mandoc/regress/man/SH/noarg.out_ascii create mode 100644 contrib/mandoc/regress/man/SH/noarg.out_lint create mode 100644 contrib/mandoc/regress/man/SS/Makefile create mode 100644 contrib/mandoc/regress/man/SS/broken.in create mode 100644 contrib/mandoc/regress/man/SS/broken.out_ascii create mode 100644 contrib/mandoc/regress/man/SS/broken.out_lint create mode 100644 contrib/mandoc/regress/man/SS/broken_eline.in create mode 100644 contrib/mandoc/regress/man/SS/broken_eline.out_ascii create mode 100644 contrib/mandoc/regress/man/SS/broken_eline.out_lint create mode 100644 contrib/mandoc/regress/man/SS/longarg.in create mode 100644 contrib/mandoc/regress/man/SS/longarg.out_ascii create mode 100644 contrib/mandoc/regress/man/SS/noarg.in create mode 100644 contrib/mandoc/regress/man/SS/noarg.out_ascii create mode 100644 contrib/mandoc/regress/man/SS/noarg.out_lint create mode 100644 contrib/mandoc/regress/man/TH/Makefile create mode 100644 contrib/mandoc/regress/man/TH/baddate.in create mode 100644 contrib/mandoc/regress/man/TH/baddate.out_ascii create mode 100644 contrib/mandoc/regress/man/TH/baddate.out_lint create mode 100644 contrib/mandoc/regress/man/TH/case.in create mode 100644 contrib/mandoc/regress/man/TH/case.out_ascii create mode 100644 contrib/mandoc/regress/man/TH/case.out_lint create mode 100644 contrib/mandoc/regress/man/TH/emptydate.in create mode 100644 contrib/mandoc/regress/man/TH/emptydate.out_ascii create mode 100644 contrib/mandoc/regress/man/TH/emptydate.out_lint create mode 100644 contrib/mandoc/regress/man/TH/isodate.in create mode 100644 contrib/mandoc/regress/man/TH/isodate.out_ascii create mode 100644 contrib/mandoc/regress/man/TH/longdate.in create mode 100644 contrib/mandoc/regress/man/TH/longdate.out_ascii create mode 100644 contrib/mandoc/regress/man/TH/longdate.out_lint create mode 100644 contrib/mandoc/regress/man/TH/longtit.in create mode 100644 contrib/mandoc/regress/man/TH/longtit.out_ascii create mode 100644 contrib/mandoc/regress/man/TH/longvol.in create mode 100644 contrib/mandoc/regress/man/TH/longvol.out_ascii create mode 100644 contrib/mandoc/regress/man/TH/mdocdate.in create mode 100644 contrib/mandoc/regress/man/TH/mdocdate.out_ascii create mode 100644 contrib/mandoc/regress/man/TH/noTH.in create mode 100644 contrib/mandoc/regress/man/TH/noTH.out_lint create mode 100644 contrib/mandoc/regress/man/TH/noarg.in create mode 100644 contrib/mandoc/regress/man/TH/noarg.out_ascii create mode 100644 contrib/mandoc/regress/man/TH/noarg.out_lint create mode 100644 contrib/mandoc/regress/man/TH/nobody.in create mode 100644 contrib/mandoc/regress/man/TH/nobody.out_ascii create mode 100644 contrib/mandoc/regress/man/TH/nobody.out_lint create mode 100644 contrib/mandoc/regress/man/TH/onearg.in create mode 100644 contrib/mandoc/regress/man/TH/onearg.out_ascii create mode 100644 contrib/mandoc/regress/man/TH/onearg.out_lint create mode 100644 contrib/mandoc/regress/man/TH/onlyyear.in create mode 100644 contrib/mandoc/regress/man/TH/onlyyear.out_ascii create mode 100644 contrib/mandoc/regress/man/TH/sixargs.in create mode 100644 contrib/mandoc/regress/man/TH/sixargs.out_ascii create mode 100644 contrib/mandoc/regress/man/TH/sixargs.out_lint create mode 100644 contrib/mandoc/regress/man/TH/twoargs.in create mode 100644 contrib/mandoc/regress/man/TH/twoargs.out_ascii create mode 100644 contrib/mandoc/regress/man/TH/twoargs.out_lint create mode 100644 contrib/mandoc/regress/man/TP/Makefile create mode 100644 contrib/mandoc/regress/man/TP/badarg.in create mode 100644 contrib/mandoc/regress/man/TP/badarg.out_ascii create mode 100644 contrib/mandoc/regress/man/TP/broken.in create mode 100644 contrib/mandoc/regress/man/TP/broken.out_ascii create mode 100644 contrib/mandoc/regress/man/TP/broken.out_lint create mode 100644 contrib/mandoc/regress/man/TP/double.in create mode 100644 contrib/mandoc/regress/man/TP/double.out_ascii create mode 100644 contrib/mandoc/regress/man/TP/double.out_lint create mode 100644 contrib/mandoc/regress/man/TP/eof.in create mode 100644 contrib/mandoc/regress/man/TP/eof.out_ascii create mode 100644 contrib/mandoc/regress/man/TP/eof.out_lint create mode 100644 contrib/mandoc/regress/man/TP/fill.in create mode 100644 contrib/mandoc/regress/man/TP/fill.out_ascii create mode 100644 contrib/mandoc/regress/man/TP/indent.in create mode 100644 contrib/mandoc/regress/man/TP/indent.out_ascii create mode 100644 contrib/mandoc/regress/man/TP/literal.in create mode 100644 contrib/mandoc/regress/man/TP/literal.out_ascii create mode 100644 contrib/mandoc/regress/man/TP/longhead.in create mode 100644 contrib/mandoc/regress/man/TP/longhead.out_ascii create mode 100644 contrib/mandoc/regress/man/TP/macrotag.in create mode 100644 contrib/mandoc/regress/man/TP/macrotag.out_ascii create mode 100644 contrib/mandoc/regress/man/TP/manyargs.in create mode 100644 contrib/mandoc/regress/man/TP/manyargs.out_ascii create mode 100644 contrib/mandoc/regress/man/TP/sameline.in create mode 100644 contrib/mandoc/regress/man/TP/sameline.out_ascii create mode 100644 contrib/mandoc/regress/man/TP/spacing.in create mode 100644 contrib/mandoc/regress/man/TP/spacing.out_ascii create mode 100644 contrib/mandoc/regress/man/TP/width.in create mode 100644 contrib/mandoc/regress/man/TP/width.out_ascii create mode 100644 contrib/mandoc/regress/man/TS/Makefile create mode 100644 contrib/mandoc/regress/man/TS/break.in create mode 100644 contrib/mandoc/regress/man/TS/break.out_ascii create mode 100644 contrib/mandoc/regress/man/TS/break.out_lint create mode 100644 contrib/mandoc/regress/man/TS/vspace.in create mode 100644 contrib/mandoc/regress/man/TS/vspace.out_ascii create mode 100644 contrib/mandoc/regress/man/UR/Makefile create mode 100644 contrib/mandoc/regress/man/UR/args.in create mode 100644 contrib/mandoc/regress/man/UR/args.out_ascii create mode 100644 contrib/mandoc/regress/man/UR/args.out_lint create mode 100644 contrib/mandoc/regress/man/UR/noUE.in create mode 100644 contrib/mandoc/regress/man/UR/noUE.out_ascii create mode 100644 contrib/mandoc/regress/man/UR/noUE.out_lint create mode 100644 contrib/mandoc/regress/man/blank/Makefile create mode 100644 contrib/mandoc/regress/man/blank/afterSH.in create mode 100644 contrib/mandoc/regress/man/blank/afterSH.out_ascii create mode 100644 contrib/mandoc/regress/man/blank/afterSH.out_lint create mode 100644 contrib/mandoc/regress/man/blank/afterSS.in create mode 100644 contrib/mandoc/regress/man/blank/afterSS.out_ascii create mode 100644 contrib/mandoc/regress/man/blank/afterSS.out_lint create mode 100644 contrib/mandoc/regress/man/blank/line.in create mode 100644 contrib/mandoc/regress/man/blank/line.out_ascii create mode 100644 contrib/mandoc/regress/man/blank/line.out_lint create mode 100644 contrib/mandoc/regress/man/nf/Makefile create mode 100644 contrib/mandoc/regress/man/nf/args.in create mode 100644 contrib/mandoc/regress/man/nf/args.out_ascii create mode 100644 contrib/mandoc/regress/man/nf/args.out_lint create mode 100644 contrib/mandoc/regress/man/nf/dupe.in create mode 100644 contrib/mandoc/regress/man/nf/dupe.out_ascii create mode 100644 contrib/mandoc/regress/man/nf/dupe.out_lint create mode 100644 contrib/mandoc/regress/man/nf/indent.in create mode 100644 contrib/mandoc/regress/man/nf/indent.out_ascii create mode 100644 contrib/mandoc/regress/man/nf/userdef.in create mode 100644 contrib/mandoc/regress/man/nf/userdef.out_ascii create mode 100644 contrib/mandoc/regress/man/nf/vert.in create mode 100644 contrib/mandoc/regress/man/nf/vert.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ad/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Ad/font.in create mode 100644 contrib/mandoc/regress/mdoc/Ad/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ad/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Ad/noarg.in create mode 100644 contrib/mandoc/regress/mdoc/Ad/noarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ad/noarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Ad/noarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/An/Makefile create mode 100644 contrib/mandoc/regress/mdoc/An/break.in create mode 100644 contrib/mandoc/regress/mdoc/An/break.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/An/break.out_lint create mode 100644 contrib/mandoc/regress/mdoc/An/break.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Ap/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Ap/eos.in create mode 100644 contrib/mandoc/regress/mdoc/Ap/eos.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ap/eos.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Ap/middle.in create mode 100644 contrib/mandoc/regress/mdoc/Ap/middle.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ap/middle.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Aq/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Aq/author.in create mode 100644 contrib/mandoc/regress/mdoc/Aq/author.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Aq/author.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Aq/author.out_utf8 create mode 100644 contrib/mandoc/regress/mdoc/Aq/empty.in create mode 100644 contrib/mandoc/regress/mdoc/Aq/empty.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Aq/empty.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Aq/empty.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Aq/empty.out_utf8 create mode 100644 contrib/mandoc/regress/mdoc/Ar/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Ar/font.in create mode 100644 contrib/mandoc/regress/mdoc/Ar/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ar/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Ar/punct.in create mode 100644 contrib/mandoc/regress/mdoc/Ar/punct.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ar/punct.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Ar/punct.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/At/Makefile create mode 100644 contrib/mandoc/regress/mdoc/At/invalid.in create mode 100644 contrib/mandoc/regress/mdoc/At/invalid.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/At/invalid.out_lint create mode 100644 contrib/mandoc/regress/mdoc/At/invalid.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bd/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Bd/badargs.in create mode 100644 contrib/mandoc/regress/mdoc/Bd/badargs.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bd/badargs.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bd/badargs.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bd/beforeNAME.in create mode 100644 contrib/mandoc/regress/mdoc/Bd/beforeNAME.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bd/beforeNAME.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bd/beforeNAME.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bd/blank.in create mode 100644 contrib/mandoc/regress/mdoc/Bd/blank.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bd/blank.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bd/blank.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bd/break.in create mode 100644 contrib/mandoc/regress/mdoc/Bd/break.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bd/break.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bd/break.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bd/broken.in create mode 100644 contrib/mandoc/regress/mdoc/Bd/broken.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bd/broken.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bd/broken.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bd/centered.in create mode 100644 contrib/mandoc/regress/mdoc/Bd/centered.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bd/centered.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bd/empty.in create mode 100644 contrib/mandoc/regress/mdoc/Bd/empty.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bd/empty.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bd/nested.in create mode 100644 contrib/mandoc/regress/mdoc/Bd/nested.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bd/nested.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bd/nested.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bd/offset-empty.in create mode 100644 contrib/mandoc/regress/mdoc/Bd/offset-empty.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bd/offset-empty.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bd/offset-neg.in create mode 100644 contrib/mandoc/regress/mdoc/Bd/offset-neg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bd/offset-neg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bd/spacing.in create mode 100644 contrib/mandoc/regress/mdoc/Bd/spacing.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bd/spacing.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bd/unclosed.in create mode 100644 contrib/mandoc/regress/mdoc/Bd/unclosed.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bd/unclosed.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bd/unclosed.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bf/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Bf/badargs.in create mode 100644 contrib/mandoc/regress/mdoc/Bf/badargs.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bf/badargs.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bf/break.in create mode 100644 contrib/mandoc/regress/mdoc/Bf/break.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bf/break.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bf/broken.in create mode 100644 contrib/mandoc/regress/mdoc/Bf/broken.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bf/broken.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bf/multiargs.in create mode 100644 contrib/mandoc/regress/mdoc/Bf/multiargs.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bf/multiargs.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bf/nest.in create mode 100644 contrib/mandoc/regress/mdoc/Bf/nest.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bk/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Bk/badarg.in create mode 100644 contrib/mandoc/regress/mdoc/Bk/badarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bk/badarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bk/break.in create mode 100644 contrib/mandoc/regress/mdoc/Bk/break.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bk/broken.in create mode 100644 contrib/mandoc/regress/mdoc/Bk/broken.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bk/broken.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bk/inputlines.in create mode 100644 contrib/mandoc/regress/mdoc/Bk/inputlines.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bk/lines.in create mode 100644 contrib/mandoc/regress/mdoc/Bk/lines.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bk/synopsis.in create mode 100644 contrib/mandoc/regress/mdoc/Bk/synopsis.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Bl/badargs.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/badargs.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/badargs.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bl/badargs.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/bareIt.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/bareIt.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/bareIt.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bl/bareIt.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/bareTa.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/bareTa.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/bareTa.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bl/bareTa.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/break.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/break.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/break.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bl/breakingIt.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/breakingIt.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/breakingIt.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bl/breakingIt.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/breakingTa.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/breakingTa.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/breakingTa.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/broken.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/broken.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/broken.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bl/broken.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/bullet.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/bullet.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/bullet.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/colNoIt.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/colNoIt.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/colNoIt.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/column.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/column.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/column.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bl/column.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/column_nogroff.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/column_nogroff.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/column_nogroff.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bl/column_nogroff.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/dash.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/dash.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/dash.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/dash.out_utf8 create mode 100644 contrib/mandoc/regress/mdoc/Bl/diag.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/diag.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/diag.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bl/diag.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/empty.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/empty.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/empty.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bl/empty.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/emptyhead.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/emptyhead.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/emptyhead.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bl/emptyhead.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/emptyitem.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/emptyitem.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/emptyitem.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bl/emptyitem.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/emptytag.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/emptytag.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/emptytag.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bl/emptytag.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/enum.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/enum.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/enum.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/extend.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/extend.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/extend.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/hang.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/hang.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/hang.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/inset.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/inset.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/inset.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bl/inset.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/item.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/item.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/item.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/multitag.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/multitag.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/multitag.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/multitype.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/multitype.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/multitype.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/nested.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/nested.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/nested.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/noIt.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/noIt.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/noIt.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bl/noIt.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/notype.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/notype.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/notype.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bl/notype.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/offset.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/offset.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/offset.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/ohang.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/ohang.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/ohang.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/secstart.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/secstart.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/secstart.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/tag.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/tag.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/tag.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bl/tag.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bl/unclosed.in create mode 100644 contrib/mandoc/regress/mdoc/Bl/unclosed.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bl/unclosed.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Brq/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Brq/empty.in create mode 100644 contrib/mandoc/regress/mdoc/Brq/empty.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Brq/empty.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Brq/empty.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Bx/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Bx/args.in create mode 100644 contrib/mandoc/regress/mdoc/Bx/args.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Bx/args.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Bx/args.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Cd/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Cd/eos.in create mode 100644 contrib/mandoc/regress/mdoc/Cd/eos.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Cd/eos.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Cd/font.in create mode 100644 contrib/mandoc/regress/mdoc/Cd/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Cd/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Cd/noarg.in create mode 100644 contrib/mandoc/regress/mdoc/Cd/noarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Cd/noarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Cd/noarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Cd/punct.in create mode 100644 contrib/mandoc/regress/mdoc/Cd/punct.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Cd/punct.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Cm/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Cm/basic.in create mode 100644 contrib/mandoc/regress/mdoc/Cm/basic.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Cm/basic.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Cm/font.in create mode 100644 contrib/mandoc/regress/mdoc/Cm/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Cm/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Cm/noarg.in create mode 100644 contrib/mandoc/regress/mdoc/Cm/noarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Cm/noarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Cm/noarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Cm/punct.in create mode 100644 contrib/mandoc/regress/mdoc/Cm/punct.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Cm/punct.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/D1/Makefile create mode 100644 contrib/mandoc/regress/mdoc/D1/spacing.in create mode 100644 contrib/mandoc/regress/mdoc/D1/spacing.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/D1/spacing.out_lint create mode 100644 contrib/mandoc/regress/mdoc/D1/spacing.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Db/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Db/args.in create mode 100644 contrib/mandoc/regress/mdoc/Db/args.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Db/args.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Dd/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Dd/badarg.in create mode 100644 contrib/mandoc/regress/mdoc/Dd/badarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Dd/badarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Dd/badarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Dd/dupe.in create mode 100644 contrib/mandoc/regress/mdoc/Dd/dupe.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Dd/dupe.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Dd/dupe.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Dd/late.in create mode 100644 contrib/mandoc/regress/mdoc/Dd/late.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Dd/late.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Dd/late.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Dd/long.in create mode 100644 contrib/mandoc/regress/mdoc/Dd/long.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Dd/long.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Dd/long.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Dd/manarg.in create mode 100644 contrib/mandoc/regress/mdoc/Dd/manarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Dd/manarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Dd/manarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Dd/noarg.in create mode 100644 contrib/mandoc/regress/mdoc/Dd/noarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Dd/order.in create mode 100644 contrib/mandoc/regress/mdoc/Dd/order.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Dd/order.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Dd/order.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Dl/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Dl/spacing.in create mode 100644 contrib/mandoc/regress/mdoc/Dl/spacing.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Dl/spacing.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Dl/spacing.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Dq/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Dq/empty.in create mode 100644 contrib/mandoc/regress/mdoc/Dq/empty.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Dq/empty.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Dq/empty.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Dt/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Dt/badsec.in create mode 100644 contrib/mandoc/regress/mdoc/Dt/badsec.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Dt/case.in create mode 100644 contrib/mandoc/regress/mdoc/Dt/case.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Dt/case.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Dt/case.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Dt/dupe.in create mode 100644 contrib/mandoc/regress/mdoc/Dt/dupe.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Dt/dupe.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Dt/dupe.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Dt/fourargs.in create mode 100644 contrib/mandoc/regress/mdoc/Dt/fourargs.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Dt/fourargs.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Dt/fourargs.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Dt/late.in create mode 100644 contrib/mandoc/regress/mdoc/Dt/late.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Dt/late.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Dt/late.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Dt/missing.in create mode 100644 contrib/mandoc/regress/mdoc/Dt/missing.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Dt/missing.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Dt/missing.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Dt/noarg.in create mode 100644 contrib/mandoc/regress/mdoc/Dt/noarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Dt/noarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Dt/noarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Dt/nobody.in create mode 100644 contrib/mandoc/regress/mdoc/Dt/nobody.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Dt/nobody.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Dt/nobody.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Dt/nosec.in create mode 100644 contrib/mandoc/regress/mdoc/Dt/nosec.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Dt/nosec.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Dt/nosec.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Dt/order.in create mode 100644 contrib/mandoc/regress/mdoc/Dt/order.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Dt/order.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Dt/order.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Dv/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Dv/font.in create mode 100644 contrib/mandoc/regress/mdoc/Dv/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Dv/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Dv/noarg.in create mode 100644 contrib/mandoc/regress/mdoc/Dv/noarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Dv/noarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Dv/noarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Em/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Em/font.in create mode 100644 contrib/mandoc/regress/mdoc/Em/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Em/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Em/noarg.in create mode 100644 contrib/mandoc/regress/mdoc/Em/noarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Em/noarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Em/noarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Em/punct.in create mode 100644 contrib/mandoc/regress/mdoc/Em/punct.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Em/punct.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Em/punct.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Eo/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Eo/break.in create mode 100644 contrib/mandoc/regress/mdoc/Eo/break.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Eo/break.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Eo/break.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Eo/empty.in create mode 100644 contrib/mandoc/regress/mdoc/Eo/empty.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Eo/empty.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Eo/obsolete.in create mode 100644 contrib/mandoc/regress/mdoc/Eo/obsolete.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Eo/obsolete.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Eo/obsolete.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Eo/unclosed.in create mode 100644 contrib/mandoc/regress/mdoc/Eo/unclosed.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Eo/unclosed.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Eo/unclosed.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Er/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Er/font.in create mode 100644 contrib/mandoc/regress/mdoc/Er/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Er/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Er/noarg.in create mode 100644 contrib/mandoc/regress/mdoc/Er/noarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Er/noarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Er/noarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Ev/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Ev/font.in create mode 100644 contrib/mandoc/regress/mdoc/Ev/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ev/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Ev/noarg.in create mode 100644 contrib/mandoc/regress/mdoc/Ev/noarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ev/noarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Ev/noarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Ex/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Ex/args.in create mode 100644 contrib/mandoc/regress/mdoc/Ex/args.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ex/args.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Ex/noname.in create mode 100644 contrib/mandoc/regress/mdoc/Ex/noname.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ex/noname.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Ex/noname.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Ex/nostd.in create mode 100644 contrib/mandoc/regress/mdoc/Ex/nostd.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ex/nostd.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Ex/nostd.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Fd/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Fd/break.in create mode 100644 contrib/mandoc/regress/mdoc/Fd/break.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Fd/break.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Fd/empty.in create mode 100644 contrib/mandoc/regress/mdoc/Fd/empty.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Fd/empty.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Fd/empty.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Fd/eos.in create mode 100644 contrib/mandoc/regress/mdoc/Fd/eos.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Fd/eos.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Fd/font.in create mode 100644 contrib/mandoc/regress/mdoc/Fd/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Fd/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Fl/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Fl/font.in create mode 100644 contrib/mandoc/regress/mdoc/Fl/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Fl/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Fl/multiarg.in create mode 100644 contrib/mandoc/regress/mdoc/Fl/multiarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Fl/multiarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Fl/noarg.in create mode 100644 contrib/mandoc/regress/mdoc/Fl/noarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Fl/noarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Fl/parsed.in create mode 100644 contrib/mandoc/regress/mdoc/Fl/parsed.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Fl/parsed.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Fl/punct.in create mode 100644 contrib/mandoc/regress/mdoc/Fl/punct.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Fl/punct.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Fl/punct.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Fo/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Fo/basic.in create mode 100644 contrib/mandoc/regress/mdoc/Fo/basic.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Fo/basic.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Fo/break.in create mode 100644 contrib/mandoc/regress/mdoc/Fo/break.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Fo/break.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Fo/eos.in create mode 100644 contrib/mandoc/regress/mdoc/Fo/eos.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Fo/eos.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Fo/font.in create mode 100644 contrib/mandoc/regress/mdoc/Fo/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Fo/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Fo/noarg.in create mode 100644 contrib/mandoc/regress/mdoc/Fo/noarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Fo/noarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Fo/noarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Fo/nohead.in create mode 100644 contrib/mandoc/regress/mdoc/Fo/nohead.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Fo/nohead.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Fo/nohead.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Fo/obsolete.in create mode 100644 contrib/mandoc/regress/mdoc/Fo/obsolete.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Fo/obsolete.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Fo/obsolete.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Fo/punct.in create mode 100644 contrib/mandoc/regress/mdoc/Fo/punct.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Fo/punct.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Fo/punct.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Fo/section.in create mode 100644 contrib/mandoc/regress/mdoc/Fo/section.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Fo/section.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Fo/warn.in create mode 100644 contrib/mandoc/regress/mdoc/Fo/warn.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Fo/warn.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Fo/warn.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Ft/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Ft/font.in create mode 100644 contrib/mandoc/regress/mdoc/Ft/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ft/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Ic/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Ic/font.in create mode 100644 contrib/mandoc/regress/mdoc/Ic/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ic/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Ic/noarg.in create mode 100644 contrib/mandoc/regress/mdoc/Ic/noarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ic/noarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Ic/noarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Ic/punct.in create mode 100644 contrib/mandoc/regress/mdoc/Ic/punct.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ic/punct.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/In/Makefile create mode 100644 contrib/mandoc/regress/mdoc/In/break.in create mode 100644 contrib/mandoc/regress/mdoc/In/break.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/In/break.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/In/eos.in create mode 100644 contrib/mandoc/regress/mdoc/In/eos.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/In/eos.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/In/font.in create mode 100644 contrib/mandoc/regress/mdoc/In/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/In/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/In/noarg.in create mode 100644 contrib/mandoc/regress/mdoc/In/noarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/In/noarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/In/noarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Lb/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Lb/badargs.in create mode 100644 contrib/mandoc/regress/mdoc/Lb/badargs.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Lb/badargs.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Lb/badargs.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Lb/break.in create mode 100644 contrib/mandoc/regress/mdoc/Lb/break.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Lb/break.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Lb/eos.in create mode 100644 contrib/mandoc/regress/mdoc/Lb/eos.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Lb/eos.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Li/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Li/font.in create mode 100644 contrib/mandoc/regress/mdoc/Li/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Li/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Li/punct.in create mode 100644 contrib/mandoc/regress/mdoc/Li/punct.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Li/punct.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Li/punct.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Lk/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Lk/font.in create mode 100644 contrib/mandoc/regress/mdoc/Lk/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Lk/link.in create mode 100644 contrib/mandoc/regress/mdoc/Lk/link.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Lk/link.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Lk/noarg.in create mode 100644 contrib/mandoc/regress/mdoc/Lk/noarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Lk/noarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Lk/noarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Makefile.inc create mode 100644 contrib/mandoc/regress/mdoc/Ms/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Ms/font.in create mode 100644 contrib/mandoc/regress/mdoc/Ms/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ms/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Ms/noarg.in create mode 100644 contrib/mandoc/regress/mdoc/Ms/noarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ms/noarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Ms/noarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Mt/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Mt/font.in create mode 100644 contrib/mandoc/regress/mdoc/Mt/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Mt/simple.in create mode 100644 contrib/mandoc/regress/mdoc/Mt/simple.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Mt/simple.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Mt/simple.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Nd/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Nd/broken.in create mode 100644 contrib/mandoc/regress/mdoc/Nd/broken.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Nd/broken.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Nd/hyph.in create mode 100644 contrib/mandoc/regress/mdoc/Nd/hyph.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Nd/hyph.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Nd/noarg.in create mode 100644 contrib/mandoc/regress/mdoc/Nd/noarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Nd/noarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Nd/noarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Nd/par.in create mode 100644 contrib/mandoc/regress/mdoc/Nd/par.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Nd/par.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Nm/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Nm/badNAME.in create mode 100644 contrib/mandoc/regress/mdoc/Nm/badNAME.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Nm/badNAME.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Nm/badNAMEuse.in create mode 100644 contrib/mandoc/regress/mdoc/Nm/badNAMEuse.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Nm/badNAMEuse.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Nm/break.in create mode 100644 contrib/mandoc/regress/mdoc/Nm/break.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Nm/break.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Nm/break.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Nm/broken.in create mode 100644 contrib/mandoc/regress/mdoc/Nm/broken.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Nm/broken.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Nm/broken.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Nm/empty.in create mode 100644 contrib/mandoc/regress/mdoc/Nm/empty.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Nm/empty.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Nm/emptyNAME.in create mode 100644 contrib/mandoc/regress/mdoc/Nm/emptyNAME.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Nm/emptyNAMEuse.in create mode 100644 contrib/mandoc/regress/mdoc/Nm/emptyNAMEuse.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Nm/font.in create mode 100644 contrib/mandoc/regress/mdoc/Nm/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Nm/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Nm/long.in create mode 100644 contrib/mandoc/regress/mdoc/Nm/long.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Nm/long.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Nm/par.in create mode 100644 contrib/mandoc/regress/mdoc/Nm/par.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Nm/par.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Nm/parns.in create mode 100644 contrib/mandoc/regress/mdoc/Nm/parns.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Nm/parns.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Nm/punct.in create mode 100644 contrib/mandoc/regress/mdoc/Nm/punct.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Nm/punct.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Nm/punct.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/No/Makefile create mode 100644 contrib/mandoc/regress/mdoc/No/punct.in create mode 100644 contrib/mandoc/regress/mdoc/No/punct.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/No/punct.out_lint create mode 100644 contrib/mandoc/regress/mdoc/No/punct.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/No/spacing.in create mode 100644 contrib/mandoc/regress/mdoc/No/spacing.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/No/spacing.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Ns/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Ns/position.in create mode 100644 contrib/mandoc/regress/mdoc/Ns/position.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ns/position.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Ns/position.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Ns/punct.in create mode 100644 contrib/mandoc/regress/mdoc/Ns/punct.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ns/punct.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Oo/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Oo/punct.in create mode 100644 contrib/mandoc/regress/mdoc/Oo/punct.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Oo/punct.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Oo/punct.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Op/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Op/break.in create mode 100644 contrib/mandoc/regress/mdoc/Op/break.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Op/break.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Op/broken.in create mode 100644 contrib/mandoc/regress/mdoc/Op/broken.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Op/broken.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Op/broken.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Op/punct.in create mode 100644 contrib/mandoc/regress/mdoc/Op/punct.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Op/punct.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Op/punct.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Os/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Os/dupe.in create mode 100644 contrib/mandoc/regress/mdoc/Os/dupe.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Os/dupe.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Os/dupe.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Os/late.in create mode 100644 contrib/mandoc/regress/mdoc/Os/late.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Os/late.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Os/late.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Os/long.in create mode 100644 contrib/mandoc/regress/mdoc/Os/long.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Os/long.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Os/missing.in create mode 100644 contrib/mandoc/regress/mdoc/Os/missing.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Os/missing.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Os/missing.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Ox/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Ox/keep.in create mode 100644 contrib/mandoc/regress/mdoc/Ox/keep.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ox/keep.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Pa/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Pa/font.in create mode 100644 contrib/mandoc/regress/mdoc/Pa/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Pa/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Pa/punct.in create mode 100644 contrib/mandoc/regress/mdoc/Pa/punct.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Pa/punct.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Pa/punct.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Pf/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Pf/spacing.in create mode 100644 contrib/mandoc/regress/mdoc/Pf/spacing.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Pf/spacing.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Pf/spacing.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Pp/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Pp/arg.in create mode 100644 contrib/mandoc/regress/mdoc/Pp/arg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Pp/arg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Pp/arg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Qq/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Qq/empty.in create mode 100644 contrib/mandoc/regress/mdoc/Qq/empty.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Qq/empty.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Qq/empty.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Rs/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Rs/allch.in create mode 100644 contrib/mandoc/regress/mdoc/Rs/allch.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Rs/allch.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Rs/allch.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Rs/allch.out_utf8 create mode 100644 contrib/mandoc/regress/mdoc/Rs/args.in create mode 100644 contrib/mandoc/regress/mdoc/Rs/args.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Rs/args.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Rs/args.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Rs/break.in create mode 100644 contrib/mandoc/regress/mdoc/Rs/break.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Rs/break.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Rs/break.out_utf8 create mode 100644 contrib/mandoc/regress/mdoc/Rs/empty.in create mode 100644 contrib/mandoc/regress/mdoc/Rs/empty.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Rs/empty.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Rs/empty.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Rs/empty.out_utf8 create mode 100644 contrib/mandoc/regress/mdoc/Rs/three_authors.in create mode 100644 contrib/mandoc/regress/mdoc/Rs/three_authors.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Rs/three_authors.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Rs/three_authors.out_utf8 create mode 100644 contrib/mandoc/regress/mdoc/Rv/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Rv/args.in create mode 100644 contrib/mandoc/regress/mdoc/Rv/args.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Rv/args.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Rv/noname.in create mode 100644 contrib/mandoc/regress/mdoc/Rv/noname.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Rv/noname.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Rv/nostd.in create mode 100644 contrib/mandoc/regress/mdoc/Rv/nostd.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Rv/nostd.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Rv/nostd.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sh/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Sh/badNAME.in create mode 100644 contrib/mandoc/regress/mdoc/Sh/badNAME.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sh/badNAME.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Sh/badNAME.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sh/before.in create mode 100644 contrib/mandoc/regress/mdoc/Sh/before.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sh/before.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Sh/before.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sh/empty.in create mode 100644 contrib/mandoc/regress/mdoc/Sh/empty.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sh/empty.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Sh/empty.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sh/emptyNAME.in create mode 100644 contrib/mandoc/regress/mdoc/Sh/emptyNAME.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sh/emptyNAME.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Sh/emptyNAME.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sh/first.in create mode 100644 contrib/mandoc/regress/mdoc/Sh/first.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sh/first.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Sh/first.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sh/nohead.in create mode 100644 contrib/mandoc/regress/mdoc/Sh/nohead.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sh/nohead.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Sh/nohead.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sh/order.in create mode 100644 contrib/mandoc/regress/mdoc/Sh/order.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sh/order.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Sh/order.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sh/orderNAME.in create mode 100644 contrib/mandoc/regress/mdoc/Sh/orderNAME.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sh/orderNAME.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Sh/orderNAME.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sh/parbefore.in create mode 100644 contrib/mandoc/regress/mdoc/Sh/parbefore.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sh/parbefore.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Sh/parbefore.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sh/parborder.in create mode 100644 contrib/mandoc/regress/mdoc/Sh/parborder.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sh/parborder.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Sh/parborder.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sh/punctNAME.in create mode 100644 contrib/mandoc/regress/mdoc/Sh/punctNAME.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sh/punctNAME.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Sh/punctNAME.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sh/subbefore.in create mode 100644 contrib/mandoc/regress/mdoc/Sh/subbefore.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sh/subbefore.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Sh/subbefore.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sm/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Sm/badarg.in create mode 100644 contrib/mandoc/regress/mdoc/Sm/badarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sm/badarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Sm/badarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sm/noarg.in create mode 100644 contrib/mandoc/regress/mdoc/Sm/noarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sm/noarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sm/scope.in create mode 100644 contrib/mandoc/regress/mdoc/Sm/scope.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sm/scope.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sm/spacing-No.in create mode 100644 contrib/mandoc/regress/mdoc/Sm/spacing-No.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sm/spacing-No.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sm/spacing-Op.in create mode 100644 contrib/mandoc/regress/mdoc/Sm/spacing-Op.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sm/spacing-Op.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sm/twoarg.in create mode 100644 contrib/mandoc/regress/mdoc/Sm/twoarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sm/twoarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Sm/twoarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sq/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Sq/empty.in create mode 100644 contrib/mandoc/regress/mdoc/Sq/empty.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sq/empty.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Sq/empty.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/St/Makefile create mode 100644 contrib/mandoc/regress/mdoc/St/badargs.in create mode 100644 contrib/mandoc/regress/mdoc/St/badargs.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/St/badargs.out_lint create mode 100644 contrib/mandoc/regress/mdoc/St/badargs.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/St/call.in create mode 100644 contrib/mandoc/regress/mdoc/St/call.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/St/call.out_lint create mode 100644 contrib/mandoc/regress/mdoc/St/call.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sx/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Sx/font.in create mode 100644 contrib/mandoc/regress/mdoc/Sx/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sx/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sx/noarg.in create mode 100644 contrib/mandoc/regress/mdoc/Sx/noarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sx/noarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Sx/noarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sy/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Sy/font.in create mode 100644 contrib/mandoc/regress/mdoc/Sy/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sy/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sy/noarg.in create mode 100644 contrib/mandoc/regress/mdoc/Sy/noarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sy/noarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Sy/noarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Sy/punct.in create mode 100644 contrib/mandoc/regress/mdoc/Sy/punct.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Sy/punct.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Sy/punct.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Tn/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Tn/font.in create mode 100644 contrib/mandoc/regress/mdoc/Tn/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Tn/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Tn/noarg.in create mode 100644 contrib/mandoc/regress/mdoc/Tn/noarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Tn/noarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Tn/noarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Ud/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Ud/arg.in create mode 100644 contrib/mandoc/regress/mdoc/Ud/arg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ud/arg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Ud/arg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Ux/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Ux/eos.in create mode 100644 contrib/mandoc/regress/mdoc/Ux/eos.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ux/eos.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Ux/punct.in create mode 100644 contrib/mandoc/regress/mdoc/Ux/punct.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ux/punct.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Ux/punct.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Ux/spacing.in create mode 100644 contrib/mandoc/regress/mdoc/Ux/spacing.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Ux/spacing.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Va/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Va/basic.in create mode 100644 contrib/mandoc/regress/mdoc/Va/basic.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Va/basic.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Va/font.in create mode 100644 contrib/mandoc/regress/mdoc/Va/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Va/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Va/noarg.in create mode 100644 contrib/mandoc/regress/mdoc/Va/noarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Va/noarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Va/noarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Va/punct.in create mode 100644 contrib/mandoc/regress/mdoc/Va/punct.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Va/punct.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Vt/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Vt/child.in create mode 100644 contrib/mandoc/regress/mdoc/Vt/child.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Vt/child.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Vt/font.in create mode 100644 contrib/mandoc/regress/mdoc/Vt/font.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Vt/font.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Vt/noarg.in create mode 100644 contrib/mandoc/regress/mdoc/Vt/noarg.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Vt/noarg.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Vt/noarg.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Vt/spacing.in create mode 100644 contrib/mandoc/regress/mdoc/Vt/spacing.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Vt/spacing.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/Xr/Makefile create mode 100644 contrib/mandoc/regress/mdoc/Xr/args.in create mode 100644 contrib/mandoc/regress/mdoc/Xr/args.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/Xr/args.out_lint create mode 100644 contrib/mandoc/regress/mdoc/Xr/args.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/blank/Makefile create mode 100644 contrib/mandoc/regress/mdoc/blank/comment.in create mode 100644 contrib/mandoc/regress/mdoc/blank/comment.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/blank/comment.out_lint create mode 100644 contrib/mandoc/regress/mdoc/blank/comment.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/blank/line.in create mode 100644 contrib/mandoc/regress/mdoc/blank/line.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/blank/line.out_lint create mode 100644 contrib/mandoc/regress/mdoc/blank/list.in create mode 100644 contrib/mandoc/regress/mdoc/blank/list.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/blank/list.out_lint create mode 100644 contrib/mandoc/regress/mdoc/blank/list.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/break/Makefile create mode 100644 contrib/mandoc/regress/mdoc/break/brokenbreaker.in create mode 100644 contrib/mandoc/regress/mdoc/break/brokenbreaker.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/break/brokenbreaker.out_lint create mode 100644 contrib/mandoc/regress/mdoc/break/brokenbreaker.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/break/notopen.in create mode 100644 contrib/mandoc/regress/mdoc/break/notopen.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/break/notopen.out_lint create mode 100644 contrib/mandoc/regress/mdoc/break/notopen.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/break/tail.in create mode 100644 contrib/mandoc/regress/mdoc/break/tail.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/break/tail.out_lint create mode 100644 contrib/mandoc/regress/mdoc/break/tail.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/break/twice.in create mode 100644 contrib/mandoc/regress/mdoc/break/twice.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/break/twice.out_lint create mode 100644 contrib/mandoc/regress/mdoc/break/twice.out_markdown create mode 100644 contrib/mandoc/regress/mdoc/break/two.in create mode 100644 contrib/mandoc/regress/mdoc/break/two.out_ascii create mode 100644 contrib/mandoc/regress/mdoc/break/two.out_lint create mode 100644 contrib/mandoc/regress/mdoc/break/two.out_markdown create mode 100644 contrib/mandoc/regress/regress.pl create mode 100644 contrib/mandoc/regress/regress.pl.1 create mode 100644 contrib/mandoc/regress/roff/Makefile create mode 100644 contrib/mandoc/regress/roff/Makefile.inc create mode 100644 contrib/mandoc/regress/roff/args/Makefile create mode 100644 contrib/mandoc/regress/roff/args/man.in create mode 100644 contrib/mandoc/regress/roff/args/man.out_ascii create mode 100644 contrib/mandoc/regress/roff/args/man.out_lint create mode 100644 contrib/mandoc/regress/roff/args/mdoc.in create mode 100644 contrib/mandoc/regress/roff/args/mdoc.out_ascii create mode 100644 contrib/mandoc/regress/roff/args/mdoc.out_lint create mode 100644 contrib/mandoc/regress/roff/args/roff.in create mode 100644 contrib/mandoc/regress/roff/args/roff.out_ascii create mode 100644 contrib/mandoc/regress/roff/args/roff.out_lint create mode 100644 contrib/mandoc/regress/roff/br/Makefile create mode 100644 contrib/mandoc/regress/roff/br/args.in create mode 100644 contrib/mandoc/regress/roff/br/args.out_ascii create mode 100644 contrib/mandoc/regress/roff/br/args.out_lint create mode 100644 contrib/mandoc/regress/roff/cc/Makefile create mode 100644 contrib/mandoc/regress/roff/cc/basic.in create mode 100644 contrib/mandoc/regress/roff/cc/basic.out_ascii create mode 100644 contrib/mandoc/regress/roff/cc/basic.out_lint create mode 100644 contrib/mandoc/regress/roff/cond/Makefile create mode 100644 contrib/mandoc/regress/roff/cond/before-Dd.in create mode 100644 contrib/mandoc/regress/roff/cond/before-Dd.out_ascii create mode 100644 contrib/mandoc/regress/roff/cond/close.in create mode 100644 contrib/mandoc/regress/roff/cond/close.out_ascii create mode 100644 contrib/mandoc/regress/roff/cond/close.out_lint create mode 100644 contrib/mandoc/regress/roff/cond/ie.in create mode 100644 contrib/mandoc/regress/roff/cond/ie.out_ascii create mode 100644 contrib/mandoc/regress/roff/cond/if.in create mode 100644 contrib/mandoc/regress/roff/cond/if.out_ascii create mode 100644 contrib/mandoc/regress/roff/cond/if.out_lint create mode 100644 contrib/mandoc/regress/roff/cond/numeric.in create mode 100644 contrib/mandoc/regress/roff/cond/numeric.out_ascii create mode 100644 contrib/mandoc/regress/roff/cond/register.in create mode 100644 contrib/mandoc/regress/roff/cond/register.out_ascii create mode 100644 contrib/mandoc/regress/roff/cond/strcmp.in create mode 100644 contrib/mandoc/regress/roff/cond/strcmp.out_ascii create mode 100644 contrib/mandoc/regress/roff/cond/string.in create mode 100644 contrib/mandoc/regress/roff/cond/string.out_ascii create mode 100644 contrib/mandoc/regress/roff/de/Dd.in create mode 100644 contrib/mandoc/regress/roff/de/Dd.out_ascii create mode 100644 contrib/mandoc/regress/roff/de/Makefile create mode 100644 contrib/mandoc/regress/roff/de/TH.in create mode 100644 contrib/mandoc/regress/roff/de/TH.out_ascii create mode 100644 contrib/mandoc/regress/roff/de/append.in create mode 100644 contrib/mandoc/regress/roff/de/append.out_ascii create mode 100644 contrib/mandoc/regress/roff/de/cond.in create mode 100644 contrib/mandoc/regress/roff/de/cond.out_ascii create mode 100644 contrib/mandoc/regress/roff/de/escname.in create mode 100644 contrib/mandoc/regress/roff/de/escname.out_ascii create mode 100644 contrib/mandoc/regress/roff/de/escname.out_lint create mode 100644 contrib/mandoc/regress/roff/de/factorial.in create mode 100644 contrib/mandoc/regress/roff/de/factorial.out_ascii create mode 100644 contrib/mandoc/regress/roff/de/indir.in create mode 100644 contrib/mandoc/regress/roff/de/indir.out_ascii create mode 100644 contrib/mandoc/regress/roff/de/indir.out_lint create mode 100644 contrib/mandoc/regress/roff/de/infinite.in create mode 100644 contrib/mandoc/regress/roff/de/infinite.out_ascii create mode 100644 contrib/mandoc/regress/roff/de/infinite.out_lint create mode 100644 contrib/mandoc/regress/roff/de/startde.in create mode 100644 contrib/mandoc/regress/roff/de/startde.out_ascii create mode 100644 contrib/mandoc/regress/roff/ds/Makefile create mode 100644 contrib/mandoc/regress/roff/ds/append.in create mode 100644 contrib/mandoc/regress/roff/ds/append.out_ascii create mode 100644 contrib/mandoc/regress/roff/ds/escname.in create mode 100644 contrib/mandoc/regress/roff/ds/escname.out_ascii create mode 100644 contrib/mandoc/regress/roff/ds/nested.in create mode 100644 contrib/mandoc/regress/roff/ds/nested.out_ascii create mode 100644 contrib/mandoc/regress/roff/ds/quoting.in create mode 100644 contrib/mandoc/regress/roff/ds/quoting.out_ascii create mode 100644 contrib/mandoc/regress/roff/esc/B.in create mode 100644 contrib/mandoc/regress/roff/esc/B.out_ascii create mode 100644 contrib/mandoc/regress/roff/esc/B.out_lint create mode 100644 contrib/mandoc/regress/roff/esc/Makefile create mode 100644 contrib/mandoc/regress/roff/esc/c.in create mode 100644 contrib/mandoc/regress/roff/esc/c.out_ascii create mode 100644 contrib/mandoc/regress/roff/esc/c_man.in create mode 100644 contrib/mandoc/regress/roff/esc/c_man.out_ascii create mode 100644 contrib/mandoc/regress/roff/esc/e.in create mode 100644 contrib/mandoc/regress/roff/esc/e.out_ascii create mode 100644 contrib/mandoc/regress/roff/esc/f.in create mode 100644 contrib/mandoc/regress/roff/esc/f.out_ascii create mode 100644 contrib/mandoc/regress/roff/esc/h.in create mode 100644 contrib/mandoc/regress/roff/esc/h.out_ascii create mode 100644 contrib/mandoc/regress/roff/esc/h.out_lint create mode 100644 contrib/mandoc/regress/roff/esc/ignore.in create mode 100644 contrib/mandoc/regress/roff/esc/ignore.out_ascii create mode 100644 contrib/mandoc/regress/roff/esc/ignore.out_lint create mode 100644 contrib/mandoc/regress/roff/esc/l.in create mode 100644 contrib/mandoc/regress/roff/esc/l.out_ascii create mode 100644 contrib/mandoc/regress/roff/esc/l.out_lint create mode 100644 contrib/mandoc/regress/roff/esc/multi.in create mode 100644 contrib/mandoc/regress/roff/esc/multi.out_ascii create mode 100644 contrib/mandoc/regress/roff/esc/o.in create mode 100644 contrib/mandoc/regress/roff/esc/o.out_ascii create mode 100644 contrib/mandoc/regress/roff/esc/one.in create mode 100644 contrib/mandoc/regress/roff/esc/one.out_ascii create mode 100644 contrib/mandoc/regress/roff/esc/p.in create mode 100644 contrib/mandoc/regress/roff/esc/p.out_ascii create mode 100644 contrib/mandoc/regress/roff/esc/two.in create mode 100644 contrib/mandoc/regress/roff/esc/two.out_ascii create mode 100644 contrib/mandoc/regress/roff/esc/w.in create mode 100644 contrib/mandoc/regress/roff/esc/w.out_ascii create mode 100644 contrib/mandoc/regress/roff/esc/w.out_lint create mode 100644 contrib/mandoc/regress/roff/esc/z.in create mode 100644 contrib/mandoc/regress/roff/esc/z.out_ascii create mode 100644 contrib/mandoc/regress/roff/ft/Makefile create mode 100644 contrib/mandoc/regress/roff/ft/badargs-mdoc.in create mode 100644 contrib/mandoc/regress/roff/ft/badargs-mdoc.out_ascii create mode 100644 contrib/mandoc/regress/roff/ft/badargs-mdoc.out_lint create mode 100644 contrib/mandoc/regress/roff/ft/badargs.in create mode 100644 contrib/mandoc/regress/roff/ft/badargs.out_ascii create mode 100644 contrib/mandoc/regress/roff/ft/badargs.out_lint create mode 100644 contrib/mandoc/regress/roff/ig/Makefile create mode 100644 contrib/mandoc/regress/roff/ig/basic.in create mode 100644 contrib/mandoc/regress/roff/ig/basic.out_ascii create mode 100644 contrib/mandoc/regress/roff/ig/basic.out_lint create mode 100644 contrib/mandoc/regress/roff/it/Makefile create mode 100644 contrib/mandoc/regress/roff/it/badarg.in create mode 100644 contrib/mandoc/regress/roff/it/badarg.out_ascii create mode 100644 contrib/mandoc/regress/roff/it/badarg.out_lint create mode 100644 contrib/mandoc/regress/roff/it/double.in create mode 100644 contrib/mandoc/regress/roff/it/double.out_ascii create mode 100644 contrib/mandoc/regress/roff/it/text.in create mode 100644 contrib/mandoc/regress/roff/it/text.out_ascii create mode 100644 contrib/mandoc/regress/roff/ll/Makefile create mode 100644 contrib/mandoc/regress/roff/ll/basic.in create mode 100644 contrib/mandoc/regress/roff/ll/basic.out_ascii create mode 100644 contrib/mandoc/regress/roff/na/Makefile create mode 100644 contrib/mandoc/regress/roff/na/args.in create mode 100644 contrib/mandoc/regress/roff/na/args.out_ascii create mode 100644 contrib/mandoc/regress/roff/nr/Makefile create mode 100644 contrib/mandoc/regress/roff/nr/argc.in create mode 100644 contrib/mandoc/regress/roff/nr/argc.out_ascii create mode 100644 contrib/mandoc/regress/roff/nr/divzero.in create mode 100644 contrib/mandoc/regress/roff/nr/divzero.out_ascii create mode 100644 contrib/mandoc/regress/roff/nr/divzero.out_lint create mode 100644 contrib/mandoc/regress/roff/nr/escname.in create mode 100644 contrib/mandoc/regress/roff/nr/escname.out_ascii create mode 100644 contrib/mandoc/regress/roff/nr/escname.out_lint create mode 100644 contrib/mandoc/regress/roff/nr/eval.in create mode 100644 contrib/mandoc/regress/roff/nr/eval.out_ascii create mode 100644 contrib/mandoc/regress/roff/nr/int.in create mode 100644 contrib/mandoc/regress/roff/nr/int.out_ascii create mode 100644 contrib/mandoc/regress/roff/nr/predef.in create mode 100644 contrib/mandoc/regress/roff/nr/predef.out_ascii create mode 100644 contrib/mandoc/regress/roff/nr/rr.in create mode 100644 contrib/mandoc/regress/roff/nr/rr.out_ascii create mode 100644 contrib/mandoc/regress/roff/nr/scale.in create mode 100644 contrib/mandoc/regress/roff/nr/scale.out_ascii create mode 100644 contrib/mandoc/regress/roff/po/Makefile create mode 100644 contrib/mandoc/regress/roff/po/basic-mdoc.in create mode 100644 contrib/mandoc/regress/roff/po/basic-mdoc.out_ascii create mode 100644 contrib/mandoc/regress/roff/ps/Makefile create mode 100644 contrib/mandoc/regress/roff/ps/ignore.in create mode 100644 contrib/mandoc/regress/roff/ps/ignore.out_ascii create mode 100644 contrib/mandoc/regress/roff/rm/Makefile create mode 100644 contrib/mandoc/regress/roff/rm/basic.in create mode 100644 contrib/mandoc/regress/roff/rm/basic.out_ascii create mode 100644 contrib/mandoc/regress/roff/rn/Makefile create mode 100644 contrib/mandoc/regress/roff/rn/append.in create mode 100644 contrib/mandoc/regress/roff/rn/append.out_ascii create mode 100644 contrib/mandoc/regress/roff/scale/Makefile create mode 100644 contrib/mandoc/regress/roff/scale/horiz.in create mode 100644 contrib/mandoc/regress/roff/scale/horiz.out_ascii create mode 100644 contrib/mandoc/regress/roff/sp/Makefile create mode 100644 contrib/mandoc/regress/roff/sp/badargs-man.in create mode 100644 contrib/mandoc/regress/roff/sp/badargs-man.out_ascii create mode 100644 contrib/mandoc/regress/roff/sp/badargs-man.out_lint create mode 100644 contrib/mandoc/regress/roff/sp/badargs-mdoc.in create mode 100644 contrib/mandoc/regress/roff/sp/badargs-mdoc.out_ascii create mode 100644 contrib/mandoc/regress/roff/sp/negative.in create mode 100644 contrib/mandoc/regress/roff/sp/negative.out_ascii create mode 100644 contrib/mandoc/regress/roff/sp/scaling-man.in create mode 100644 contrib/mandoc/regress/roff/sp/scaling-man.out_ascii create mode 100644 contrib/mandoc/regress/roff/sp/scaling-mdoc.in create mode 100644 contrib/mandoc/regress/roff/sp/scaling-mdoc.out_ascii create mode 100644 contrib/mandoc/regress/roff/string/Makefile create mode 100644 contrib/mandoc/regress/roff/string/escape.in create mode 100644 contrib/mandoc/regress/roff/string/escape.out_ascii create mode 100644 contrib/mandoc/regress/roff/string/infinite.in create mode 100644 contrib/mandoc/regress/roff/string/infinite.out_ascii create mode 100644 contrib/mandoc/regress/roff/string/name.in create mode 100644 contrib/mandoc/regress/roff/string/name.out_ascii create mode 100644 contrib/mandoc/regress/roff/string/name.out_lint create mode 100644 contrib/mandoc/regress/roff/string/std.in create mode 100644 contrib/mandoc/regress/roff/string/std.out_ascii create mode 100644 contrib/mandoc/regress/roff/string/std.out_lint create mode 100644 contrib/mandoc/regress/roff/string/zerolength.in create mode 100644 contrib/mandoc/regress/roff/string/zerolength.out_ascii create mode 100644 contrib/mandoc/regress/roff/ta/Makefile create mode 100644 contrib/mandoc/regress/roff/ta/basic-man.in create mode 100644 contrib/mandoc/regress/roff/ta/basic-man.out_ascii create mode 100644 contrib/mandoc/regress/roff/ta/basic-mdoc.in create mode 100644 contrib/mandoc/regress/roff/ta/basic-mdoc.out_ascii create mode 100644 contrib/mandoc/regress/roff/ti/Makefile create mode 100644 contrib/mandoc/regress/roff/ti/basic-man.in create mode 100644 contrib/mandoc/regress/roff/ti/basic-man.out_ascii create mode 100644 contrib/mandoc/regress/roff/ti/basic-mdoc.in create mode 100644 contrib/mandoc/regress/roff/ti/basic-mdoc.out_ascii create mode 100644 contrib/mandoc/regress/roff/tr/Makefile create mode 100644 contrib/mandoc/regress/roff/tr/args.in create mode 100644 contrib/mandoc/regress/roff/tr/args.out_ascii create mode 100644 contrib/mandoc/regress/roff/tr/args.out_lint create mode 100644 contrib/mandoc/regress/tbl/Makefile create mode 100644 contrib/mandoc/regress/tbl/Makefile.inc create mode 100644 contrib/mandoc/regress/tbl/data/Makefile create mode 100644 contrib/mandoc/regress/tbl/data/blankline.in create mode 100644 contrib/mandoc/regress/tbl/data/blankline.out_ascii create mode 100644 contrib/mandoc/regress/tbl/data/block_unclosed.in create mode 100644 contrib/mandoc/regress/tbl/data/block_unclosed.out_ascii create mode 100644 contrib/mandoc/regress/tbl/data/block_unclosed.out_lint create mode 100644 contrib/mandoc/regress/tbl/data/block_width.in create mode 100644 contrib/mandoc/regress/tbl/data/block_width.out_ascii create mode 100644 contrib/mandoc/regress/tbl/data/block_wrap.in create mode 100644 contrib/mandoc/regress/tbl/data/block_wrap.out_ascii create mode 100644 contrib/mandoc/regress/tbl/data/empty.in create mode 100644 contrib/mandoc/regress/tbl/data/empty.out_ascii create mode 100644 contrib/mandoc/regress/tbl/data/empty.out_lint create mode 100644 contrib/mandoc/regress/tbl/data/insert.in create mode 100644 contrib/mandoc/regress/tbl/data/insert.out_ascii create mode 100644 contrib/mandoc/regress/tbl/data/insert.out_lint create mode 100644 contrib/mandoc/regress/tbl/layout/Makefile create mode 100644 contrib/mandoc/regress/tbl/layout/center.in create mode 100644 contrib/mandoc/regress/tbl/layout/center.out_ascii create mode 100644 contrib/mandoc/regress/tbl/layout/complex.in create mode 100644 contrib/mandoc/regress/tbl/layout/complex.out_ascii create mode 100644 contrib/mandoc/regress/tbl/layout/complex.out_lint create mode 100644 contrib/mandoc/regress/tbl/layout/empty.in create mode 100644 contrib/mandoc/regress/tbl/layout/empty.out_ascii create mode 100644 contrib/mandoc/regress/tbl/layout/empty.out_lint create mode 100644 contrib/mandoc/regress/tbl/layout/emptyline.in create mode 100644 contrib/mandoc/regress/tbl/layout/emptyline.out_ascii create mode 100644 contrib/mandoc/regress/tbl/layout/lines-nogroff.in create mode 100644 contrib/mandoc/regress/tbl/layout/lines-nogroff.out_ascii create mode 100644 contrib/mandoc/regress/tbl/layout/lines.in create mode 100644 contrib/mandoc/regress/tbl/layout/lines.out_ascii create mode 100644 contrib/mandoc/regress/tbl/layout/numbers.in create mode 100644 contrib/mandoc/regress/tbl/layout/numbers.out_ascii create mode 100644 contrib/mandoc/regress/tbl/layout/span.in create mode 100644 contrib/mandoc/regress/tbl/layout/span.out_ascii create mode 100644 contrib/mandoc/regress/tbl/macro/Makefile create mode 100644 contrib/mandoc/regress/tbl/macro/column.in create mode 100644 contrib/mandoc/regress/tbl/macro/column.out_ascii create mode 100644 contrib/mandoc/regress/tbl/macro/man.in create mode 100644 contrib/mandoc/regress/tbl/macro/man.out_ascii create mode 100644 contrib/mandoc/regress/tbl/macro/man.out_lint create mode 100644 contrib/mandoc/regress/tbl/macro/nested.in create mode 100644 contrib/mandoc/regress/tbl/macro/nested.out_ascii create mode 100644 contrib/mandoc/regress/tbl/macro/nested.out_lint create mode 100644 contrib/mandoc/regress/tbl/mod/Makefile create mode 100644 contrib/mandoc/regress/tbl/mod/badfont.in create mode 100644 contrib/mandoc/regress/tbl/mod/badfont.out_ascii create mode 100644 contrib/mandoc/regress/tbl/mod/badfont.out_lint create mode 100644 contrib/mandoc/regress/tbl/mod/expand-toowide.in create mode 100644 contrib/mandoc/regress/tbl/mod/expand-toowide.out_ascii create mode 100644 contrib/mandoc/regress/tbl/mod/expand.in create mode 100644 contrib/mandoc/regress/tbl/mod/expand.out_ascii create mode 100644 contrib/mandoc/regress/tbl/mod/font.in create mode 100644 contrib/mandoc/regress/tbl/mod/font.out_ascii create mode 100644 contrib/mandoc/regress/tbl/mod/font.out_lint create mode 100644 contrib/mandoc/regress/tbl/mod/misalign.in create mode 100644 contrib/mandoc/regress/tbl/mod/misalign.out_ascii create mode 100644 contrib/mandoc/regress/tbl/mod/spacing.in create mode 100644 contrib/mandoc/regress/tbl/mod/spacing.out_ascii create mode 100644 contrib/mandoc/regress/tbl/mod/width.in create mode 100644 contrib/mandoc/regress/tbl/mod/width.out_ascii create mode 100644 contrib/mandoc/regress/tbl/opt/Makefile create mode 100644 contrib/mandoc/regress/tbl/opt/box.in create mode 100644 contrib/mandoc/regress/tbl/opt/box.out_ascii create mode 100644 contrib/mandoc/regress/tbl/opt/center.in create mode 100644 contrib/mandoc/regress/tbl/opt/center.out_ascii create mode 100644 contrib/mandoc/regress/tbl/opt/invalid.in create mode 100644 contrib/mandoc/regress/tbl/opt/invalid.out_ascii create mode 100644 contrib/mandoc/regress/tbl/opt/invalid.out_lint create mode 100644 contrib/mandoc/st.in create mode 100644 contrib/mandoc/test-fgetln.c diff --git a/contrib/mandoc/Makefile.local b/contrib/mandoc/Makefile.local new file mode 100644 index 00000000000..7f8bb345d0c --- /dev/null +++ b/contrib/mandoc/Makefile.local @@ -0,0 +1,35 @@ +BUILD_TARGETS = +INSTALL_TARGETS = +CC = cc +CFLAGS = -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter +LDADD = -lz +LDFLAGS = +STATIC = -static +PREFIX = /usr/local +BINDIR = /usr/local/bin +SBINDIR = /usr/local/sbin +BIN_FROM_SBIN = ../bin +INCLUDEDIR = /usr/local/include/mandoc +LIBDIR = /usr/local/lib/mandoc +MANDIR = /usr/local/man +WWWPREFIX = /var/www +HTDOCDIR = /var/www/htdocs +CGIBINDIR = /var/www/cgi-bin +BINM_APROPOS = apropos +BINM_CATMAN = catman +BINM_MAKEWHATIS = makewhatis +BINM_MAN = man +BINM_SOELIM = soelim +BINM_WHATIS = whatis +MANM_MAN = man +MANM_MANCONF = man.conf +MANM_MDOC = mdoc +MANM_ROFF = roff +MANM_EQN = eqn +MANM_TBL = tbl +INSTALL = install +INSTALL_PROGRAM = install -m 0555 +INSTALL_LIB = install -m 0444 +INSTALL_MAN = install -m 0444 +INSTALL_DATA = install -m 0444 +LN = ln -f diff --git a/contrib/mandoc/config.h b/contrib/mandoc/config.h new file mode 100644 index 00000000000..36ff8a880eb --- /dev/null +++ b/contrib/mandoc/config.h @@ -0,0 +1,55 @@ +#ifdef __cplusplus +#error "Do not use C++. See the INSTALL file." +#endif + +#if !defined(__GNUC__) || (__GNUC__ < 4) +#define __attribute__(x) +#endif + +#include + +#define MAN_CONF_FILE "/etc/man.conf" +#define MANPATH_BASE "/usr/share/man" +#define MANPATH_DEFAULT "/usr/share/man:/usr/local/man" +#define OSENUM MANDOC_OS_OTHER +#define UTF8_LOCALE "en_US.UTF-8" +#define HAVE_CMSG_XPG42 0 +#define HAVE_DIRENT_NAMLEN 1 +#define HAVE_ENDIAN 0 +#define HAVE_ERR 1 +#define HAVE_FTS 1 +#define HAVE_FTS_COMPARE_CONST 1 +#define HAVE_GETLINE 1 +#define HAVE_GETSUBOPT 1 +#define HAVE_ISBLANK 1 +#define HAVE_LESS_T 1 +#define HAVE_MKDTEMP 1 +#define HAVE_NTOHL 1 +#define HAVE_PLEDGE 0 +#define HAVE_PROGNAME 1 +#define HAVE_REALLOCARRAY 1 +#define HAVE_RECALLOCARRAY 0 +#define HAVE_REWB_BSD 1 +#define HAVE_REWB_SYSV 1 +#define HAVE_SANDBOX_INIT 0 +#define HAVE_STRCASESTR 1 +#define HAVE_STRINGLIST 1 +#define HAVE_STRLCAT 1 +#define HAVE_STRLCPY 1 +#define HAVE_STRNDUP 1 +#define HAVE_STRPTIME 1 +#define HAVE_STRSEP 1 +#define HAVE_STRTONUM 1 +#define HAVE_SYS_ENDIAN 1 +#define HAVE_VASPRINTF 1 +#define HAVE_WCHAR 1 +#define HAVE_OHASH 1 + +#define BINM_APROPOS "apropos" +#define BINM_CATMAN "catman" +#define BINM_MAKEWHATIS "makewhatis" +#define BINM_MAN "man" +#define BINM_SOELIM "soelim" +#define BINM_WHATIS "whatis" + +extern void *recallocarray(void *, size_t, size_t, size_t); diff --git a/contrib/mandoc/config.log b/contrib/mandoc/config.log new file mode 100644 index 00000000000..9c6f4621dfe --- /dev/null +++ b/contrib/mandoc/config.log @@ -0,0 +1,221 @@ +configure.local: no (fully automatic configuration) + +dirent-namlen: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-dirent-namlen test-dirent-namlen.c +dirent-namlen: cc succeeded +dirent-namlen: yes + +be32toh: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-be32toh test-be32toh.c +./test-be32toh.c:4:10: fatal error: 'endian.h' file not found +#include + ^ +1 error generated. +be32toh: cc failed with 1 + +be32toh-DSYS_ENDIAN: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-be32toh test-be32toh.c -DSYS_ENDIAN +be32toh-DSYS_ENDIAN: cc succeeded +be32toh-DSYS_ENDIAN: yes + +EFTYPE: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-EFTYPE test-EFTYPE.c +EFTYPE: cc succeeded +EFTYPE: yes + +err: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-err test-err.c +err: cc succeeded +test-err: 1. warnx +test-err: 2. warn: No error: 0 +test-err: 3. err: No error: 0 +err: yes + +getline: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-getline test-getline.c +./test-getline.c:12:9: error: implicit declaration of function 'getline' is invalid in C99 [-Werror,-Wimplicit-function-declaration] + return getline(&line, &linesz, stdin) != -1; + ^ +1 error generated. +getline: cc failed with 1 + +getsubopt: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-getsubopt test-getsubopt.c +getsubopt: cc succeeded +getsubopt: yes + +isblank: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-isblank test-isblank.c +isblank: cc succeeded +isblank: yes + +mkdtemp: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-mkdtemp test-mkdtemp.c +mkdtemp: cc succeeded +mkdtemp: yes + +ntohl: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-ntohl test-ntohl.c +ntohl: cc succeeded +ntohl: yes + +O_DIRECTORY: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-O_DIRECTORY test-O_DIRECTORY.c +O_DIRECTORY: cc succeeded +O_DIRECTORY: yes + +PATH_MAX: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-PATH_MAX test-PATH_MAX.c +PATH_MAX: cc succeeded +PATH_MAX is defined to be 1024 +PATH_MAX: yes + +pledge: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-pledge test-pledge.c +./test-pledge.c:6:11: error: implicit declaration of function 'pledge' is invalid in C99 [-Werror,-Wimplicit-function-declaration] + return !!pledge("stdio", NULL); + ^ +1 error generated. +pledge: cc failed with 1 + +sandbox_init: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-sandbox_init test-sandbox_init.c +./test-sandbox_init.c:1:10: fatal error: 'sandbox.h' file not found +#include + ^ +1 error generated. +sandbox_init: cc failed with 1 + +progname: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-progname test-progname.c +progname: cc succeeded +progname: yes + +reallocarray: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-reallocarray test-reallocarray.c +reallocarray: cc succeeded +reallocarray: yes + +recallocarray: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-recallocarray test-recallocarray.c +./test-recallocarray.c:10:10: error: implicit declaration of function 'recallocarray' is invalid in C99 [-Werror,-Wimplicit-function-declaration] + return !recallocarray(p, 2, 3, 2); + ^ +./test-recallocarray.c:10:10: note: did you mean 'reallocarray'? +/usr/include/stdlib.h:107:10: note: 'reallocarray' declared here +void *reallocarray(void *, size_t, size_t); + ^ +1 error generated. +recallocarray: cc failed with 1 + +rewb-bsd: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-rewb-bsd test-rewb-bsd.c +rewb-bsd: cc succeeded +rewb-bsd: yes + +rewb-sysv: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-rewb-sysv test-rewb-sysv.c +rewb-sysv: cc succeeded +rewb-sysv: execution failed with 2 + +strcasestr: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-strcasestr test-strcasestr.c +strcasestr: cc succeeded +strcasestr: yes + +stringlist: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-stringlist test-stringlist.c +./test-stringlist.c:26:26: error: use of undeclared identifier 'NULL' + if ((sl = sl_init()) == NULL) + ^ +1 error generated. +stringlist: cc failed with 1 + +strlcat: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-strlcat test-strlcat.c +strlcat: cc succeeded +strlcat: yes + +strlcpy: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-strlcpy test-strlcpy.c +strlcpy: cc succeeded +strlcpy: yes + +strptime: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-strptime test-strptime.c +strptime: cc succeeded +strptime: yes + +strsep: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-strsep test-strsep.c +strsep: cc succeeded +strsep: yes + +strtonum: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-strtonum test-strtonum.c +strtonum: cc succeeded +strtonum: yes + +vasprintf: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-vasprintf test-vasprintf.c +vasprintf: cc succeeded +vasprintf: yes + +fts-DFTS_COMPARE_CONST: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-fts test-fts.c -DFTS_COMPARE_CONST +fts-DFTS_COMPARE_CONST: cc succeeded +fts-DFTS_COMPARE_CONST: yes + +UTF8_LOCALE: testing... +UTF8_LOCALE=en_US.UTF-8 + +wchar-DUTF8_LOCALE="en_US.UTF-8": testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-wchar test-wchar.c -DUTF8_LOCALE="en_US.UTF-8" +wchar-DUTF8_LOCALE="en_US.UTF-8": cc succeeded +*wchar-DUTF8_LOCALE="en_US.UTF-8": yes + +nanosleep: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-nanosleep test-nanosleep.c +nanosleep: cc succeeded +nanosleep: yes + +ohash: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-ohash test-ohash.c +./test-ohash.c:34:4: error: no member named 'calloc' in 'struct ohash_info' + i.calloc = xcalloc; + ~ ^ +./test-ohash.c:35:4: error: no member named 'free' in 'struct ohash_info'; did you mean 'hfree'? + i.free = xfree; + ^~~~ + hfree +/usr/include/ohash.h:32:9: note: 'hfree' declared here + void (*hfree)(void *, size_t, void *); + ^ +./test-ohash.c:35:9: error: incompatible pointer types assigning to 'void (*)(void *, size_t, void *)' from 'void (void *, void *)' [-Werror,-Wincompatible-pointer-types] + i.free = xfree; + ^ ~~~~~ +3 errors generated. +ohash: cc failed with 1 + +ohash-lutil: testing... +cc -g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wno-unused -Werror -o test-ohash test-ohash.c -lutil +./test-ohash.c:34:4: error: no member named 'calloc' in 'struct ohash_info' + i.calloc = xcalloc; + ~ ^ +./test-ohash.c:35:4: error: no member named 'free' in 'struct ohash_info'; did you mean 'hfree'? + i.free = xfree; + ^~~~ + hfree +/usr/include/ohash.h:32:9: note: 'hfree' declared here + void (*hfree)(void *, size_t, void *); + ^ +./test-ohash.c:35:9: error: incompatible pointer types assigning to 'void (*)(void *, size_t, void *)' from 'void (void *, void *)' [-Werror,-Wincompatible-pointer-types] + i.free = xfree; + ^ ~~~~~ +3 errors generated. +ohash-lutil: cc failed with 1 + +LDADD=" -lz" + +config.h: written +Makefile.local: written diff --git a/contrib/mandoc/configure b/contrib/mandoc/configure old mode 100755 new mode 100644 diff --git a/contrib/mandoc/lib.in b/contrib/mandoc/lib.in index a01f79e1ac4..bde0121f08f 100644 --- a/contrib/mandoc/lib.in +++ b/contrib/mandoc/lib.in @@ -62,7 +62,9 @@ LINE("libfsid", "Filesystem Identification Library (libfsid, \\-lfsid)") LINE("libftpio", "FTP Connection Management Library (libftpio, \\-lftpio)") LINE("libform", "Curses Form Library (libform, \\-lform)") LINE("libgeom", "Userland API Library for Kernel GEOM subsystem (libgeom, \\-lgeom)") +LINE("libgmock", "GoogleMock library (libgmock, \\-lgmock)") LINE("libgpio", "General-Purpose Input Output (GPIO) library (libgpio, \\-lgpio)") +LINE("libgtest", "GoogleTest library (libgtest, \\-lgtest)") LINE("libhammer", "HAMMER Filesystem Userland Library (libhammer, \\-lhammer)") LINE("libi386", "i386 Architecture Library (libi386, \\-li386)") LINE("libintl", "Internationalized Message Handling Library (libintl, \\-lintl)") @@ -116,7 +118,7 @@ LINE("libsaslc", "Simple Authentication and Security Layer client library (libsa LINE("libsbuf", "Safe String Composition Library (libsbuf, \\-lsbuf)") LINE("libsdp", "Bluetooth Service Discovery Protocol User Library (libsdp, \\-lsdp)") LINE("libssp", "Buffer Overflow Protection Library (libssp, \\-lssp)") -LINE("libstand", "Standalone Applications Library (libstand, \\-lstand)") +LINE("libstdthreads", "C11 Threads Library (libstdthreads, \\-lstdthreads)") LINE("libstdthreads", "C11 Threads Library (libstdthreads, \\-lstdthreads)") LINE("libSystem", "System Library (libSystem, \\-lSystem)") LINE("libsysdecode", "System Argument Decoding Library (libsysdecode, \\-lsysdecode)") diff --git a/contrib/mandoc/libroff.h b/contrib/mandoc/libroff.h new file mode 100644 index 00000000000..b6a026d820b --- /dev/null +++ b/contrib/mandoc/libroff.h @@ -0,0 +1,80 @@ +/* $Id: libroff.h,v 1.42 2017/07/08 17:52:49 schwarze Exp $ */ +/* + * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons + * Copyright (c) 2014, 2015, 2017 Ingo Schwarze + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +enum tbl_part { + TBL_PART_OPTS, /* in options (first line) */ + TBL_PART_LAYOUT, /* describing layout */ + TBL_PART_DATA, /* creating data rows */ + TBL_PART_CDATA /* continue previous row */ +}; + +struct tbl_node { + struct mparse *parse; /* parse point */ + int pos; /* invocation column */ + int line; /* invocation line */ + enum tbl_part part; + struct tbl_opts opts; + struct tbl_row *first_row; + struct tbl_row *last_row; + struct tbl_span *first_span; + struct tbl_span *current_span; + struct tbl_span *last_span; + struct tbl_node *next; +}; + +struct eqn_node { + struct mparse *parse; /* main parser, for error reporting */ + struct roff_node *node; /* syntax tree of this equation */ + struct eqn_def *defs; /* array of definitions */ + char *data; /* source code of this equation */ + char *start; /* first byte of the current token */ + char *end; /* first byte of the next token */ + size_t defsz; /* number of definitions */ + size_t sz; /* length of the source code */ + size_t toksz; /* length of the current token */ + int gsize; /* default point size */ + int delim; /* in-line delimiters enabled */ + char odelim; /* in-line opening delimiter */ + char cdelim; /* in-line closing delimiter */ +}; + +struct eqn_def { + char *key; + size_t keysz; + char *val; + size_t valsz; +}; + + +struct tbl_node *tbl_alloc(int, int, struct mparse *); +void tbl_restart(int, int, struct tbl_node *); +void tbl_free(struct tbl_node *); +void tbl_reset(struct tbl_node *); +void tbl_read(struct tbl_node *, int, const char *, int); +void tbl_option(struct tbl_node *, int, const char *, int *); +void tbl_layout(struct tbl_node *, int, const char *, int); +void tbl_data(struct tbl_node *, int, const char *, int); +void tbl_cdata(struct tbl_node *, int, const char *, int); +const struct tbl_span *tbl_span(struct tbl_node *); +int tbl_end(struct tbl_node *); +struct eqn_node *eqn_alloc(struct mparse *); +void eqn_box_free(struct eqn_box *); +void eqn_free(struct eqn_node *); +void eqn_parse(struct eqn_node *); +void eqn_read(struct eqn_node *, const char *); +void eqn_reset(struct eqn_node *); diff --git a/contrib/mandoc/main.c b/contrib/mandoc/main.c index b11f7b51c16..1d21615bf13 100644 --- a/contrib/mandoc/main.c +++ b/contrib/mandoc/main.c @@ -252,7 +252,13 @@ main(int argc, char *argv[]) outmode = OUTMODE_ALL; break; case 'M': +#if defined(__FreeBSD__) || defined(__MidnightBSD__) + defpaths = strdup(optarg); + if (defpaths == NULL) + err(1, "strdup"); +#else defpaths = optarg; +#endif break; case 'm': auxpaths = optarg; @@ -422,9 +428,34 @@ main(int argc, char *argv[]) outmode == OUTMODE_ONE) search.firstmatch = 1; +#if defined(__FreeBSD__) || defined(__MidnightBSD__) + /* + * Use manpath(1) to populate defpaths if -M is not specified. + * Don't treat any failures as fatal. + */ + if (defpaths == NULL) { + FILE *fp; + size_t linecap = 0; + ssize_t linelen; + + if ((fp = popen("/usr/bin/manpath -q", "r")) != NULL) { + if ((linelen = getline(&defpaths, + &linecap, fp)) > 0) { + /* Strip trailing newline */ + defpaths[linelen - 1] = '\0'; + } + pclose(fp); + } + } +#endif + /* Access the mandoc database. */ manconf_parse(&conf, conf_file, defpaths, auxpaths); +#if defined(__FreeBSD__) || defined(__MidnightBSD__) + free(defpaths); +#endif + if ( ! mansearch(&search, &conf.manpath, argc, argv, &res, &sz)) usage(search.argmode); @@ -1169,7 +1200,7 @@ spawn_pager(struct tag_files *tag_files) if (pager == NULL || *pager == '\0') pager = getenv("PAGER"); if (pager == NULL || *pager == '\0') - pager = "more -s"; + pager = "less -s"; cp = mandoc_strdup(pager); /* diff --git a/contrib/mandoc/man-cgi.css b/contrib/mandoc/man-cgi.css new file mode 100644 index 00000000000..256e8c6693e --- /dev/null +++ b/contrib/mandoc/man-cgi.css @@ -0,0 +1,13 @@ +body { font-family: Helvetica, Arial, sans-serif; } +body > div { padding-left: 2em; + padding-top: 1em; } +body > div#mancgi { padding-left: 0em; + padding-top: 0em; } +body > div.results { font-size: smaller; } +#mancgi fieldset { text-align: center; + border: thin solid silver; + border-radius: 1em; + font-size: small; } +#mancgi input[name=expr] { width: 25%; } +.results td.title { vertical-align: top; + padding-right: 1em; } diff --git a/contrib/mandoc/manpath.h b/contrib/mandoc/manpath.h new file mode 100644 index 00000000000..728373b2cc0 --- /dev/null +++ b/contrib/mandoc/manpath.h @@ -0,0 +1,34 @@ +/* $Id: manpath.h,v 1.7 2014/12/01 04:05:32 schwarze Exp $ */ +/* + * Copyright (c) 2011 Ingo Schwarze + * Copyright (c) 2011 Kristaps Dzonsons + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * Unsorted list of unique, absolute paths to be searched for manual + * databases. + */ +struct manpaths { + size_t sz; + char **paths; +}; + +__BEGIN_DECLS + +void manpath_manconf(struct manpaths *, const char *); +void manpath_parse(struct manpaths *, const char *, char *, char *); +void manpath_free(struct manpaths *); + +__END_DECLS diff --git a/contrib/mandoc/mdoc_validate.c b/contrib/mandoc/mdoc_validate.c index 11cdf00b56c..4d502887858 100644 --- a/contrib/mandoc/mdoc_validate.c +++ b/contrib/mandoc/mdoc_validate.c @@ -483,6 +483,8 @@ check_toptext(struct roff_man *mdoc, int ln, int pos, const char *p) mandoc_msg(MANDOCERR_BX, ln, pos + (int)(cp - p), "Fx"); if ((cp = strstr(p, "DragonFly")) != NULL) mandoc_msg(MANDOCERR_BX, ln, pos + (int)(cp - p), "Dx"); + if ((cp = strstr(p, "MidnightBSD")) != NULL) + mandoc_msg(MANDOCERR_BX, ln, pos + (int)(cp - p), "Mx"); cp = p; while ((cp = strstr(cp + 1, "()")) != NULL) { diff --git a/contrib/mandoc/msec.in b/contrib/mandoc/msec.in index ff83d555a61..6b0fb0c3c69 100644 --- a/contrib/mandoc/msec.in +++ b/contrib/mandoc/msec.in @@ -22,13 +22,13 @@ * Be sure to escape strings. */ -LINE("1", "General Commands Manual") -LINE("2", "System Calls Manual") -LINE("3", "Library Functions Manual") -LINE("3p", "Perl Library Manual") -LINE("4", "Device Drivers Manual") -LINE("5", "File Formats Manual") -LINE("6", "Games Manual") -LINE("7", "Miscellaneous Information Manual") -LINE("8", "System Manager\'s Manual") -LINE("9", "Kernel Developer\'s Manual") +LINE("1", "MidnightBSD General Commands Manual") +LINE("2", "MidnightBSD System Calls Manual") +LINE("3", "MidnightBSD Library Functions Manual") +LINE("3p", "Perl Library Functions Manual") +LINE("4", "MidnightBSD Kernel Interfaces Manual") +LINE("5", "MidnightBSD File Formats Manual") +LINE("6", "MidnightBSD Games Manual") +LINE("7", "MidnightBSD Miscellaneous Information Manual") +LINE("8", "MidnightBSD System Manager\'s Manual") +LINE("9", "MidnightBSD Kernel Developer\'s Manual") diff --git a/contrib/mandoc/regress/char/Makefile b/contrib/mandoc/regress/char/Makefile new file mode 100644 index 00000000000..dbd922e0df4 --- /dev/null +++ b/contrib/mandoc/regress/char/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.9 2014/06/20 18:27:51 schwarze Exp $ + +SUBDIR = accent bar hyphen space unicode N + +.include "../Makefile.sub" +.include diff --git a/contrib/mandoc/regress/char/Makefile.inc b/contrib/mandoc/regress/char/Makefile.inc new file mode 100644 index 00000000000..9b05b274baf --- /dev/null +++ b/contrib/mandoc/regress/char/Makefile.inc @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile.inc,v 1.3 2015/02/03 19:37:25 schwarze Exp $ + +SKIP_TMAN ?= ALL +SKIP_MARKDOWN ?= ALL + +.include "../Makefile.inc" diff --git a/contrib/mandoc/regress/char/N/Makefile b/contrib/mandoc/regress/char/N/Makefile new file mode 100644 index 00000000000..3630b154e5d --- /dev/null +++ b/contrib/mandoc/regress/char/N/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.2 2011/11/17 16:28:45 schwarze Exp $ + +REGRESS_TARGETS=basic + +.include diff --git a/contrib/mandoc/regress/char/N/basic.in b/contrib/mandoc/regress/char/N/basic.in new file mode 100644 index 00000000000..aa310f6548c --- /dev/null +++ b/contrib/mandoc/regress/char/N/basic.in @@ -0,0 +1,27 @@ +.\" $OpenBSD: basic.in,v 1.3 2017/07/04 14:53:23 schwarze Exp $ +.TH N-BASIC 1 "January 29, 2011" +.SH NAME +N-basic \- basic handling of character number escapes +.SH DESCRIPTION +basic usage: x\N'65'x +.br +too large: x\N'259'x +.br +much too large: x\N'2259'x +.br +.\" XXX mandoc ignores non-printable characters, while groff does not +.\" too small: x\N'1'x +.\" .br +.\" null: x\N'0'x +.\" .br +non-numerical content: x\N'XX'x +.br +mixed content: x\N'65XX'x +.br +empty: x\N''x +.br +no quoting: x\N665x +.br +non-matching quoting characters: x\NX65Yx +.br +end of test document diff --git a/contrib/mandoc/regress/char/N/basic.out_ascii b/contrib/mandoc/regress/char/N/basic.out_ascii new file mode 100644 index 00000000000..87c53449296 --- /dev/null +++ b/contrib/mandoc/regress/char/N/basic.out_ascii @@ -0,0 +1,21 @@ +N-BASIC(1) General Commands Manual N-BASIC(1) + + + +NNAAMMEE + N-basic - basic handling of character number escapes + +DDEESSCCRRIIPPTTIIOONN + basic usage: xAx + too large: xx + much too large: xx + non-numerical content: xX'x + mixed content: xAX'x + empty: xx + no quoting: x65x + non-matching quoting characters: xAx + end of test document + + + +OpenBSD January 29, 2011 N-BASIC(1) diff --git a/contrib/mandoc/regress/char/accent/Makefile b/contrib/mandoc/regress/char/accent/Makefile new file mode 100644 index 00000000000..4bc149a7b1b --- /dev/null +++ b/contrib/mandoc/regress/char/accent/Makefile @@ -0,0 +1,7 @@ +# $OpenBSD: Makefile,v 1.1 2014/03/08 18:00:59 schwarze Exp $ + +REGRESS_TARGETS = nocombine utf8only combine +SKIP_ASCII = utf8only combine +UTF8_TARGETS = nocombine utf8only combine + +.include diff --git a/contrib/mandoc/regress/char/accent/combine.in b/contrib/mandoc/regress/char/accent/combine.in new file mode 100644 index 00000000000..ed0ed94014d --- /dev/null +++ b/contrib/mandoc/regress/char/accent/combine.in @@ -0,0 +1,24 @@ +.\" $OpenBSD: combine.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH CHAR-ACCENT-COMBINE 1 "February 28, 2014" +.SH NAME +\fBchar-accent-combine\fR - combining accents +.SH DESCRIPTION +char + combine char U: e\U'0301' +.br +char + combine char C: e\C'u0301' +.br +char + combine char named: e\[u0301] +.\" XXX not implemented in mandoc +.\" .br +.\" combined chars named numeric: \[u0065_0301] +.\" .br +.\" combined chars named: \[e aa] +.br +combined char pre N: \['e] +.br +combined char pre 2: \('e +.\" XXX Plan 9 roff only +.\" .br +.\" combined char post N: \[e'] +.\" .br +.\" combined char post 2: \(e' diff --git a/contrib/mandoc/regress/char/accent/combine.out_utf8 b/contrib/mandoc/regress/char/accent/combine.out_utf8 new file mode 100644 index 00000000000..f5c0c2e7d1b --- /dev/null +++ b/contrib/mandoc/regress/char/accent/combine.out_utf8 @@ -0,0 +1,17 @@ +CHAR-ACCENT-COMBINE(1) General Commands Manual CHAR-ACCENT-COMBINE(1) + + + +NNAAMMEE + cchhaarr--aacccceenntt--ccoommbbiinnee - combining accents + +DDEESSCCRRIIPPTTIIOONN + char + combine char U: eU'0301' + char + combine char C: é + char + combine char named: é + combined char pre N: é + combined char pre 2: é + + + +OpenBSD February 28, 2014 CHAR-ACCENT-COMBINE(1) diff --git a/contrib/mandoc/regress/char/accent/nocombine.in b/contrib/mandoc/regress/char/accent/nocombine.in new file mode 100644 index 00000000000..a81d446b5ab --- /dev/null +++ b/contrib/mandoc/regress/char/accent/nocombine.in @@ -0,0 +1,46 @@ +.\" $OpenBSD: nocombine.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH CHAR-ACCENT-NOCOMBINE 1 "March 8, 2014" +.SH NAME +\fBchar-accent-nocombine\fR - non-combining accents +.SH DESCRIPTION +bare acute accent: e'e +.br +escaped acute accent: e\'e +.br +acute accent sequence: e\(aae +.br +bare grave accent: e`e +.br +escaped grave accent: e\`e +.br +acute grave sequence: e\(gae +.br +hungarian umlaut: e\(a"e +.br +.\" XXX This is ridiculous. +.\" XXX groff prints the macron as an underscore in the previous line. +.\" macron: e\(a-e +.br +.\" XXX groff doesn't have a dot in ASCII mode, only in UTF-8 mode. +.\" dotted: e\(a.e +.br +circumflex: e\(a^e +.br +.\" XXX groff uses a backspace for this one in ASCII mode. +.\" breve: e\(abe +.br +cedilla: e\(ace +.br +dieresis: e\(ade +.br +caron: e\(ahe +.br +ring: e\(aoe +.br +tilde: e\(a~e +.br +ogonek: e\(hoe +.br +text hat: e\(hae +.br +text tilde: e\(tie diff --git a/contrib/mandoc/regress/char/accent/nocombine.out_ascii b/contrib/mandoc/regress/char/accent/nocombine.out_ascii new file mode 100644 index 00000000000..bc1cce1549f --- /dev/null +++ b/contrib/mandoc/regress/char/accent/nocombine.out_ascii @@ -0,0 +1,28 @@ +CHAR-ACCENT-NOCOMBINE(1) General Commands Manual CHAR-ACCENT-NOCOMBINE(1) + + + +NNAAMMEE + cchhaarr--aacccceenntt--nnooccoommbbiinnee - non-combining accents + +DDEESSCCRRIIPPTTIIOONN + bare acute accent: e'e + escaped acute accent: e'e + acute accent sequence: e'e + bare grave accent: e`e + escaped grave accent: e`e + acute grave sequence: e`e + hungarian umlaut: e"e + circumflex: e^e + cedilla: e,e + dieresis: e"e + caron: eve + ring: eoe + tilde: e~e + ogonek: e,e + text hat: e^e + text tilde: e~e + + + +OpenBSD March 8, 2014 CHAR-ACCENT-NOCOMBINE(1) diff --git a/contrib/mandoc/regress/char/accent/nocombine.out_utf8 b/contrib/mandoc/regress/char/accent/nocombine.out_utf8 new file mode 100644 index 00000000000..3aa441a276d --- /dev/null +++ b/contrib/mandoc/regress/char/accent/nocombine.out_utf8 @@ -0,0 +1,28 @@ +CHAR-ACCENT-NOCOMBINE(1) General Commands Manual CHAR-ACCENT-NOCOMBINE(1) + + + +NNAAMMEE + cchhaarr--aacccceenntt--nnooccoommbbiinnee - non-combining accents + +DDEESSCCRRIIPPTTIIOONN + bare acute accent: e'e + escaped acute accent: e´e + acute accent sequence: e´e + bare grave accent: e`e + escaped grave accent: e`e + acute grave sequence: e`e + hungarian umlaut: e˝e + circumflex: e^e + cedilla: e¸e + dieresis: e¨e + caron: eˇe + ring: e˚e + tilde: e~e + ogonek: e˛e + text hat: e^e + text tilde: e~e + + + +OpenBSD March 8, 2014 CHAR-ACCENT-NOCOMBINE(1) diff --git a/contrib/mandoc/regress/char/accent/utf8only.in b/contrib/mandoc/regress/char/accent/utf8only.in new file mode 100644 index 00000000000..6e65526d948 --- /dev/null +++ b/contrib/mandoc/regress/char/accent/utf8only.in @@ -0,0 +1,10 @@ +.\" $OpenBSD: utf8only.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH CHAR-ACCENT-UTF8ONLY 1 "March 8, 2014" +.SH NAME +\fBchar-accent-utf8only\fR - accents available in UTF-8 only +.SH DESCRIPTION +macron: e\(a-e +.br +dotted: e\(a.e +.br +breve: e\(abe diff --git a/contrib/mandoc/regress/char/accent/utf8only.out_utf8 b/contrib/mandoc/regress/char/accent/utf8only.out_utf8 new file mode 100644 index 00000000000..7488f7e1444 --- /dev/null +++ b/contrib/mandoc/regress/char/accent/utf8only.out_utf8 @@ -0,0 +1,15 @@ +CHAR-ACCENT-UTF8ONLY(1) General Commands Manual CHAR-ACCENT-UTF8ONLY(1) + + + +NNAAMMEE + cchhaarr--aacccceenntt--uuttff88oonnllyy - accents available in UTF-8 only + +DDEESSCCRRIIPPTTIIOONN + macron: e¯e + dotted: e˙e + breve: e˘e + + + +OpenBSD March 8, 2014 CHAR-ACCENT-UTF8ONLY(1) diff --git a/contrib/mandoc/regress/char/bar/Makefile b/contrib/mandoc/regress/char/bar/Makefile new file mode 100644 index 00000000000..0245631cc7b --- /dev/null +++ b/contrib/mandoc/regress/char/bar/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.1 2012/07/18 10:36:20 schwarze Exp $ + +REGRESS_TARGETS = man mdoc + +.include diff --git a/contrib/mandoc/regress/char/bar/man.in b/contrib/mandoc/regress/char/bar/man.in new file mode 100644 index 00000000000..70e8a35407b --- /dev/null +++ b/contrib/mandoc/regress/char/bar/man.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: man.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH bar-man 1 "July 17, 2012" +.SH NAME +\fBbar-man\fR - formatting the vertical bar symbol +.SH DESCRIPTION +.SS normal bar +Manually switching fonts: \fIitalic\fRroman|roman\fPitalic +.PP +.B prefix | suffix +.SS special character +Manually switching fonts: \fIitalic\fRroman\(baroman\fPitalic +.PP +.B prefix \(ba suffix diff --git a/contrib/mandoc/regress/char/bar/man.out_ascii b/contrib/mandoc/regress/char/bar/man.out_ascii new file mode 100644 index 00000000000..b18c089ea23 --- /dev/null +++ b/contrib/mandoc/regress/char/bar/man.out_ascii @@ -0,0 +1,21 @@ +bar-man(1) General Commands Manual bar-man(1) + + + +NNAAMMEE + bbaarr--mmaann - formatting the vertical bar symbol + +DDEESSCCRRIIPPTTIIOONN + nnoorrmmaall bbaarr + Manually switching fonts: _i_t_a_l_i_croman|roman_i_t_a_l_i_c + + pprreeffiixx || ssuuffffiixx + + ssppeecciiaall cchhaarraacctteerr + Manually switching fonts: _i_t_a_l_i_croman|roman_i_t_a_l_i_c + + pprreeffiixx || ssuuffffiixx + + + +OpenBSD July 17, 2012 bar-man(1) diff --git a/contrib/mandoc/regress/char/bar/mdoc.in b/contrib/mandoc/regress/char/bar/mdoc.in new file mode 100644 index 00000000000..1207896edac --- /dev/null +++ b/contrib/mandoc/regress/char/bar/mdoc.in @@ -0,0 +1,38 @@ +.\" $OpenBSD: mdoc.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BAR-MDOC 1 +.Os +.Sh NAME +.Nm bar-mdoc +.Nd formatting the vertical bar symbol +.Sh DESCRIPTION +.Ss normal bar +Manually switching fonts: \fIitalic\fRroman|roman\fPitalic\fR +.Pp +.Fl isolated | em|bedded \fR|\fP formatted +.br +.Sy isolated | em|bedded \fR|\fP formatted +.br +.Ar isolated | em|bedded \fR|\fP formatted +.br +.Em isolated | em|bedded \fR|\fP formatted +.Ss special character +Manually switching fonts: \fIitalic\fRroman\(baroman\fPitalic\fR +.Pp +.Fl isolated \(ba em\(babedded \fR\(ba\fP formatted \fB\(ba\fP bold +.br +.Sy isolated \(ba em\(babedded \fR\(ba\fP formatted \fB\(ba\fP bold +.br +.Ar isolated \(ba em\(babedded \fR\(ba\fP formatted \fB\(ba\fP bold +.br +.Em isolated \(ba em\(babedded \fR\(ba\fP formatted \fB\(ba\fP bold +.Ss predefined string +Manually switching fonts: \fIitalic\fRroman\*(Baroman\fPbroken\fR +.Pp +.Fl isolated \*(Ba em\*(Babedded +.br +.Sy isolated \*(Ba em\*(Babedded +.br +.Ar isolated \*(Ba em\*(Babedded +.br +.Em isolated \*(Ba em\*(Babedded diff --git a/contrib/mandoc/regress/char/bar/mdoc.out_ascii b/contrib/mandoc/regress/char/bar/mdoc.out_ascii new file mode 100644 index 00000000000..259d0943ee7 --- /dev/null +++ b/contrib/mandoc/regress/char/bar/mdoc.out_ascii @@ -0,0 +1,31 @@ +BAR-MDOC(1) General Commands Manual BAR-MDOC(1) + +NNAAMMEE + bbaarr--mmddoocc - formatting the vertical bar symbol + +DDEESSCCRRIIPPTTIIOONN + nnoorrmmaall bbaarr + Manually switching fonts: _i_t_a_l_i_croman|roman_i_t_a_l_i_c + + --iissoollaatteedd | --eemm||bbeeddddeedd | --ffoorrmmaatttteedd + iissoollaatteedd | eemm||bbeeddddeedd | ffoorrmmaatttteedd + _i_s_o_l_a_t_e_d | _e_m_|_b_e_d_d_e_d | _f_o_r_m_a_t_t_e_d + _i_s_o_l_a_t_e_d | _e_m_|_b_e_d_d_e_d | _f_o_r_m_a_t_t_e_d + + ssppeecciiaall cchhaarraacctteerr + Manually switching fonts: _i_t_a_l_i_croman|roman_i_t_a_l_i_c + + --iissoollaatteedd --|| --eemm||bbeeddddeedd --| --ffoorrmmaatttteedd --|| --bboolldd + iissoollaatteedd || eemm||bbeeddddeedd | ffoorrmmaatttteedd || bboolldd + _i_s_o_l_a_t_e_d _| _e_m_|_b_e_d_d_e_d | _f_o_r_m_a_t_t_e_d || _b_o_l_d + _i_s_o_l_a_t_e_d _| _e_m_|_b_e_d_d_e_d | _f_o_r_m_a_t_t_e_d || _b_o_l_d + + pprreeddeeffiinneedd ssttrriinngg + Manually switching fonts: _i_t_a_l_i_croman|romanbroken + + --iissoollaatteedd | --eemm|bbeeddddeedd + iissoollaatteedd | eemm|bbeeddddeedd + _i_s_o_l_a_t_e_d | _e_m|_b_e_d_d_e_d + _i_s_o_l_a_t_e_d | _e_m|_b_e_d_d_e_d + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/char/hyphen/Makefile b/contrib/mandoc/regress/char/hyphen/Makefile new file mode 100644 index 00000000000..6f9638a36f4 --- /dev/null +++ b/contrib/mandoc/regress/char/hyphen/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.2 2011/11/17 16:28:45 schwarze Exp $ + +REGRESS_TARGETS=man mdoc + +.include diff --git a/contrib/mandoc/regress/char/hyphen/man.in b/contrib/mandoc/regress/char/hyphen/man.in new file mode 100644 index 00000000000..a61c2ea3a19 --- /dev/null +++ b/contrib/mandoc/regress/char/hyphen/man.in @@ -0,0 +1,12 @@ +.\" $OpenBSD: man.in,v 1.3 2017/07/04 14:53:23 schwarze Exp $ +.TH hyphen-man 1 "September 18, 2011" +.SH NAME +\fBhyphen-man\fR - formatting hyphens and breaking lines +.SH DESCRIPTION +This is a long line of text, such that the last word won't fit: break-here +.PP +Try the same thing once same again, but now in italic font mode: +\fIbreak-here\fP +.PP +Finally, try it a third time, but this time in bold font mode: +\fBbreak-here\fP diff --git a/contrib/mandoc/regress/char/hyphen/man.out_ascii b/contrib/mandoc/regress/char/hyphen/man.out_ascii new file mode 100644 index 00000000000..368edbb589e --- /dev/null +++ b/contrib/mandoc/regress/char/hyphen/man.out_ascii @@ -0,0 +1,20 @@ +hyphen-man(1) General Commands Manual hyphen-man(1) + + + +NNAAMMEE + hhyypphheenn--mmaann - formatting hyphens and breaking lines + +DDEESSCCRRIIPPTTIIOONN + This is a long line of text, such that the last word won't fit: break- + here + + Try the same thing once same again, but now in italic font mode: _b_r_e_a_k_- + _h_e_r_e + + Finally, try it a third time, but this time in bold font mode: bbrreeaakk-- + hheerree + + + +OpenBSD September 18, 2011 hyphen-man(1) diff --git a/contrib/mandoc/regress/char/hyphen/mdoc.in b/contrib/mandoc/regress/char/hyphen/mdoc.in new file mode 100644 index 00000000000..c0b09fbe12a --- /dev/null +++ b/contrib/mandoc/regress/char/hyphen/mdoc.in @@ -0,0 +1,18 @@ +.\" $OpenBSD: mdoc.in,v 1.4 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt HYPHEN-MDOC 1 +.Os +.Sh NAME +.Nm hyphen-mdoc +.Nd formatting hyphens and breaking lines +.Sh DESCRIPTION +This is a long line of text, such that the last word won't fit: break-here +.Pp +But do not break the line at hyphens inside macro arguments: no +.No break-here +.Pp +Try the same thing once same again, but now in italic font mode: +\fIbreak-here\fP +.Pp +And finally, try it a third time, but this time in bold font mode: +\fBbreak-here\fP diff --git a/contrib/mandoc/regress/char/hyphen/mdoc.out_ascii b/contrib/mandoc/regress/char/hyphen/mdoc.out_ascii new file mode 100644 index 00000000000..34d892e9c33 --- /dev/null +++ b/contrib/mandoc/regress/char/hyphen/mdoc.out_ascii @@ -0,0 +1,19 @@ +HYPHEN-MDOC(1) General Commands Manual HYPHEN-MDOC(1) + +NNAAMMEE + hhyypphheenn--mmddoocc - formatting hyphens and breaking lines + +DDEESSCCRRIIPPTTIIOONN + This is a long line of text, such that the last word won't fit: break- + here + + But do not break the line at hyphens inside macro arguments: no + break-here + + Try the same thing once same again, but now in italic font mode: _b_r_e_a_k_- + _h_e_r_e + + And finally, try it a third time, but this time in bold font mode: bbrreeaakk-- + hheerree + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/char/space/Makefile b/contrib/mandoc/regress/char/space/Makefile new file mode 100644 index 00000000000..b6095de3df2 --- /dev/null +++ b/contrib/mandoc/regress/char/space/Makefile @@ -0,0 +1,13 @@ +# $OpenBSD: Makefile,v 1.12 2016/12/07 23:27:42 schwarze Exp $ + +REGRESS_TARGETS = leading-mdoc leading-man multiple trailing-mdoc zerowidth +REGRESS_TARGETS += eos eos-man break nobreak +REGRESS_TARGETS += tab tab-man esct-mdoc esct-man + +UTF8_TARGETS = zerowidth + +HTML_TARGETS = zerowidth + +LINT_TARGETS = trailing-mdoc tab tab-man esct-mdoc esct-man + +.include diff --git a/contrib/mandoc/regress/char/space/break.in b/contrib/mandoc/regress/char/space/break.in new file mode 100644 index 00000000000..1adc6378ce3 --- /dev/null +++ b/contrib/mandoc/regress/char/space/break.in @@ -0,0 +1,12 @@ +.\" $OpenBSD: break.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt CHAR-BREAK 1 +.Os +.Sh NAME +.Nm char-break +.Nd optional line-break +.Sh DESCRIPTION +.Dl cons25,linux,rxvt,rxvt-unicode,\:sun,\:vt100,\:vt220,\:\ +wsvt25,\:xterm,\:xterm-color +.Pp +end of text diff --git a/contrib/mandoc/regress/char/space/break.out_ascii b/contrib/mandoc/regress/char/space/break.out_ascii new file mode 100644 index 00000000000..00b034ec92b --- /dev/null +++ b/contrib/mandoc/regress/char/space/break.out_ascii @@ -0,0 +1,12 @@ +CHAR-BREAK(1) General Commands Manual CHAR-BREAK(1) + +NNAAMMEE + cchhaarr--bbrreeaakk - optional line-break + +DDEESSCCRRIIPPTTIIOONN + cons25,linux,rxvt,rxvt-unicode,sun,vt100,vt220,wsvt25,xterm, + xterm-color + + end of text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/char/space/eos-man.in b/contrib/mandoc/regress/char/space/eos-man.in new file mode 100644 index 00000000000..439281d107c --- /dev/null +++ b/contrib/mandoc/regress/char/space/eos-man.in @@ -0,0 +1,23 @@ +.\" $OpenBSD: eos-man.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH SPACE-EOS-MAN 1 "December 22, 2013" +.SH NAME +SPACE-EOS-MAN \- end-of-sentence spacing in man(7) documents +.SH DESCRIPTION +This is a sentence. +There is a double space before the next one. +.PP +Here is a full stop +.B at the end of a macro. +It causes a double space, too. +.PP +She said: "Here is another sentence." +And it was detected even with quotation marks. +(Really.) +And within parantheses. +.PP +A dot in parantheses (.) is not a full stop. +.PP +A dot in the middle of an input line . is not a full stop. +.PP +At the end of an input line, even an escaped dot \&. +is regarded as a full stop. diff --git a/contrib/mandoc/regress/char/space/eos-man.out_ascii b/contrib/mandoc/regress/char/space/eos-man.out_ascii new file mode 100644 index 00000000000..3f4a652c313 --- /dev/null +++ b/contrib/mandoc/regress/char/space/eos-man.out_ascii @@ -0,0 +1,26 @@ +SPACE-EOS-MAN(1) General Commands Manual SPACE-EOS-MAN(1) + + + +NNAAMMEE + SPACE-EOS-MAN - end-of-sentence spacing in man(7) documents + +DDEESSCCRRIIPPTTIIOONN + This is a sentence. There is a double space before the next one. + + Here is a full stop aatt tthhee eenndd ooff aa mmaaccrroo.. It causes a double space, + too. + + She said: "Here is another sentence." And it was detected even with + quotation marks. (Really.) And within parantheses. + + A dot in parantheses (.) is not a full stop. + + A dot in the middle of an input line . is not a full stop. + + At the end of an input line, even an escaped dot . is regarded as a + full stop. + + + +OpenBSD December 22, 2013 SPACE-EOS-MAN(1) diff --git a/contrib/mandoc/regress/char/space/eos.in b/contrib/mandoc/regress/char/space/eos.in new file mode 100644 index 00000000000..fd5cbb15d01 --- /dev/null +++ b/contrib/mandoc/regress/char/space/eos.in @@ -0,0 +1,28 @@ +.\" $OpenBSD: eos.in,v 1.3 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SPACE-EOS 1 +.Os +.Sh NAME +.Nm space-eos +.Nd end-of-sentence spacing +.Sh DESCRIPTION +This is a sentence. +There is a double space before the next one. +.Pp +Here is a full stop +.Pq quite lonely . +It causes a double space, too. +.Pp +A dot in parantheses (.) is not a full stop. +Not even +.Pq Like in this case. +when preceded by a letter. +.Pp +A lonely dot in an enclosure +.Pq \&. +is not a full stop. +.Pp +A dot in the middle of an input line . is not a full stop. +.Pp +At the end of an input line, even an escaped dot \&. +is regarded as a full stop. diff --git a/contrib/mandoc/regress/char/space/eos.out_ascii b/contrib/mandoc/regress/char/space/eos.out_ascii new file mode 100644 index 00000000000..ea44663563a --- /dev/null +++ b/contrib/mandoc/regress/char/space/eos.out_ascii @@ -0,0 +1,21 @@ +SPACE-EOS(1) General Commands Manual SPACE-EOS(1) + +NNAAMMEE + ssppaaccee--eeooss - end-of-sentence spacing + +DDEESSCCRRIIPPTTIIOONN + This is a sentence. There is a double space before the next one. + + Here is a full stop (quite lonely). It causes a double space, too. + + A dot in parantheses (.) is not a full stop. Not even (Like in this + case.) when preceded by a letter. + + A lonely dot in an enclosure (.) is not a full stop. + + A dot in the middle of an input line . is not a full stop. + + At the end of an input line, even an escaped dot . is regarded as a full + stop. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/char/space/esct-man.in b/contrib/mandoc/regress/char/space/esct-man.in new file mode 100644 index 00000000000..e7afeefef0f --- /dev/null +++ b/contrib/mandoc/regress/char/space/esct-man.in @@ -0,0 +1,35 @@ +.\" $OpenBSD: esct-man.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH SPACE-ESCT-MAN 1 2013-06-20 +.SH NAME +SPACE-T-MAN \- the t escape sequence in pages with man macros +.SH DESCRIPTION +In plain text: +.br +single tab +.br +single\tescape-t +.br +double tab +.br +double\t\tescape-t +.br +\tThis line starts with escape-t and comes close to the right margin. +\tThe next line starts with escape-t as well. +.sp +In a literal display: +.nf +single tab +single\tescape-t +double tab +double\t\tescape-t +.fi +.sp +After the IP macro: +.IP single tab 3n +text +.IP single\tescape-t 3n +text +.PP +After font macros: +.br +.B single\ttab diff --git a/contrib/mandoc/regress/char/space/esct-man.out_ascii b/contrib/mandoc/regress/char/space/esct-man.out_ascii new file mode 100644 index 00000000000..29fbabeaeaf --- /dev/null +++ b/contrib/mandoc/regress/char/space/esct-man.out_ascii @@ -0,0 +1,36 @@ +SPACE-ESCT-MAN(1) General Commands Manual SPACE-ESCT-MAN(1) + + + +NNAAMMEE + SPACE-T-MAN - the t escape sequence in pages with man macros + +DDEESSCCRRIIPPTTIIOONN + In plain text: + single tab + singleescape-t + double tab + doubleescape-t + This line starts with escape-t and comes close to the right margin. + The next line starts with escape-t as well. + + In a literal display: + single tab + singleescape-t + double tab + doubleescape-t + + After the IP macro: + + single tab + text + + single escape-t + text + + After font macros: + ssiinnggllee ttaabb + + + +OpenBSD 2013-06-20 SPACE-ESCT-MAN(1) diff --git a/contrib/mandoc/regress/char/space/esct-man.out_lint b/contrib/mandoc/regress/char/space/esct-man.out_lint new file mode 100644 index 00000000000..c625b3a3ddd --- /dev/null +++ b/contrib/mandoc/regress/char/space/esct-man.out_lint @@ -0,0 +1,6 @@ +mandoc: esct-man.in:8:7: WARNING: tab in filled text +mandoc: esct-man.in:12:7: WARNING: tab in filled text +mandoc: esct-man.in:12:8: WARNING: tab in filled text +mandoc: esct-man.in:28:11: WARNING: tab in filled text +mandoc: esct-man.in:30:11: WARNING: tab in filled text +mandoc: esct-man.in:35:10: WARNING: tab in filled text diff --git a/contrib/mandoc/regress/char/space/esct-mdoc.in b/contrib/mandoc/regress/char/space/esct-mdoc.in new file mode 100644 index 00000000000..3efae02cd5b --- /dev/null +++ b/contrib/mandoc/regress/char/space/esct-mdoc.in @@ -0,0 +1,36 @@ +.\" $OpenBSD: esct-mdoc.in,v 1.3 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SPACE-ESCT-MDOC 1 +.Os +.Sh NAME +.Nm space-esct-mdoc +.Nd the t escape sequence in pages with mdoc macros +.Sh DESCRIPTION +In plain text: +.Pp +single tab +.Pp +single\tescape-t +.Pp +double tab +.Pp +double\t\tescape-t +.Pp +\tThis line starts with escape-t and comes close to the right margin. +\tThe next line starts with escape-t as well. +.Pp +In an unfilled display: +.Bd -unfilled -offset 3n +single tab +single\tescape-t +double tab +double\t\tescape-t +.Ed +.Pp +In a literal display: +.Bd -literal -offset 3n +single tab +single\tescape-t +double tab +double\t\tescape-t +.Ed diff --git a/contrib/mandoc/regress/char/space/esct-mdoc.out_ascii b/contrib/mandoc/regress/char/space/esct-mdoc.out_ascii new file mode 100644 index 00000000000..33dd06dbe06 --- /dev/null +++ b/contrib/mandoc/regress/char/space/esct-mdoc.out_ascii @@ -0,0 +1,34 @@ +SPACE-ESCT-MDOC(1) General Commands Manual SPACE-ESCT-MDOC(1) + +NNAAMMEE + ssppaaccee--eesscctt--mmddoocc - the t escape sequence in pages with mdoc macros + +DDEESSCCRRIIPPTTIIOONN + In plain text: + + single tab + + singleescape-t + + double tab + + doubleescape-t + + This line starts with escape-t and comes close to the right margin. The + next line starts with escape-t as well. + + In an unfilled display: + + single tab + singleescape-t + double tab + doubleescape-t + + In a literal display: + + single tab + singleescape-t + double tab + doubleescape-t + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/char/space/esct-mdoc.out_lint b/contrib/mandoc/regress/char/space/esct-mdoc.out_lint new file mode 100644 index 00000000000..e9887ef8d59 --- /dev/null +++ b/contrib/mandoc/regress/char/space/esct-mdoc.out_lint @@ -0,0 +1,3 @@ +mandoc: esct-mdoc.in:11:7: WARNING: tab in filled text +mandoc: esct-mdoc.in:15:7: WARNING: tab in filled text +mandoc: esct-mdoc.in:15:8: WARNING: tab in filled text diff --git a/contrib/mandoc/regress/char/space/leading-man.in b/contrib/mandoc/regress/char/space/leading-man.in new file mode 100644 index 00000000000..6b56ad26d08 --- /dev/null +++ b/contrib/mandoc/regress/char/space/leading-man.in @@ -0,0 +1,12 @@ +.\" $OpenBSD: leading-man.in,v 1.4 2017/07/04 14:53:23 schwarze Exp $ +.TH SPACE-LEADING-MAN 1 "January 15, 2011" +.SH NAME +space-leading-man \- leading spaces on text lines in man documents +.SH DESCRIPTION +normal line of text +second normal line + leading space +.BI bold italic +normal after macro +.BI bold italic + leading space after a macro line diff --git a/contrib/mandoc/regress/char/space/leading-man.out_ascii b/contrib/mandoc/regress/char/space/leading-man.out_ascii new file mode 100644 index 00000000000..fa75ea2f968 --- /dev/null +++ b/contrib/mandoc/regress/char/space/leading-man.out_ascii @@ -0,0 +1,15 @@ +SPACE-LEADING-MAN(1) General Commands Manual SPACE-LEADING-MAN(1) + + + +NNAAMMEE + space-leading-man - leading spaces on text lines in man documents + +DDEESSCCRRIIPPTTIIOONN + normal line of text second normal line + leading space bboolldd_i_t_a_l_i_c normal after macro bboolldd_i_t_a_l_i_c + leading space after a macro line + + + +OpenBSD January 15, 2011 SPACE-LEADING-MAN(1) diff --git a/contrib/mandoc/regress/char/space/leading-mdoc.in b/contrib/mandoc/regress/char/space/leading-mdoc.in new file mode 100644 index 00000000000..6fb449b0893 --- /dev/null +++ b/contrib/mandoc/regress/char/space/leading-mdoc.in @@ -0,0 +1,25 @@ +.\" $OpenBSD: leading-mdoc.in,v 1.4 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SPACE-LEADING_MDOC 1 +.Os +.Sh NAME +.Nm space-leading-mdoc +.Nd leading spaces on text lines in mdoc documents +.Sh DESCRIPTION +normal line of text +second normal line + line with a leading space +.Ux +normal line after a macro line +.Ux + leading space after a macro line +.Bd -literal +normal line in a literal display + leading space in a literal display +another normal line +.Ed +.Bd -filled +normal line in a filled display + leading space in a filled display +another normal line +.Ed diff --git a/contrib/mandoc/regress/char/space/leading-mdoc.out_ascii b/contrib/mandoc/regress/char/space/leading-mdoc.out_ascii new file mode 100644 index 00000000000..02e980e7c7a --- /dev/null +++ b/contrib/mandoc/regress/char/space/leading-mdoc.out_ascii @@ -0,0 +1,18 @@ +SPACE-LEADING_MDOC(1) General Commands Manual SPACE-LEADING_MDOC(1) + +NNAAMMEE + ssppaaccee--lleeaaddiinngg--mmddoocc - leading spaces on text lines in mdoc documents + +DDEESSCCRRIIPPTTIIOONN + normal line of text second normal line + line with a leading space UNIX normal line after a macro line UNIX + leading space after a macro line + + normal line in a literal display + leading space in a literal display + another normal line + + normal line in a filled display + leading space in a filled display another normal line + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/char/space/multiple.in b/contrib/mandoc/regress/char/space/multiple.in new file mode 100644 index 00000000000..1a64d03e52f --- /dev/null +++ b/contrib/mandoc/regress/char/space/multiple.in @@ -0,0 +1,19 @@ +.\" $OpenBSD: multiple.in,v 1.4 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SPACE-MULTIPLE 1 +.Os +.Sh NAME +.Nm space-multiple +.Nd handling of multiple adjacent space characters +.Sh DESCRIPTION +one space here +.Pp +two spaces here +.Pp +three spaces here +.Pp +one non-collapsing space here +.Pp +two non-collapsing spaces\ \ here +.Pp +three non-collapsing spaces\ \ \ here diff --git a/contrib/mandoc/regress/char/space/multiple.out_ascii b/contrib/mandoc/regress/char/space/multiple.out_ascii new file mode 100644 index 00000000000..0f2898b71e7 --- /dev/null +++ b/contrib/mandoc/regress/char/space/multiple.out_ascii @@ -0,0 +1,19 @@ +SPACE-MULTIPLE(1) General Commands Manual SPACE-MULTIPLE(1) + +NNAAMMEE + ssppaaccee--mmuullttiippllee - handling of multiple adjacent space characters + +DDEESSCCRRIIPPTTIIOONN + one space here + + two spaces here + + three spaces here + + one non-collapsing space here + + two non-collapsing spaces here + + three non-collapsing spaces here + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/char/space/nobreak.in b/contrib/mandoc/regress/char/space/nobreak.in new file mode 100644 index 00000000000..86eb85f95a5 --- /dev/null +++ b/contrib/mandoc/regress/char/space/nobreak.in @@ -0,0 +1,31 @@ +.\" $OpenBSD: nobreak.in,v 1.5 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SPACE-NOBREAK 1 +.Os +.Sh NAME +.Nm space-nobreak +.Nd non-breaking, non-collapsing space +.Sh DESCRIPTION +The following line has 78 characters and fits: +.Pp +78 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x x +.Pp +The following line has 79 characters and breaks: +.Pp +79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x x +.Pp +With a non-breaking space, it breaks earlier: +.Pp +79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x\~x +.Pp +The same with backslash-space: +.Pp +79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x\ x +.Pp +Only non-breaking spaces: +.Pp +79\~xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\~x\~x +.Pp +The same with backslash-space: +.Pp +79\ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\ x\ x diff --git a/contrib/mandoc/regress/char/space/nobreak.out_ascii b/contrib/mandoc/regress/char/space/nobreak.out_ascii new file mode 100644 index 00000000000..36c96322263 --- /dev/null +++ b/contrib/mandoc/regress/char/space/nobreak.out_ascii @@ -0,0 +1,34 @@ +SPACE-NOBREAK(1) General Commands Manual SPACE-NOBREAK(1) + +NNAAMMEE + ssppaaccee--nnoobbrreeaakk - non-breaking, non-collapsing space + +DDEESSCCRRIIPPTTIIOONN + The following line has 78 characters and fits: + + 78 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x x + + The following line has 79 characters and breaks: + + 79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x + x + + With a non-breaking space, it breaks earlier: + + 79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx + x x + + The same with backslash-space: + + 79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx + x x + + Only non-breaking spaces: + + 79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x x + + The same with backslash-space: + + 79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x x + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/char/space/tab-man.in b/contrib/mandoc/regress/char/space/tab-man.in new file mode 100644 index 00000000000..5864385ddf8 --- /dev/null +++ b/contrib/mandoc/regress/char/space/tab-man.in @@ -0,0 +1,67 @@ +.\" $OpenBSD: tab-man.in,v 1.5 2017/07/04 14:53:23 schwarze Exp $ +.TH SPACE-TAB-MAN 1 "May 24, 2010" +.SH NAME +SPACE-TAB-MAN \- handling of literal tab characters +.SH DESCRIPTION +In plain text: +.br +1 x +.br +22 x +.br +333 x +.br +4444 x +.br +55555 x +.br +666666 x +.br +7777777 x +.br +88888888 x +.br +999999999 x +.br +aaaaaaaaaa x +.br +bbbbbbbbbbb x +.br +cccccccccccc x +.br +ddddddddddddd x +.br +tab space +.br +tab tab +.br +space tab +.br + tab +.br + tab +.br + This line starts with a tab and comes close to the right margin. + The next line starts with a tab as well. +.br +In a literal display: +.nf +1 x +22 x +333 x +4444 x +55555 x +666666 x +7777777 x +88888888 x +999999999 x +aaaaaaaaaa x +bbbbbbbbbbb x +cccccccccccc x +ddddddddddddd x +tab space +tab tab +space tab + tab + tab +.fi diff --git a/contrib/mandoc/regress/char/space/tab-man.out_ascii b/contrib/mandoc/regress/char/space/tab-man.out_ascii new file mode 100644 index 00000000000..9e5309af133 --- /dev/null +++ b/contrib/mandoc/regress/char/space/tab-man.out_ascii @@ -0,0 +1,52 @@ +SPACE-TAB-MAN(1) General Commands Manual SPACE-TAB-MAN(1) + + + +NNAAMMEE + SPACE-TAB-MAN - handling of literal tab characters + +DDEESSCCRRIIPPTTIIOONN + In plain text: + 1 x + 22 x + 333 x + 4444 x + 55555 x + 666666 x + 7777777 x + 88888888 x + 999999999 x + aaaaaaaaaa x + bbbbbbbbbbb x + cccccccccccc x + ddddddddddddd x + tab space + tab tab + space tab + tab + tab + This line starts with a tab and comes close to the right margin. + The next line starts with a tab as well. + In a literal display: + 1 x + 22 x + 333 x + 4444 x + 55555 x + 666666 x + 7777777 x + 88888888 x + 999999999 x + aaaaaaaaaa x + bbbbbbbbbbb x + cccccccccccc x + ddddddddddddd x + tab space + tab tab + space tab + tab + tab + + + +OpenBSD May 24, 2010 SPACE-TAB-MAN(1) diff --git a/contrib/mandoc/regress/char/space/tab-man.out_lint b/contrib/mandoc/regress/char/space/tab-man.out_lint new file mode 100644 index 00000000000..4a51a1f3bc9 --- /dev/null +++ b/contrib/mandoc/regress/char/space/tab-man.out_lint @@ -0,0 +1,22 @@ +mandoc: tab-man.in:8:2: WARNING: tab in filled text +mandoc: tab-man.in:10:3: WARNING: tab in filled text +mandoc: tab-man.in:12:4: WARNING: tab in filled text +mandoc: tab-man.in:14:5: WARNING: tab in filled text +mandoc: tab-man.in:16:6: WARNING: tab in filled text +mandoc: tab-man.in:18:7: WARNING: tab in filled text +mandoc: tab-man.in:20:8: WARNING: tab in filled text +mandoc: tab-man.in:22:9: WARNING: tab in filled text +mandoc: tab-man.in:24:10: WARNING: tab in filled text +mandoc: tab-man.in:26:11: WARNING: tab in filled text +mandoc: tab-man.in:28:12: WARNING: tab in filled text +mandoc: tab-man.in:30:13: WARNING: tab in filled text +mandoc: tab-man.in:32:14: WARNING: tab in filled text +mandoc: tab-man.in:34:4: WARNING: tab in filled text +mandoc: tab-man.in:36:4: WARNING: tab in filled text +mandoc: tab-man.in:36:5: WARNING: tab in filled text +mandoc: tab-man.in:38:7: WARNING: tab in filled text +mandoc: tab-man.in:40:1: WARNING: tab in filled text +mandoc: tab-man.in:42:1: WARNING: tab in filled text +mandoc: tab-man.in:42:2: WARNING: tab in filled text +mandoc: tab-man.in:44:1: WARNING: tab in filled text +mandoc: tab-man.in:45:1: WARNING: tab in filled text diff --git a/contrib/mandoc/regress/char/space/tab.in b/contrib/mandoc/regress/char/space/tab.in new file mode 100644 index 00000000000..a4c32044405 --- /dev/null +++ b/contrib/mandoc/regress/char/space/tab.in @@ -0,0 +1,129 @@ +.\" $OpenBSD: tab.in,v 1.6 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SPACE-TAB 1 +.Os +.Sh NAME +.Nm space-tab +.Nd handling of literal space characters +.Sh DESCRIPTION +plain text +.br +1 x +.br +22 x +.br +333 x +.br +4444 x +.br +55555 x +.br +666666 x +.br +7777777 x +.br +88888888 x +.br +999999999 x +.br +aaaaaaaaaa x +.br +bbbbbbbbbbb x +.br +cccccccccccc x +.br +ddddddddddddd x +.br +tab space +.br +tab tab +.br +space tab +.br + tab +.br + tab +.br + This line starts with a tab and comes close to the right margin. + The next line starts with a tab as well. +.br +ragged display +.Bd -ragged -offset 2n +1 x +.br +22 x +.br +333 x +.br +4444 x +.br +55555 x +.br +666666 x +.br +7777777 x +.br +88888888 x +.br +999999999 x +.br +aaaaaaaaaa x +.br +bbbbbbbbbbb x +.br +cccccccccccc x +.br +ddddddddddddd x +.br +tab space +.br +tab tab +.br +space tab +.br + tab +.br + tab +.Ed +unfilled display +.Bd -unfilled -offset 2n +1 x +22 x +333 x +4444 x +55555 x +666666 x +7777777 x +88888888 x +999999999 x +aaaaaaaaaa x +bbbbbbbbbbb x +cccccccccccc x +ddddddddddddd x +tab space +tab tab +space tab + tab + tab +.Ed +literal display +.Bd -literal -offset 2n +1 x +22 x +333 x +4444 x +55555 x +666666 x +7777777 x +88888888 x +999999999 x +aaaaaaaaaa x +bbbbbbbbbbb x +cccccccccccc x +ddddddddddddd x +tab space +tab tab +space tab + tab + tab +.Ed diff --git a/contrib/mandoc/regress/char/space/tab.out_ascii b/contrib/mandoc/regress/char/space/tab.out_ascii new file mode 100644 index 00000000000..2326e0b788e --- /dev/null +++ b/contrib/mandoc/regress/char/space/tab.out_ascii @@ -0,0 +1,89 @@ +SPACE-TAB(1) General Commands Manual SPACE-TAB(1) + +NNAAMMEE + ssppaaccee--ttaabb - handling of literal space characters + +DDEESSCCRRIIPPTTIIOONN + plain text + 1 x + 22 x + 333 x + 4444 x + 55555 x + 666666 x + 7777777 x + 88888888 x + 999999999 x + aaaaaaaaaa x + bbbbbbbbbbb x + cccccccccccc x + ddddddddddddd x + tab space + tab tab + space tab + tab + tab + This line starts with a tab and comes close to the right margin. + The next line starts with a tab as well. + ragged display + + 1 x + 22 x + 333 x + 4444 x + 55555 x + 666666 x + 7777777 x + 88888888 x + 999999999 x + aaaaaaaaaa x + bbbbbbbbbbb x + cccccccccccc x + ddddddddddddd x + tab space + tab tab + space tab + tab + tab + unfilled display + + 1 x + 22 x + 333 x + 4444 x + 55555 x + 666666 x + 7777777 x + 88888888 x + 999999999 x + aaaaaaaaaa x + bbbbbbbbbbb x + cccccccccccc x + ddddddddddddd x + tab space + tab tab + space tab + tab + tab + literal display + + 1 x + 22 x + 333 x + 4444 x + 55555 x + 666666 x + 7777777 x + 88888888 x + 999999999 x + aaaaaaaaaa x + bbbbbbbbbbb x + cccccccccccc x + ddddddddddddd x + tab space + tab tab + space tab + tab + tab + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/char/space/tab.out_lint b/contrib/mandoc/regress/char/space/tab.out_lint new file mode 100644 index 00000000000..befbf367bb4 --- /dev/null +++ b/contrib/mandoc/regress/char/space/tab.out_lint @@ -0,0 +1,42 @@ +mandoc: tab.in:11:2: WARNING: tab in filled text +mandoc: tab.in:13:3: WARNING: tab in filled text +mandoc: tab.in:15:4: WARNING: tab in filled text +mandoc: tab.in:17:5: WARNING: tab in filled text +mandoc: tab.in:19:6: WARNING: tab in filled text +mandoc: tab.in:21:7: WARNING: tab in filled text +mandoc: tab.in:23:8: WARNING: tab in filled text +mandoc: tab.in:25:9: WARNING: tab in filled text +mandoc: tab.in:27:10: WARNING: tab in filled text +mandoc: tab.in:29:11: WARNING: tab in filled text +mandoc: tab.in:31:12: WARNING: tab in filled text +mandoc: tab.in:33:13: WARNING: tab in filled text +mandoc: tab.in:35:14: WARNING: tab in filled text +mandoc: tab.in:37:4: WARNING: tab in filled text +mandoc: tab.in:39:4: WARNING: tab in filled text +mandoc: tab.in:39:5: WARNING: tab in filled text +mandoc: tab.in:41:7: WARNING: tab in filled text +mandoc: tab.in:43:1: WARNING: tab in filled text +mandoc: tab.in:45:1: WARNING: tab in filled text +mandoc: tab.in:45:2: WARNING: tab in filled text +mandoc: tab.in:47:1: WARNING: tab in filled text +mandoc: tab.in:48:1: WARNING: tab in filled text +mandoc: tab.in:52:2: WARNING: tab in filled text +mandoc: tab.in:54:3: WARNING: tab in filled text +mandoc: tab.in:56:4: WARNING: tab in filled text +mandoc: tab.in:58:5: WARNING: tab in filled text +mandoc: tab.in:60:6: WARNING: tab in filled text +mandoc: tab.in:62:7: WARNING: tab in filled text +mandoc: tab.in:64:8: WARNING: tab in filled text +mandoc: tab.in:66:9: WARNING: tab in filled text +mandoc: tab.in:68:10: WARNING: tab in filled text +mandoc: tab.in:70:11: WARNING: tab in filled text +mandoc: tab.in:72:12: WARNING: tab in filled text +mandoc: tab.in:74:13: WARNING: tab in filled text +mandoc: tab.in:76:14: WARNING: tab in filled text +mandoc: tab.in:78:4: WARNING: tab in filled text +mandoc: tab.in:80:4: WARNING: tab in filled text +mandoc: tab.in:80:5: WARNING: tab in filled text +mandoc: tab.in:82:7: WARNING: tab in filled text +mandoc: tab.in:84:1: WARNING: tab in filled text +mandoc: tab.in:86:1: WARNING: tab in filled text +mandoc: tab.in:86:2: WARNING: tab in filled text diff --git a/contrib/mandoc/regress/char/space/trailing-mdoc.in b/contrib/mandoc/regress/char/space/trailing-mdoc.in new file mode 100644 index 00000000000..acae4c0152b --- /dev/null +++ b/contrib/mandoc/regress/char/space/trailing-mdoc.in @@ -0,0 +1,12 @@ +.\" $OpenBSD: trailing-mdoc.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SPACE-TRAILING-MDOC 1 +.Os +.Sh NAME +.Nm space-trailing-mdoc +.Nd trailing spaces on input lines +.Sh DESCRIPTION +on a text line, +on a +.Em macro +line, after a comment \" diff --git a/contrib/mandoc/regress/char/space/trailing-mdoc.out_ascii b/contrib/mandoc/regress/char/space/trailing-mdoc.out_ascii new file mode 100644 index 00000000000..eb96a927e05 --- /dev/null +++ b/contrib/mandoc/regress/char/space/trailing-mdoc.out_ascii @@ -0,0 +1,9 @@ +SPACE-TRAILING-MDOC(1) General Commands Manual SPACE-TRAILING-MDOC(1) + +NNAAMMEE + ssppaaccee--ttrraaiilliinngg--mmddoocc - trailing spaces on input lines + +DDEESSCCRRIIPPTTIIOONN + on a text line, on a _m_a_c_r_o line, after a comment + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/char/space/trailing-mdoc.out_lint b/contrib/mandoc/regress/char/space/trailing-mdoc.out_lint new file mode 100644 index 00000000000..68e501a1964 --- /dev/null +++ b/contrib/mandoc/regress/char/space/trailing-mdoc.out_lint @@ -0,0 +1,3 @@ +mandoc: trailing-mdoc.in:9:16: STYLE: whitespace at end of input line +mandoc: trailing-mdoc.in:11:12: STYLE: whitespace at end of input line +mandoc: trailing-mdoc.in:12:27: STYLE: whitespace at end of input line diff --git a/contrib/mandoc/regress/char/space/zerowidth.in b/contrib/mandoc/regress/char/space/zerowidth.in new file mode 100644 index 00000000000..9c15cae4f93 --- /dev/null +++ b/contrib/mandoc/regress/char/space/zerowidth.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: zerowidth.in,v 1.3 2017/07/04 14:53:23 schwarze Exp $ +.TH SPACE-ZEROWIDTH 1 "October 27, 2014" +.SH NAME +space-zerowidth \- zero width and narrow space characters +.SH DESCRIPTION +.nf +BEGINTEST +zero width space \e& between A and B: A\&B +hyphenation allowed \e% between A and B: A\%B +half-narrow (1/12) space \e^ between A and B: A\^B +narrow space (1/6) \e| between A and B: A\|B +ENDTEST +.fi diff --git a/contrib/mandoc/regress/char/space/zerowidth.out_ascii b/contrib/mandoc/regress/char/space/zerowidth.out_ascii new file mode 100644 index 00000000000..e65098867bf --- /dev/null +++ b/contrib/mandoc/regress/char/space/zerowidth.out_ascii @@ -0,0 +1,18 @@ +SPACE-ZEROWIDTH(1) General Commands Manual SPACE-ZEROWIDTH(1) + + + +NNAAMMEE + space-zerowidth - zero width and narrow space characters + +DDEESSCCRRIIPPTTIIOONN + BEGINTEST + zero width space \& between A and B: AB + hyphenation allowed \% between A and B: AB + half-narrow (1/12) space \^ between A and B: AB + narrow space (1/6) \| between A and B: AB + ENDTEST + + + +OpenBSD October 27, 2014 SPACE-ZEROWIDTH(1) diff --git a/contrib/mandoc/regress/char/space/zerowidth.out_html b/contrib/mandoc/regress/char/space/zerowidth.out_html new file mode 100644 index 00000000000..f317aafda4b --- /dev/null +++ b/contrib/mandoc/regress/char/space/zerowidth.out_html @@ -0,0 +1,6 @@ +BEGINTEST +zero width space \& between A and B: AB +hyphenation allowed \% between A and B: AB +half-narrow (1/12) space \^ between A and B: AB +narrow space (1/6) \| between A and B: AB +ENDTEST diff --git a/contrib/mandoc/regress/char/space/zerowidth.out_utf8 b/contrib/mandoc/regress/char/space/zerowidth.out_utf8 new file mode 100644 index 00000000000..e65098867bf --- /dev/null +++ b/contrib/mandoc/regress/char/space/zerowidth.out_utf8 @@ -0,0 +1,18 @@ +SPACE-ZEROWIDTH(1) General Commands Manual SPACE-ZEROWIDTH(1) + + + +NNAAMMEE + space-zerowidth - zero width and narrow space characters + +DDEESSCCRRIIPPTTIIOONN + BEGINTEST + zero width space \& between A and B: AB + hyphenation allowed \% between A and B: AB + half-narrow (1/12) space \^ between A and B: AB + narrow space (1/6) \| between A and B: AB + ENDTEST + + + +OpenBSD October 27, 2014 SPACE-ZEROWIDTH(1) diff --git a/contrib/mandoc/regress/char/unicode/Makefile b/contrib/mandoc/regress/char/unicode/Makefile new file mode 100644 index 00000000000..853972996b8 --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/Makefile @@ -0,0 +1,16 @@ +# $OpenBSD: Makefile,v 1.4 2014/12/19 04:57:11 schwarze Exp $ + +REGRESS_TARGETS = ascii input invalid latin1 latin1diff +REGRESS_TARGETS += man mdoc named namediff nogroff +SKIP_ASCII = man mdoc +# input and nogroff exhibit implementation dependent differences +# among wcwidth(3) on different systems +#UTF8_TARGETS = ${REGRESS_TARGETS} +UTF8_TARGETS = ascii invalid man mdoc namediff +HTML_TARGETS = ascii invalid latin1 latin1diff named namediff nogroff +LINT_TARGETS = input invalid + +SKIP_GROFF = input nogroff +SKIP_GROFF_ASCII = latin1diff namediff + +.include diff --git a/contrib/mandoc/regress/char/unicode/ascii.in b/contrib/mandoc/regress/char/unicode/ascii.in new file mode 100644 index 00000000000..b8e561a8a5b --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/ascii.in @@ -0,0 +1,29 @@ +.\" $OpenBSD: ascii.in,v 1.4 2017/07/04 14:53:23 schwarze Exp $ +.TH CHAR-UNICODE-ASCII 1 "October 27, 2014" +.SH NAME +char-unicode-ascii \- Unicode characters in the ASCII range +.SH DESCRIPTION +.nf +BEGINTEST +\[u0022]\N'34'\(dq QUOTATION MARK +\[u0023]\N'35'\(sh NUMBER SIGN +\[u0024]\N'36'\(Do DOLLAR SIGN +\[u0027]\N'39'\(aq APOSTROPHE +\[u002B]\N'43'\(pl PLUS SIGN +\N'45'\- HYPHEN-MINUS +\N'46'\. FULL STOP +\[u002F]\N'47'\(sl SOLIDUS +\[u003D]\N'61'\(eq EQUALS SIGN +\[u0040]\N'64'\(at COMMERCIAL AT +\[u005B]\N'91'\(lB LEFT SQUARE BRACKET +\[u005C]\N'92'\e\(rs REVERSE SOLIDUS +\[u005D]\N'93'\(rB RIGHT SQUARE BRACKET +\[u005E]\N'94'\(a^\(ha CIRCUMFLEX ACCENT +\[u005F]\N'95'\(ul\(ru LOW LINE +\[u0060]\N'96'\`\(ga GRAVE ACCENT +\[u007B]\N'123'\(lC LEFT CURLY BRACKET +\[u007C]\N'124'\(ba\(or VERTICAL LINE +\[u007D]\N'125'\(rC RIGHT CURLY BRACKET +\[u007E]\N'126'\(a~\(ti TILDE +ENDTEST +.fi diff --git a/contrib/mandoc/regress/char/unicode/ascii.out_ascii b/contrib/mandoc/regress/char/unicode/ascii.out_ascii new file mode 100644 index 00000000000..f46e0f367e5 --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/ascii.out_ascii @@ -0,0 +1,34 @@ +CHAR-UNICODE-ASCII(1) General Commands Manual CHAR-UNICODE-ASCII(1) + + + +NNAAMMEE + char-unicode-ascii - Unicode characters in the ASCII range + +DDEESSCCRRIIPPTTIIOONN + BEGINTEST + """ QUOTATION MARK + ### NUMBER SIGN + $$$ DOLLAR SIGN + ''' APOSTROPHE + +++ PLUS SIGN + -- HYPHEN-MINUS + .. FULL STOP + /// SOLIDUS + === EQUALS SIGN + @@@ COMMERCIAL AT + [[[ LEFT SQUARE BRACKET + \\\\ REVERSE SOLIDUS + ]]] RIGHT SQUARE BRACKET + ^^^^ CIRCUMFLEX ACCENT + ____ LOW LINE + ```` GRAVE ACCENT + {{{ LEFT CURLY BRACKET + |||| VERTICAL LINE + }}} RIGHT CURLY BRACKET + ~~~~ TILDE + ENDTEST + + + +OpenBSD October 27, 2014 CHAR-UNICODE-ASCII(1) diff --git a/contrib/mandoc/regress/char/unicode/ascii.out_html b/contrib/mandoc/regress/char/unicode/ascii.out_html new file mode 100644 index 00000000000..7ebda578849 --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/ascii.out_html @@ -0,0 +1,22 @@ +BEGINTEST +""" QUOTATION MARK +### NUMBER SIGN +$$$ DOLLAR SIGN +''' APOSTROPHE ++++ PLUS SIGN +-- HYPHEN-MINUS +.. FULL STOP +/// SOLIDUS +=== EQUALS SIGN +@@@ COMMERCIAL AT +[[[ LEFT SQUARE BRACKET +\\\\ REVERSE SOLIDUS +]]] RIGHT SQUARE BRACKET +^^^^ CIRCUMFLEX ACCENT +____ LOW LINE +```` GRAVE ACCENT +{{{ LEFT CURLY BRACKET +|||| VERTICAL LINE +}}} RIGHT CURLY BRACKET +~~~~ TILDE +ENDTEST diff --git a/contrib/mandoc/regress/char/unicode/ascii.out_utf8 b/contrib/mandoc/regress/char/unicode/ascii.out_utf8 new file mode 100644 index 00000000000..f46e0f367e5 --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/ascii.out_utf8 @@ -0,0 +1,34 @@ +CHAR-UNICODE-ASCII(1) General Commands Manual CHAR-UNICODE-ASCII(1) + + + +NNAAMMEE + char-unicode-ascii - Unicode characters in the ASCII range + +DDEESSCCRRIIPPTTIIOONN + BEGINTEST + """ QUOTATION MARK + ### NUMBER SIGN + $$$ DOLLAR SIGN + ''' APOSTROPHE + +++ PLUS SIGN + -- HYPHEN-MINUS + .. FULL STOP + /// SOLIDUS + === EQUALS SIGN + @@@ COMMERCIAL AT + [[[ LEFT SQUARE BRACKET + \\\\ REVERSE SOLIDUS + ]]] RIGHT SQUARE BRACKET + ^^^^ CIRCUMFLEX ACCENT + ____ LOW LINE + ```` GRAVE ACCENT + {{{ LEFT CURLY BRACKET + |||| VERTICAL LINE + }}} RIGHT CURLY BRACKET + ~~~~ TILDE + ENDTEST + + + +OpenBSD October 27, 2014 CHAR-UNICODE-ASCII(1) diff --git a/contrib/mandoc/regress/char/unicode/input.in b/contrib/mandoc/regress/char/unicode/input.in new file mode 100644 index 0000000000000000000000000000000000000000..b0d9c7fc14e14f802ed597922e92e730b32da023 GIT binary patch literal 2427 zcmb7G%Wl(95M}M3;HqK)f&@DWN@`Xm4>b!~MA8+#3qP(CORgO`c3aqBSh0gYfIkV8 z4SFk-O%deZPwl1dR*Jv8FqJj{n~Kn(cYLDY@;U} zabSy>8Jl;oQ)@%3kG9#)*2BK$Os%+zsB}tfZ@BAlZbc@1F>W(gdt&ijb7UoG47} zsy0@^3stoT{Q3DR4c_hOW@ZM$a{X|^a#(EUhpCnLQHVLVXD-T|0{2`}ecUI;6t_K5QBlwelss<}Nm3mBL@gE)#FehnJ&UT3^ zlA*OiF3PfeQNgcGCgzZg+?OxcH7=)y-jbitH<97;?b_aIeuum(bPMN3MIgYJ?@E}Y z6ad#bAoYZ97y3bfFBc0_gf5FbIIS2Qec-!pAQ)Z_6dCe7ghA2(1P1u$EHiB}fy0Ed zxd1b|7wWn>m{WjZfPbmL0t>LhC_b=)3#Gjr(k&n{z)#OXCUnym3v>Bgk`HF>p+Qa+ z8E2^-_zpZx3SR)jUM`|rh=>7xT8TJM<2ahYWngkn%PnYOfS&@b;xN_he$GS`OfbN| z0+amcX0d+=jafR!=Fkf5Enq#;;27ZFl;+Cdg~ta`8ejeBJ+e5MWtCM^tTisVoYK+f ztL#cfr+l>fD!ZcBv4YmM%9K4R6J54Dme8(NS+yj!LfvkzDbz?+SFaU0|5k(^$0wGj zZ<1bkS`_1}HoXC + + OOnnee--bbyyttee rraannggee + + U+0000 0x00 ? lowest ASCII + U+001f 0x1f ? highest ASCII control character + U+007f 0x7f ? highest ASCII + 0x80 ? leading lowest continuation + 0xbf ? leading highest continuation + + TTwwoo--bbyyttee rraannggee + + U+0000 0xc080 ?? lowest obfuscated ASCII + U+007f 0xc1bf ?? highest obfuscated ASCII + 0xc278 ?x ASCII continuation + U+0080 0xc280 <80><80> lowest two-byte + 0xc2c380 ?`A high continuation + U+07FF 0xdfbf highest two-byte + + TThhrreeee--bbyyttee rraannggee + + U+0000 0xe08080 ??? lowest obfuscated ASCII + U+007f 0xe081bf ??? highest obfuscated ASCII + U+0080 0xe08280 ??? lowest obfuscated two-byte + U+07FF 0xe09fbf ??? highest obfuscated two-byte + U+0800 0xe0a080 lowest three-byte + U+0FFF 0xe0bfbf end of first middle byte + U+1000 0xe18080 begin of second middle byte + U+CFFF 0xecbfbf end of last normal middle byte + U+D000 0xed8080 begin of strange middle byte + U+D7FF 0xed9fbf highest public three-byte + U+D800 0xeda080 ??? lowest surrogate + U+DFFF 0xedbfbf ??? highest surrogate + U+E000 0xee8080 lowest private use + U+FFFF 0xefbfbf highest three-byte + + FFoouurr--bbyyttee rraannggee + + U+0000 0xf0808080 ???? lowest obfuscated ASCII + U+007f 0xf08081bf ???? highest obfuscated ASCII + U+0080 0xf0808280 ???? lowest obfuscated two-byte + U+07FF 0xf0809fbf ???? highest obfuscated two-byte + U+0800 0xf080a080 ???? lowest obfuscated three-byte + U+FFFF 0xf08fbfbf ???? highest obfuscated three-byte + U+10000 0xf0908080 lowest four-byte + U+3FFFF 0xf0bfbfbf end of first middle byte + U+40000 0xf1808080 second middle byte + U+FFFFF 0xf3bfbfbf last normal middle byte + U+100000 0xf4808080 strange middle byte + U+10FFFF 0xf48fbfbf last valid four-byte + U+110000 0xf4908080 ???? lowest beyond Unicode + U+13FFFF 0xf4bfbfbf ???? end of strange middle byte + U+140000 0xf5808080 ???? lowest invalid middle byte + U+1FFFFF 0xf7bfbfbf ???? highest four-byte + U+200000 0xf888808080 ????? lowest five-byte + + + +OpenBSD December 19, 2014 CHAR-UNICODE-INPUT(1) diff --git a/contrib/mandoc/regress/char/unicode/input.out_lint b/contrib/mandoc/regress/char/unicode/input.out_lint new file mode 100644 index 00000000000..e537b4fd463 --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/input.out_lint @@ -0,0 +1,81 @@ +mandoc: input.in:11:21: ERROR: skipping bad character: 0x0 +mandoc: input.in:12:21: ERROR: skipping bad character: 0x1f +mandoc: input.in:13:21: ERROR: skipping bad character: 0x7f +mandoc: input.in:14:7: ERROR: skipping bad character: 0x80 +mandoc: input.in:15:7: ERROR: skipping bad character: 0xbf +mandoc: input.in:21:15: ERROR: skipping bad character: 0xc0 +mandoc: input.in:21:16: ERROR: skipping bad character: 0x80 +mandoc: input.in:22:15: ERROR: skipping bad character: 0xc1 +mandoc: input.in:22:16: ERROR: skipping bad character: 0xbf +mandoc: input.in:23:9: ERROR: skipping bad character: 0xc2 +mandoc: input.in:25:11: ERROR: skipping bad character: 0xc2 +mandoc: input.in:32:17: ERROR: skipping bad character: 0xc0 +mandoc: input.in:32:18: ERROR: skipping bad character: 0x80 +mandoc: input.in:32:19: ERROR: skipping bad character: 0x80 +mandoc: input.in:33:17: ERROR: skipping bad character: 0xe0 +mandoc: input.in:33:18: ERROR: skipping bad character: 0x81 +mandoc: input.in:33:19: ERROR: skipping bad character: 0xbf +mandoc: input.in:34:17: ERROR: skipping bad character: 0xe0 +mandoc: input.in:34:18: ERROR: skipping bad character: 0x82 +mandoc: input.in:34:19: ERROR: skipping bad character: 0x80 +mandoc: input.in:35:17: ERROR: skipping bad character: 0xe0 +mandoc: input.in:35:18: ERROR: skipping bad character: 0x9f +mandoc: input.in:35:19: ERROR: skipping bad character: 0xbf +mandoc: input.in:42:25: ERROR: skipping bad character: 0xed +mandoc: input.in:42:26: ERROR: skipping bad character: 0xa0 +mandoc: input.in:42:27: ERROR: skipping bad character: 0x80 +mandoc: input.in:42:17: WARNING: invalid escape sequence: \[uD800] +mandoc: input.in:43:25: ERROR: skipping bad character: 0xed +mandoc: input.in:43:26: ERROR: skipping bad character: 0xbf +mandoc: input.in:43:27: ERROR: skipping bad character: 0xbf +mandoc: input.in:43:17: WARNING: invalid escape sequence: \[uDFFF] +mandoc: input.in:51:19: ERROR: skipping bad character: 0xf0 +mandoc: input.in:51:20: ERROR: skipping bad character: 0x80 +mandoc: input.in:51:21: ERROR: skipping bad character: 0x80 +mandoc: input.in:51:22: ERROR: skipping bad character: 0x80 +mandoc: input.in:52:19: ERROR: skipping bad character: 0xf0 +mandoc: input.in:52:20: ERROR: skipping bad character: 0x80 +mandoc: input.in:52:21: ERROR: skipping bad character: 0x81 +mandoc: input.in:52:22: ERROR: skipping bad character: 0xbf +mandoc: input.in:53:19: ERROR: skipping bad character: 0xf0 +mandoc: input.in:53:20: ERROR: skipping bad character: 0x80 +mandoc: input.in:53:21: ERROR: skipping bad character: 0x82 +mandoc: input.in:53:22: ERROR: skipping bad character: 0x80 +mandoc: input.in:54:19: ERROR: skipping bad character: 0xf0 +mandoc: input.in:54:20: ERROR: skipping bad character: 0x80 +mandoc: input.in:54:21: ERROR: skipping bad character: 0x9f +mandoc: input.in:54:22: ERROR: skipping bad character: 0xbf +mandoc: input.in:55:19: ERROR: skipping bad character: 0xf0 +mandoc: input.in:55:20: ERROR: skipping bad character: 0x80 +mandoc: input.in:55:21: ERROR: skipping bad character: 0xa0 +mandoc: input.in:55:22: ERROR: skipping bad character: 0x80 +mandoc: input.in:56:19: ERROR: skipping bad character: 0xf0 +mandoc: input.in:56:20: ERROR: skipping bad character: 0x8f +mandoc: input.in:56:21: ERROR: skipping bad character: 0xbf +mandoc: input.in:56:22: ERROR: skipping bad character: 0xbf +mandoc: input.in:63:31: ERROR: skipping bad character: 0xf4 +mandoc: input.in:63:32: ERROR: skipping bad character: 0x90 +mandoc: input.in:63:33: ERROR: skipping bad character: 0x80 +mandoc: input.in:63:34: ERROR: skipping bad character: 0x80 +mandoc: input.in:63:21: WARNING: invalid escape sequence: \[u110000] +mandoc: input.in:64:31: ERROR: skipping bad character: 0xf4 +mandoc: input.in:64:32: ERROR: skipping bad character: 0xbf +mandoc: input.in:64:33: ERROR: skipping bad character: 0xbf +mandoc: input.in:64:34: ERROR: skipping bad character: 0xbf +mandoc: input.in:64:21: WARNING: invalid escape sequence: \[u13FFFF] +mandoc: input.in:65:31: ERROR: skipping bad character: 0xf5 +mandoc: input.in:65:32: ERROR: skipping bad character: 0x80 +mandoc: input.in:65:33: ERROR: skipping bad character: 0x80 +mandoc: input.in:65:34: ERROR: skipping bad character: 0x80 +mandoc: input.in:65:21: WARNING: invalid escape sequence: \[u140000] +mandoc: input.in:66:31: ERROR: skipping bad character: 0xf7 +mandoc: input.in:66:32: ERROR: skipping bad character: 0xbf +mandoc: input.in:66:33: ERROR: skipping bad character: 0xbf +mandoc: input.in:66:34: ERROR: skipping bad character: 0xbf +mandoc: input.in:66:21: WARNING: invalid escape sequence: \[u1FFFFF] +mandoc: input.in:67:33: ERROR: skipping bad character: 0xf8 +mandoc: input.in:67:34: ERROR: skipping bad character: 0x88 +mandoc: input.in:67:35: ERROR: skipping bad character: 0x80 +mandoc: input.in:67:36: ERROR: skipping bad character: 0x80 +mandoc: input.in:67:37: ERROR: skipping bad character: 0x80 +mandoc: input.in:67:23: WARNING: invalid escape sequence: \[u200000] diff --git a/contrib/mandoc/regress/char/unicode/input.out_utf8 b/contrib/mandoc/regress/char/unicode/input.out_utf8 new file mode 100644 index 00000000000..890835d3888 --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/input.out_utf8 @@ -0,0 +1,67 @@ +CHAR-UNICODE-INPUT(1) General Commands Manual CHAR-UNICODE-INPUT(1) + + + +NNAAMMEE + char-unicode-input - Unicode characters in the input file + +DDEESSCCRRIIPPTTIIOONN + lowest valid: � + + OOnnee--bbyyttee rraannggee + + U+0000 0x00 �? lowest ASCII + U+001f 0x1f �? highest ASCII control character + U+007f 0x7f �? highest ASCII + 0x80 ? leading lowest continuation + 0xbf ? leading highest continuation + + TTwwoo--bbyyttee rraannggee + + U+0000 0xc080 ?? lowest obfuscated ASCII + U+007f 0xc1bf ?? highest obfuscated ASCII + 0xc278 ?x ASCII continuation + U+0080 0xc280 �� lowest two-byte + 0xc2c380 ?À high continuation + U+07FF 0xdfbf ߿߿ highest two-byte + + TThhrreeee--bbyyttee rraannggee + + U+0000 0xe08080 ??? lowest obfuscated ASCII + U+007f 0xe081bf ??? highest obfuscated ASCII + U+0080 0xe08280 ??? lowest obfuscated two-byte + U+07FF 0xe09fbf ??? highest obfuscated two-byte + U+0800 0xe0a080 ࠀࠀ lowest three-byte + U+0FFF 0xe0bfbf ࿿࿿ end of first middle byte + U+1000 0xe18080 ကက begin of second middle byte + U+CFFF 0xecbfbf 쿿쿿 end of last normal middle byte + U+D000 0xed8080 퀀퀀 begin of strange middle byte + U+D7FF 0xed9fbf ퟿퟿ highest public three-byte + U+D800 0xeda080 ??? lowest surrogate + U+DFFF 0xedbfbf ??? highest surrogate + U+E000 0xee8080  lowest private use + U+FFFF 0xefbfbf ￿￿ highest three-byte + + FFoouurr--bbyyttee rraannggee + + U+0000 0xf0808080 ???? lowest obfuscated ASCII + U+007f 0xf08081bf ???? highest obfuscated ASCII + U+0080 0xf0808280 ???? lowest obfuscated two-byte + U+07FF 0xf0809fbf ???? highest obfuscated two-byte + U+0800 0xf080a080 ???? lowest obfuscated three-byte + U+FFFF 0xf08fbfbf ???? highest obfuscated three-byte + U+10000 0xf0908080 𐀀𐀀 lowest four-byte + U+3FFFF 0xf0bfbfbf 𿿿𿿿 end of first middle byte + U+40000 0xf1808080 񀀀񀀀 second middle byte + U+FFFFF 0xf3bfbfbf 󿿿󿿿 last normal middle byte + U+100000 0xf4808080 􀀀􀀀 strange middle byte + U+10FFFF 0xf48fbfbf 􏿿􏿿 last valid four-byte + U+110000 0xf4908080 ???? lowest beyond Unicode + U+13FFFF 0xf4bfbfbf ???? end of strange middle byte + U+140000 0xf5808080 ???? lowest invalid middle byte + U+1FFFFF 0xf7bfbfbf ???? highest four-byte + U+200000 0xf888808080 ????? lowest five-byte + + + +OpenBSD December 19, 2014 CHAR-UNICODE-INPUT(1) diff --git a/contrib/mandoc/regress/char/unicode/invalid.in b/contrib/mandoc/regress/char/unicode/invalid.in new file mode 100644 index 00000000000..69063e4957f --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/invalid.in @@ -0,0 +1,18 @@ +.\" $OpenBSD: invalid.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt CHAR-UNICODE-INVALID 1 +.Os +.Sh NAME +.Nm char-unicode-invalid +.Nd invalid unicode characters +.Sh DESCRIPTION +.Bd -unfilled +BEGINTEST +too short: >\[u2B].\[u02B]< +just right: >\[u002B]< +too long: >\[u0002B].\[u00002B].\[u000002B]< +too large: >\[u110000].\[u200000].\[u1000000]< +trailing garbage: >\[u1234g]< +not unicode: >\[ul].\[ua].\[uA]< +ENDTEST +.Ed diff --git a/contrib/mandoc/regress/char/unicode/invalid.out_ascii b/contrib/mandoc/regress/char/unicode/invalid.out_ascii new file mode 100644 index 00000000000..a5249e63713 --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/invalid.out_ascii @@ -0,0 +1,16 @@ +CHAR-UNICODE-INVALID(1) General Commands Manual CHAR-UNICODE-INVALID(1) + +NNAAMMEE + cchhaarr--uunniiccooddee--iinnvvaalliidd - invalid unicode characters + +DDEESSCCRRIIPPTTIIOONN + BEGINTEST + too short: >.< + just right: >+< + too long: >..< + too large: >..< + trailing garbage: >< + not unicode: >_.|^.=^< + ENDTEST + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/char/unicode/invalid.out_html b/contrib/mandoc/regress/char/unicode/invalid.out_html new file mode 100644 index 00000000000..c4761ea608c --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/invalid.out_html @@ -0,0 +1,8 @@ +BEGINTEST +too short: >.< +just right: >+< +too long: >..< +too large: >..< +trailing garbage: >< +not unicode: >_.↑.⇑< +ENDTEST diff --git a/contrib/mandoc/regress/char/unicode/invalid.out_lint b/contrib/mandoc/regress/char/unicode/invalid.out_lint new file mode 100644 index 00000000000..baf228fa662 --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/invalid.out_lint @@ -0,0 +1,9 @@ +mandoc: invalid.in:11:20: WARNING: invalid escape sequence: \[u02B] +mandoc: invalid.in:11:13: WARNING: invalid escape sequence: \[u2B] +mandoc: invalid.in:13:33: WARNING: invalid escape sequence: \[u000002B] +mandoc: invalid.in:13:22: WARNING: invalid escape sequence: \[u00002B] +mandoc: invalid.in:13:12: WARNING: invalid escape sequence: \[u0002B] +mandoc: invalid.in:14:35: WARNING: invalid escape sequence: \[u1000000] +mandoc: invalid.in:14:24: WARNING: invalid escape sequence: \[u200000] +mandoc: invalid.in:14:13: WARNING: invalid escape sequence: \[u110000] +mandoc: invalid.in:15:20: WARNING: invalid escape sequence: \[u1234g] diff --git a/contrib/mandoc/regress/char/unicode/invalid.out_utf8 b/contrib/mandoc/regress/char/unicode/invalid.out_utf8 new file mode 100644 index 00000000000..91e120f09c3 --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/invalid.out_utf8 @@ -0,0 +1,16 @@ +CHAR-UNICODE-INVALID(1) General Commands Manual CHAR-UNICODE-INVALID(1) + +NNAAMMEE + cchhaarr--uunniiccooddee--iinnvvaalliidd – invalid unicode characters + +DDEESSCCRRIIPPTTIIOONN + BEGINTEST + too short: >.< + just right: >+< + too long: >..< + too large: >..< + trailing garbage: >< + not unicode: >_.↑.⇑< + ENDTEST + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/char/unicode/latin1.in b/contrib/mandoc/regress/char/unicode/latin1.in new file mode 100644 index 00000000000..e9960b7ccd8 --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/latin1.in @@ -0,0 +1,93 @@ +.\" $OpenBSD: latin1.in,v 1.4 2017/07/04 14:53:23 schwarze Exp $ +.TH CHAR-UNICODE-LATIN1 1 "October 27, 2014" +.SH NAME +char-unicode-latin1 \- Unicode characters in the ISO-8859-1 range +.SH DESCRIPTION +.nf +BEGINTEST +\[u00A2]\(ct CENT SIGN +\[u00A4]\(Cs CURRENCY SIGN +\[u00A5]\(Ye YEN SIGN +\[u00A6]\(bb BROKEN BAR +\[u00A8]\(ad DIAERESIS +\[u00A9]\(co COPYRIGHT SIGN +\[u00AA]\(Of FEMININE ORDINAL INDICATOR +\[u00AB]\(Fo LEFT-POINTING DOUBLE ANGLE QUOTATION MARK +\[u00AC]\(no\[tno] NOT SIGN +\[u00AD] SOFT HYPHEN +\[u00AE]\(rg REGISTERED SIGN +\[u00B1]\(+-\[t+-] PLUS-MINUS SIGN +\[u00B2]\(S2 SUPERSCRIPT TWO +\[u00B3]\(S3 SUPERSCRIPT THREE +\[u00B4]\'\(aa ACUTE ACCENT +\[u00B5]\(mc MICRO SIGN +\[u00B7]\(pc MIDDLE DOT +\[u00B8]\(ac CEDILLA +\[u00B9]\(S1 SUPERSCRIPT ONE +\[u00BA]\(Om MASCULINE ORDINAL INDICATOR +\[u00BB]\(Fc RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK +\[u00BC]\(14 VULGAR FRACTION ONE QUARTER +\[u00BD]\(12 VULGAR FRACTION ONE HALF +\[u00BE]\(34 VULGAR FRACTION THREE QUARTERS +\[u00C0]\(`A LATIN CAPITAL LETTER A WITH GRAVE +\[u00C1]\('A LATIN CAPITAL LETTER A WITH ACUTE +\[u00C2]\(^A LATIN CAPITAL LETTER A WITH CIRCUMFLEX +\[u00C3]\(~A LATIN CAPITAL LETTER A WITH TILDE +\[u00C4]\(:A LATIN CAPITAL LETTER A WITH DIAERESIS +\[u00C5]\(oA LATIN CAPITAL LETTER A WITH RING ABOVE +\[u00C6]\(AE LATIN CAPITAL LETTER AE +\[u00C7]\(,C LATIN CAPITAL LETTER C WITH CEDILLA +\[u00C8]\(`E LATIN CAPITAL LETTER E WITH GRAVE +\[u00C9]\('E LATIN CAPITAL LETTER E WITH ACUTE +\[u00CA]\(^E LATIN CAPITAL LETTER E WITH CIRCUMFLEX +\[u00CB]\(:E LATIN CAPITAL LETTER E WITH DIAERESIS +\[u00CC]\(`I LATIN CAPITAL LETTER I WITH GRAVE +\[u00CD]\('I LATIN CAPITAL LETTER I WITH ACUTE +\[u00CE]\(^I LATIN CAPITAL LETTER I WITH CIRCUMFLEX +\[u00CF]\(:I LATIN CAPITAL LETTER I WITH DIAERESIS +\[u00D0]\(-D LATIN CAPITAL LETTER ETH +\[u00D1]\(~N LATIN CAPITAL LETTER N WITH TILDE +\[u00D2]\(`O LATIN CAPITAL LETTER O WITH GRAVE +\[u00D3]\('O LATIN CAPITAL LETTER O WITH ACUTE +\[u00D4]\(^O LATIN CAPITAL LETTER O WITH CIRCUMFLEX +\[u00D5]\(~O LATIN CAPITAL LETTER O WITH TILDE +\[u00D6]\(:O LATIN CAPITAL LETTER O WITH DIAERESIS +\[u00D7]\(mu\[tmu] MULTIPLICATION SIGN +\[u00D8]\(/O LATIN CAPITAL LETTER O WITH STROKE +\[u00D9]\(`U LATIN CAPITAL LETTER U WITH GRAVE +\[u00DA]\('U LATIN CAPITAL LETTER U WITH ACUTE +\[u00DB]\(^U LATIN CAPITAL LETTER U WITH CIRCUMFLEX +\[u00DC]\(:U LATIN CAPITAL LETTER U WITH DIAERESIS +\[u00DD] LATIN CAPITAL LETTER Y WITH ACUTE +\[u00E0]\(`a LATIN SMALL LETTER A WITH GRAVE +\[u00E1]\('a LATIN SMALL LETTER A WITH ACUTE +\[u00E2]\(^a LATIN SMALL LETTER A WITH CIRCUMFLEX +\[u00E3]\(~a LATIN SMALL LETTER A WITH TILDE +\[u00E4]\(:a LATIN SMALL LETTER A WITH DIAERESIS +\[u00E5]\(oa LATIN SMALL LETTER A WITH RING ABOVE +\[u00E6]\(ae LATIN SMALL LETTER AE +\[u00E7]\(,c LATIN SMALL LETTER C WITH CEDILLA +\[u00E8]\(`e LATIN SMALL LETTER E WITH GRAVE +\[u00E9]\('e LATIN SMALL LETTER E WITH ACUTE +\[u00EA]\(^e LATIN SMALL LETTER E WITH CIRCUMFLEX +\[u00EB]\(:e LATIN SMALL LETTER E WITH DIAERESIS +\[u00EC]\(`i LATIN SMALL LETTER I WITH GRAVE +\[u00ED]\('i LATIN SMALL LETTER I WITH ACUTE +\[u00EE]\(^i LATIN SMALL LETTER I WITH CIRCUMFLEX +\[u00EF]\(:i LATIN SMALL LETTER I WITH DIAERESIS +\[u00F1]\(~n LATIN SMALL LETTER N WITH TILDE +\[u00F2]\(`o LATIN SMALL LETTER O WITH GRAVE +\[u00F3]\('o LATIN SMALL LETTER O WITH ACUTE +\[u00F4]\(^o LATIN SMALL LETTER O WITH CIRCUMFLEX +\[u00F5]\(~o LATIN SMALL LETTER O WITH TILDE +\[u00F6]\(:o LATIN SMALL LETTER O WITH DIAERESIS +\[u00F7]\(di\[tdi] DIVISION SIGN +\[u00F8]\(/o LATIN SMALL LETTER O WITH STROKE +\[u00F9]\(`u LATIN SMALL LETTER U WITH GRAVE +\[u00FA]\('u LATIN SMALL LETTER U WITH ACUTE +\[u00FB]\(^u LATIN SMALL LETTER U WITH CIRCUMFLEX +\[u00FC]\(:u LATIN SMALL LETTER U WITH DIAERESIS +\[u00FD] LATIN SMALL LETTER Y WITH ACUTE +\[u00FF]\(:y LATIN SMALL LETTER Y WITH DIAERESIS +ENDTEST +.fi diff --git a/contrib/mandoc/regress/char/unicode/latin1.out_ascii b/contrib/mandoc/regress/char/unicode/latin1.out_ascii new file mode 100644 index 00000000000..e772f9f7c31 --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/latin1.out_ascii @@ -0,0 +1,98 @@ +CHAR-UNICODE-LATIN1(1) General Commands Manual CHAR-UNICODE-LATIN1(1) + + + +NNAAMMEE + char-unicode-latin1 - Unicode characters in the ISO-8859-1 range + +DDEESSCCRRIIPPTTIIOONN + BEGINTEST + /c/c CENT SIGN + oxox CURRENCY SIGN + =Y=Y YEN SIGN + || BROKEN BAR + "" DIAERESIS + (C)(C) COPYRIGHT SIGN + _a_a FEMININE ORDINAL INDICATOR + <<<< LEFT-POINTING DOUBLE ANGLE QUOTATION MARK + ~~~ NOT SIGN + SOFT HYPHEN + (R)(R) REGISTERED SIGN + +-+-+- PLUS-MINUS SIGN + 22 SUPERSCRIPT TWO + 33 SUPERSCRIPT THREE + ''' ACUTE ACCENT + ,u,u MICRO SIGN + .. MIDDLE DOT + ,, CEDILLA + 11 SUPERSCRIPT ONE + _o_o MASCULINE ORDINAL INDICATOR + >>>> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK + 1/41/4 VULGAR FRACTION ONE QUARTER + 1/21/2 VULGAR FRACTION ONE HALF + 3/43/4 VULGAR FRACTION THREE QUARTERS + `A`A LATIN CAPITAL LETTER A WITH GRAVE + 'A'A LATIN CAPITAL LETTER A WITH ACUTE + ^A^A LATIN CAPITAL LETTER A WITH CIRCUMFLEX + ~A~A LATIN CAPITAL LETTER A WITH TILDE + "A"A LATIN CAPITAL LETTER A WITH DIAERESIS + oAoA LATIN CAPITAL LETTER A WITH RING ABOVE + AEAE LATIN CAPITAL LETTER AE + ,C,C LATIN CAPITAL LETTER C WITH CEDILLA + `E`E LATIN CAPITAL LETTER E WITH GRAVE + 'E'E LATIN CAPITAL LETTER E WITH ACUTE + ^E^E LATIN CAPITAL LETTER E WITH CIRCUMFLEX + "E"E LATIN CAPITAL LETTER E WITH DIAERESIS + `I`I LATIN CAPITAL LETTER I WITH GRAVE + 'I'I LATIN CAPITAL LETTER I WITH ACUTE + ^I^I LATIN CAPITAL LETTER I WITH CIRCUMFLEX + "I"I LATIN CAPITAL LETTER I WITH DIAERESIS + -D-D LATIN CAPITAL LETTER ETH + ~N~N LATIN CAPITAL LETTER N WITH TILDE + `O`O LATIN CAPITAL LETTER O WITH GRAVE + 'O'O LATIN CAPITAL LETTER O WITH ACUTE + ^O^O LATIN CAPITAL LETTER O WITH CIRCUMFLEX + ~O~O LATIN CAPITAL LETTER O WITH TILDE + "O"O LATIN CAPITAL LETTER O WITH DIAERESIS + xxx MULTIPLICATION SIGN + /O/O LATIN CAPITAL LETTER O WITH STROKE + `U`U LATIN CAPITAL LETTER U WITH GRAVE + 'U'U LATIN CAPITAL LETTER U WITH ACUTE + ^U^U LATIN CAPITAL LETTER U WITH CIRCUMFLEX + "U"U LATIN CAPITAL LETTER U WITH DIAERESIS + 'Y LATIN CAPITAL LETTER Y WITH ACUTE + `a`a LATIN SMALL LETTER A WITH GRAVE + 'a'a LATIN SMALL LETTER A WITH ACUTE + ^a^a LATIN SMALL LETTER A WITH CIRCUMFLEX + ~a~a LATIN SMALL LETTER A WITH TILDE + "a"a LATIN SMALL LETTER A WITH DIAERESIS + oaoa LATIN SMALL LETTER A WITH RING ABOVE + aeae LATIN SMALL LETTER AE + ,c,c LATIN SMALL LETTER C WITH CEDILLA + `e`e LATIN SMALL LETTER E WITH GRAVE + 'e'e LATIN SMALL LETTER E WITH ACUTE + ^e^e LATIN SMALL LETTER E WITH CIRCUMFLEX + "e"e LATIN SMALL LETTER E WITH DIAERESIS + `i`i LATIN SMALL LETTER I WITH GRAVE + 'i'i LATIN SMALL LETTER I WITH ACUTE + ^i^i LATIN SMALL LETTER I WITH CIRCUMFLEX + "i"i LATIN SMALL LETTER I WITH DIAERESIS + ~n~n LATIN SMALL LETTER N WITH TILDE + `o`o LATIN SMALL LETTER O WITH GRAVE + 'o'o LATIN SMALL LETTER O WITH ACUTE + ^o^o LATIN SMALL LETTER O WITH CIRCUMFLEX + ~o~o LATIN SMALL LETTER O WITH TILDE + "o"o LATIN SMALL LETTER O WITH DIAERESIS + -:--:--:- DIVISION SIGN + /o/o LATIN SMALL LETTER O WITH STROKE + `u`u LATIN SMALL LETTER U WITH GRAVE + 'u'u LATIN SMALL LETTER U WITH ACUTE + ^u^u LATIN SMALL LETTER U WITH CIRCUMFLEX + "u"u LATIN SMALL LETTER U WITH DIAERESIS + 'y LATIN SMALL LETTER Y WITH ACUTE + "y"y LATIN SMALL LETTER Y WITH DIAERESIS + ENDTEST + + + +OpenBSD October 27, 2014 CHAR-UNICODE-LATIN1(1) diff --git a/contrib/mandoc/regress/char/unicode/latin1.out_html b/contrib/mandoc/regress/char/unicode/latin1.out_html new file mode 100644 index 00000000000..b7d45ecbc81 --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/latin1.out_html @@ -0,0 +1,86 @@ +BEGINTEST +¢¢ CENT SIGN +¤¤ CURRENCY SIGN +¥¥ YEN SIGN +¦¦ BROKEN BAR +¨¨ DIAERESIS +©© COPYRIGHT SIGN +ªª FEMININE ORDINAL INDICATOR +«« LEFT-POINTING DOUBLE ANGLE QUOTATION MARK +¬¬¬ NOT SIGN +­ SOFT HYPHEN +®® REGISTERED SIGN +±±± PLUS-MINUS SIGN +²² SUPERSCRIPT TWO +³³ SUPERSCRIPT THREE +´´´ ACUTE ACCENT +µµ MICRO SIGN +·· MIDDLE DOT +¸¸ CEDILLA +¹¹ SUPERSCRIPT ONE +ºº MASCULINE ORDINAL INDICATOR +»» RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK +¼¼ VULGAR FRACTION ONE QUARTER +½½ VULGAR FRACTION ONE HALF +¾¾ VULGAR FRACTION THREE QUARTERS +ÀÀ LATIN CAPITAL LETTER A WITH GRAVE +ÁÁ LATIN CAPITAL LETTER A WITH ACUTE + LATIN CAPITAL LETTER A WITH CIRCUMFLEX +Ãà LATIN CAPITAL LETTER A WITH TILDE +ÄÄ LATIN CAPITAL LETTER A WITH DIAERESIS +ÅÅ LATIN CAPITAL LETTER A WITH RING ABOVE +ÆÆ LATIN CAPITAL LETTER AE +ÇÇ LATIN CAPITAL LETTER C WITH CEDILLA +ÈÈ LATIN CAPITAL LETTER E WITH GRAVE +ÉÉ LATIN CAPITAL LETTER E WITH ACUTE +ÊÊ LATIN CAPITAL LETTER E WITH CIRCUMFLEX +ËË LATIN CAPITAL LETTER E WITH DIAERESIS +ÌÌ LATIN CAPITAL LETTER I WITH GRAVE +ÍÍ LATIN CAPITAL LETTER I WITH ACUTE +ÎÎ LATIN CAPITAL LETTER I WITH CIRCUMFLEX +ÏÏ LATIN CAPITAL LETTER I WITH DIAERESIS +ÐÐ LATIN CAPITAL LETTER ETH +ÑÑ LATIN CAPITAL LETTER N WITH TILDE +ÒÒ LATIN CAPITAL LETTER O WITH GRAVE +ÓÓ LATIN CAPITAL LETTER O WITH ACUTE +ÔÔ LATIN CAPITAL LETTER O WITH CIRCUMFLEX +ÕÕ LATIN CAPITAL LETTER O WITH TILDE +ÖÖ LATIN CAPITAL LETTER O WITH DIAERESIS +××× MULTIPLICATION SIGN +ØØ LATIN CAPITAL LETTER O WITH STROKE +ÙÙ LATIN CAPITAL LETTER U WITH GRAVE +ÚÚ LATIN CAPITAL LETTER U WITH ACUTE +ÛÛ LATIN CAPITAL LETTER U WITH CIRCUMFLEX +ÜÜ LATIN CAPITAL LETTER U WITH DIAERESIS +Ý LATIN CAPITAL LETTER Y WITH ACUTE +àà LATIN SMALL LETTER A WITH GRAVE +áá LATIN SMALL LETTER A WITH ACUTE +ââ LATIN SMALL LETTER A WITH CIRCUMFLEX +ãã LATIN SMALL LETTER A WITH TILDE +ää LATIN SMALL LETTER A WITH DIAERESIS +åå LATIN SMALL LETTER A WITH RING ABOVE +ææ LATIN SMALL LETTER AE +çç LATIN SMALL LETTER C WITH CEDILLA +èè LATIN SMALL LETTER E WITH GRAVE +éé LATIN SMALL LETTER E WITH ACUTE +êê LATIN SMALL LETTER E WITH CIRCUMFLEX +ëë LATIN SMALL LETTER E WITH DIAERESIS +ìì LATIN SMALL LETTER I WITH GRAVE +íí LATIN SMALL LETTER I WITH ACUTE +îî LATIN SMALL LETTER I WITH CIRCUMFLEX +ïï LATIN SMALL LETTER I WITH DIAERESIS +ññ LATIN SMALL LETTER N WITH TILDE +òò LATIN SMALL LETTER O WITH GRAVE +óó LATIN SMALL LETTER O WITH ACUTE +ôô LATIN SMALL LETTER O WITH CIRCUMFLEX +õõ LATIN SMALL LETTER O WITH TILDE +öö LATIN SMALL LETTER O WITH DIAERESIS +÷÷÷ DIVISION SIGN +øø LATIN SMALL LETTER O WITH STROKE +ùù LATIN SMALL LETTER U WITH GRAVE +úú LATIN SMALL LETTER U WITH ACUTE +ûû LATIN SMALL LETTER U WITH CIRCUMFLEX +üü LATIN SMALL LETTER U WITH DIAERESIS +ý LATIN SMALL LETTER Y WITH ACUTE +ÿÿ LATIN SMALL LETTER Y WITH DIAERESIS +ENDTEST diff --git a/contrib/mandoc/regress/char/unicode/latin1.out_utf8 b/contrib/mandoc/regress/char/unicode/latin1.out_utf8 new file mode 100644 index 00000000000..b9f1ad85ea9 --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/latin1.out_utf8 @@ -0,0 +1,98 @@ +CHAR-UNICODE-LATIN1(1) General Commands Manual CHAR-UNICODE-LATIN1(1) + + + +NNAAMMEE + char-unicode-latin1 - Unicode characters in the ISO-8859-1 range + +DDEESSCCRRIIPPTTIIOONN + BEGINTEST + ¢¢ CENT SIGN + ¤¤ CURRENCY SIGN + ¥¥ YEN SIGN + ¦¦ BROKEN BAR + ¨¨ DIAERESIS + ©© COPYRIGHT SIGN + ªª FEMININE ORDINAL INDICATOR + «« LEFT-POINTING DOUBLE ANGLE QUOTATION MARK + ¬¬¬ NOT SIGN + ­ SOFT HYPHEN + ®® REGISTERED SIGN + ±±± PLUS-MINUS SIGN + ²² SUPERSCRIPT TWO + ³³ SUPERSCRIPT THREE + ´´´ ACUTE ACCENT + µµ MICRO SIGN + ·· MIDDLE DOT + ¸¸ CEDILLA + ¹¹ SUPERSCRIPT ONE + ºº MASCULINE ORDINAL INDICATOR + »» RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK + ¼¼ VULGAR FRACTION ONE QUARTER + ½½ VULGAR FRACTION ONE HALF + ¾¾ VULGAR FRACTION THREE QUARTERS + ÀÀ LATIN CAPITAL LETTER A WITH GRAVE + ÁÁ LATIN CAPITAL LETTER A WITH ACUTE +  LATIN CAPITAL LETTER A WITH CIRCUMFLEX + Ãà LATIN CAPITAL LETTER A WITH TILDE + ÄÄ LATIN CAPITAL LETTER A WITH DIAERESIS + ÅÅ LATIN CAPITAL LETTER A WITH RING ABOVE + ÆÆ LATIN CAPITAL LETTER AE + ÇÇ LATIN CAPITAL LETTER C WITH CEDILLA + ÈÈ LATIN CAPITAL LETTER E WITH GRAVE + ÉÉ LATIN CAPITAL LETTER E WITH ACUTE + ÊÊ LATIN CAPITAL LETTER E WITH CIRCUMFLEX + ËË LATIN CAPITAL LETTER E WITH DIAERESIS + ÌÌ LATIN CAPITAL LETTER I WITH GRAVE + ÍÍ LATIN CAPITAL LETTER I WITH ACUTE + ÎÎ LATIN CAPITAL LETTER I WITH CIRCUMFLEX + ÏÏ LATIN CAPITAL LETTER I WITH DIAERESIS + ÐÐ LATIN CAPITAL LETTER ETH + ÑÑ LATIN CAPITAL LETTER N WITH TILDE + ÒÒ LATIN CAPITAL LETTER O WITH GRAVE + ÓÓ LATIN CAPITAL LETTER O WITH ACUTE + ÔÔ LATIN CAPITAL LETTER O WITH CIRCUMFLEX + ÕÕ LATIN CAPITAL LETTER O WITH TILDE + ÖÖ LATIN CAPITAL LETTER O WITH DIAERESIS + ××× MULTIPLICATION SIGN + ØØ LATIN CAPITAL LETTER O WITH STROKE + ÙÙ LATIN CAPITAL LETTER U WITH GRAVE + ÚÚ LATIN CAPITAL LETTER U WITH ACUTE + ÛÛ LATIN CAPITAL LETTER U WITH CIRCUMFLEX + ÜÜ LATIN CAPITAL LETTER U WITH DIAERESIS + Ý LATIN CAPITAL LETTER Y WITH ACUTE + àà LATIN SMALL LETTER A WITH GRAVE + áá LATIN SMALL LETTER A WITH ACUTE + ââ LATIN SMALL LETTER A WITH CIRCUMFLEX + ãã LATIN SMALL LETTER A WITH TILDE + ää LATIN SMALL LETTER A WITH DIAERESIS + åå LATIN SMALL LETTER A WITH RING ABOVE + ææ LATIN SMALL LETTER AE + çç LATIN SMALL LETTER C WITH CEDILLA + èè LATIN SMALL LETTER E WITH GRAVE + éé LATIN SMALL LETTER E WITH ACUTE + êê LATIN SMALL LETTER E WITH CIRCUMFLEX + ëë LATIN SMALL LETTER E WITH DIAERESIS + ìì LATIN SMALL LETTER I WITH GRAVE + íí LATIN SMALL LETTER I WITH ACUTE + îî LATIN SMALL LETTER I WITH CIRCUMFLEX + ïï LATIN SMALL LETTER I WITH DIAERESIS + ññ LATIN SMALL LETTER N WITH TILDE + òò LATIN SMALL LETTER O WITH GRAVE + óó LATIN SMALL LETTER O WITH ACUTE + ôô LATIN SMALL LETTER O WITH CIRCUMFLEX + õõ LATIN SMALL LETTER O WITH TILDE + öö LATIN SMALL LETTER O WITH DIAERESIS + ÷÷÷ DIVISION SIGN + øø LATIN SMALL LETTER O WITH STROKE + ùù LATIN SMALL LETTER U WITH GRAVE + úú LATIN SMALL LETTER U WITH ACUTE + ûû LATIN SMALL LETTER U WITH CIRCUMFLEX + üü LATIN SMALL LETTER U WITH DIAERESIS + ý LATIN SMALL LETTER Y WITH ACUTE + ÿÿ LATIN SMALL LETTER Y WITH DIAERESIS + ENDTEST + + + +OpenBSD October 27, 2014 CHAR-UNICODE-LATIN1(1) diff --git a/contrib/mandoc/regress/char/unicode/latin1diff.in b/contrib/mandoc/regress/char/unicode/latin1diff.in new file mode 100644 index 00000000000..6455a1efb26 --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/latin1diff.in @@ -0,0 +1,20 @@ +.\" $OpenBSD: latin1diff.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH CHAR-UNICODE-LATIN1DIFF 1 "October 27, 2014" +.SH NAME +char-unicode-latin1diff \- Unicode characters in the ISO-8859-1 range +.SH DESCRIPTION +.nf +BEGINTEST +\[u00A1]\(r! INVERTED EXCLAMATION MARK +\[u00A3]\(Po POUND SIGN +\[u00A7]\(sc SECTION SIGN +\[u00AF]\(a- MACRON +\[u00B0]\(de DEGREE SIGN +\[u00B6]\(ps PILCROW SIGN +\[u00BF]\(r? INVERTED QUESTION MARK +\[u00DE]\(TP LATIN CAPITAL LETTER THORN +\[u00DF]\(ss LATIN SMALL LETTER SHARP S +\[u00F0]\(Sd LATIN SMALL LETTER ETH +\[u00FE]\(Tp LATIN SMALL LETTER THORN +ENDTEST +.fi diff --git a/contrib/mandoc/regress/char/unicode/latin1diff.out_ascii b/contrib/mandoc/regress/char/unicode/latin1diff.out_ascii new file mode 100644 index 00000000000..94095dd908f --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/latin1diff.out_ascii @@ -0,0 +1,25 @@ +CHAR-UNICODE-LATIN1DIFF(1) General Commands Manual CHAR-UNICODE-LATIN1DIFF(1) + + + +NNAAMMEE + char-unicode-latin1diff - Unicode characters in the ISO-8859-1 range + +DDEESSCCRRIIPPTTIIOONN + BEGINTEST + !! INVERTED EXCLAMATION MARK + GBPGBP POUND SIGN + SECTION SIGN + -- MACRON + DEGREE SIGN + PILCROW SIGN + ?? INVERTED QUESTION MARK + ThTh LATIN CAPITAL LETTER THORN + ssss LATIN SMALL LETTER SHARP S + dd LATIN SMALL LETTER ETH + thth LATIN SMALL LETTER THORN + ENDTEST + + + +OpenBSD October 27, 2014 CHAR-UNICODE-LATIN1DIFF(1) diff --git a/contrib/mandoc/regress/char/unicode/latin1diff.out_html b/contrib/mandoc/regress/char/unicode/latin1diff.out_html new file mode 100644 index 00000000000..1907071369a --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/latin1diff.out_html @@ -0,0 +1,13 @@ +BEGINTEST +¡¡ INVERTED EXCLAMATION MARK +££ POUND SIGN +§§ SECTION SIGN +¯¯ MACRON +°° DEGREE SIGN +¶¶ PILCROW SIGN +¿¿ INVERTED QUESTION MARK +ÞÞ LATIN CAPITAL LETTER THORN +ßß LATIN SMALL LETTER SHARP S +ðð LATIN SMALL LETTER ETH +þþ LATIN SMALL LETTER THORN +ENDTEST diff --git a/contrib/mandoc/regress/char/unicode/latin1diff.out_utf8 b/contrib/mandoc/regress/char/unicode/latin1diff.out_utf8 new file mode 100644 index 00000000000..58bb0c08efd --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/latin1diff.out_utf8 @@ -0,0 +1,25 @@ +CHAR-UNICODE-LATIN1DIFF(1) General Commands Manual CHAR-UNICODE-LATIN1DIFF(1) + + + +NNAAMMEE + char-unicode-latin1diff - Unicode characters in the ISO-8859-1 range + +DDEESSCCRRIIPPTTIIOONN + BEGINTEST + ¡¡ INVERTED EXCLAMATION MARK + ££ POUND SIGN + §§ SECTION SIGN + ¯¯ MACRON + °° DEGREE SIGN + ¶¶ PILCROW SIGN + ¿¿ INVERTED QUESTION MARK + ÞÞ LATIN CAPITAL LETTER THORN + ßß LATIN SMALL LETTER SHARP S + ðð LATIN SMALL LETTER ETH + þþ LATIN SMALL LETTER THORN + ENDTEST + + + +OpenBSD October 27, 2014 CHAR-UNICODE-LATIN1DIFF(1) diff --git a/contrib/mandoc/regress/char/unicode/man.in b/contrib/mandoc/regress/char/unicode/man.in new file mode 100644 index 00000000000..d5102fd9ee8 --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/man.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: man.in,v 1.4 2017/07/04 14:53:23 schwarze Exp $ +.TH CHAR-UNICODE-MAN 1 "October 13, 2014" +.SH NAME +char-unicode-mdoc \- unicode characters in man code +.SH DESCRIPTION +Copyright symbol: \[u00A9] = \C'u00A9' +.PP +m-dash: \[u2014] = \C'u2014' +.PP +nabla: \[u1D6C1] = \C'u1D6C1' +.PP +not really Unicode: +up arrows: \(ua\(uA = \[ua]\[uA] = \C'ua'\C'uA' diff --git a/contrib/mandoc/regress/char/unicode/man.out_utf8 b/contrib/mandoc/regress/char/unicode/man.out_utf8 new file mode 100644 index 00000000000..8ed9d2ee783 --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/man.out_utf8 @@ -0,0 +1,19 @@ +CHAR-UNICODE-MAN(1) General Commands Manual CHAR-UNICODE-MAN(1) + + + +NNAAMMEE + char-unicode-mdoc - unicode characters in man code + +DDEESSCCRRIIPPTTIIOONN + Copyright symbol: © = © + + m-dash: — = — + + nabla: 𝛁 = 𝛁 + + not really Unicode: up arrows: ↑⇑ = ↑⇑ = ↑⇑ + + + +OpenBSD October 13, 2014 CHAR-UNICODE-MAN(1) diff --git a/contrib/mandoc/regress/char/unicode/mdoc.in b/contrib/mandoc/regress/char/unicode/mdoc.in new file mode 100644 index 00000000000..d9adc3d9f93 --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/mdoc.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: mdoc.in,v 1.4 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt CHAR-UNICODE-MDOC 1 +.Os +.Sh NAME +.Nm char-unicode-mdoc +.Nd unicode characters in mdoc code +.Sh DESCRIPTION +Copyright symbol: \[u00A9] = \C'u00A9' +.Pp +m-dash: \[u2014] = \C'u2014' +.Pp +nabla: \[u1D6C1] = \C'u1D6C1' +.Pp +not really Unicode: +up arrows: \(ua\(uA = \[ua]\[uA] = \C'ua'\C'uA' diff --git a/contrib/mandoc/regress/char/unicode/mdoc.out_utf8 b/contrib/mandoc/regress/char/unicode/mdoc.out_utf8 new file mode 100644 index 00000000000..23b476069ac --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/mdoc.out_utf8 @@ -0,0 +1,15 @@ +CHAR-UNICODE-MDOC(1) General Commands Manual CHAR-UNICODE-MDOC(1) + +NNAAMMEE + cchhaarr--uunniiccooddee--mmddoocc – unicode characters in mdoc code + +DDEESSCCRRIIPPTTIIOONN + Copyright symbol: © = © + + m-dash: — = — + + nabla: 𝛁 = 𝛁 + + not really Unicode: up arrows: ↑⇑ = ↑⇑ = ↑⇑ + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/char/unicode/named.in b/contrib/mandoc/regress/char/unicode/named.in new file mode 100644 index 00000000000..cfc87139f1d --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/named.in @@ -0,0 +1,161 @@ +.\" $OpenBSD: named.in,v 1.7 2017/07/04 14:53:23 schwarze Exp $ +.TH CHAR-UNICODE-NAMED 1 "October 27, 2014" +.SH NAME +char-unicode-named \- Unicode characters having named escapes +.SH DESCRIPTION +.nf +BEGINTEST +\[u0131]\(.i LATIN SMALL LETTER DOTLESS I +\[u0132]\(IJ LATIN CAPITAL LIGATURE IJ +\[u0133]\(ij LATIN SMALL LIGATURE IJ +\[u0141]\(/L LATIN CAPITAL LETTER L WITH STROKE +\[u0142]\(/l LATIN SMALL LETTER L WITH STROKE +\[u0152]\(OE LATIN CAPITAL LIGATURE OE +\[u0153]\(oe LATIN SMALL LIGATURE OE +\[u0192]\(Fn LATIN SMALL LETTER F WITH HOOK +\[u02C7]\(ah CARON +\[u02D8]\(ab BREVE +\[u02DA]\(ao RING ABOVE +\[u02DB]\(ho OGONEK +\[u02DD]\(a" DOUBLE ACUTE ACCENT +\[u0391]\(*A GREEK CAPITAL LETTER ALPHA +\[u0392]\(*B GREEK CAPITAL LETTER BETA +\[u0394]\(*D GREEK CAPITAL LETTER DELTA +\[u0395]\(*E GREEK CAPITAL LETTER EPSILON +\[u0396]\(*Z GREEK CAPITAL LETTER ZETA +\[u0397]\(*Y GREEK CAPITAL LETTER ETA +\[u0398]\(*H GREEK CAPITAL LETTER THETA +\[u0399]\(*I GREEK CAPITAL LETTER IOTA +\[u039A]\(*K GREEK CAPITAL LETTER KAPPA +\[u039B]\(*L GREEK CAPITAL LETTER LAMDA +\[u039C]\(*M GREEK CAPITAL LETTER MU +\[u039D]\(*N GREEK CAPITAL LETTER NU +\[u039E]\(*C GREEK CAPITAL LETTER XI +\[u039F]\(*O GREEK CAPITAL LETTER OMICRON +\[u03A0]\(*P GREEK CAPITAL LETTER PI +\[u03A1]\(*R GREEK CAPITAL LETTER RHO +\[u03A4]\(*T GREEK CAPITAL LETTER TAU +\[u03A5]\(*U GREEK CAPITAL LETTER UPSILON +\[u03A6]\(*F GREEK CAPITAL LETTER PHI +\[u03A7]\(*X GREEK CAPITAL LETTER CHI +\[u03A8]\(*Q GREEK CAPITAL LETTER PSI +\[u03A9]\(*W GREEK CAPITAL LETTER OMEGA +\[u03B1]\(*a GREEK SMALL LETTER ALPHA +\[u03B2]\(*b GREEK SMALL LETTER BETA +\[u03B3]\(*g GREEK SMALL LETTER GAMMA +\[u03B4]\(*d GREEK SMALL LETTER DELTA +\[u03B5]\(*e GREEK SMALL LETTER EPSILON +\[u03B6]\(*z GREEK SMALL LETTER ZETA +\[u03B7]\(*y GREEK SMALL LETTER ETA +\[u03B8]\(*h GREEK SMALL LETTER THETA +\[u03B9]\(*i GREEK SMALL LETTER IOTA +\[u03BA]\(*k GREEK SMALL LETTER KAPPA +\[u03BB]\(*l GREEK SMALL LETTER LAMDA +\[u03BC]\(*m GREEK SMALL LETTER MU +\[u03BD]\(*n GREEK SMALL LETTER NU +\[u03BE]\(*c GREEK SMALL LETTER XI +\[u03BF]\(*o GREEK SMALL LETTER OMICRON +\[u03C0]\(*p GREEK SMALL LETTER PI +\[u03C1]\(*r GREEK SMALL LETTER RHO +\[u03C2]\(ts GREEK SMALL LETTER FINAL SIGMA +\[u03C3]\(*s GREEK SMALL LETTER SIGMA +\[u03C4]\(*t GREEK SMALL LETTER TAU +\[u03C5]\(*u GREEK SMALL LETTER UPSILON +\[u03C6]\(+f GREEK SMALL LETTER PHI +\[u03C7]\(*x GREEK SMALL LETTER CHI +\[u03C8]\(*q GREEK SMALL LETTER PSI +\[u03C9]\(*w GREEK SMALL LETTER OMEGA +\[u03D1]\(+h GREEK THETA SYMBOL +\[u03D5]\(*f GREEK PHI SYMBOL +\[u03D6]\(+p GREEK PI SYMBOL +\[u03F5]\(+e GREEK LUNATE EPSILON SYMBOL +\[u2010]\(hy HYPHEN +\[u2013]\(en EN DASH +\[u2014]\(em EM DASH +\[u2018]\(oq LEFT SINGLE QUOTATION MARK +\[u2019]\(cq RIGHT SINGLE QUOTATION MARK +\[u201A]\(bq SINGLE LOW-9 QUOTATION MARK +\[u201C]\(lq LEFT DOUBLE QUOTATION MARK +\[u201D]\(rq RIGHT DOUBLE QUOTATION MARK +\[u201E]\(Bq DOUBLE LOW-9 QUOTATION MARK +\[u2020]\(dg DAGGER +\[u2021]\(dd DOUBLE DAGGER +\[u2022]\(bu BULLET +\[u2030]\(%0 PER MILLE SIGN +\[u2032]\(fm PRIME +\[u2033]\(sd DOUBLE PRIME +\[u2039]\(fo SINGLE LEFT-POINTING ANGLE QUOTATION MARK +\[u203A]\(fc SINGLE RIGHT-POINTING ANGLE QUOTATION MARK +\[u2044]\(f/ FRACTION SLASH +\[u20AC]\(Eu\(eu EURO SIGN +\[u2111]\(Im BLACK-LETTER CAPITAL I +\[u211C]\(Re BLACK-LETTER CAPITAL R +\[u2122]\(tm TRADE MARK SIGN +\[u2135]\(Ah ALEF SYMBOL +\[u215B]\(18 VULGAR FRACTION ONE EIGHTH +\[u215C]\(38 VULGAR FRACTION THREE EIGHTHS +\[u215D]\(58 VULGAR FRACTION FIVE EIGHTHS +\[u215E]\(78 VULGAR FRACTION SEVEN EIGHTHS +\[u2190]\(<- LEFTWARDS ARROW +\[u2191]\(ua UPWARDS ARROW +\[u2192]\(-> RIGHTWARDS ARROW +\[u2193]\(da DOWNWARDS ARROW +\[u2194]\(<> LEFT RIGHT ARROW +\[u21B5]\(CR DOWNWARDS ARROW WITH CORNER LEFTWARDS +\[u21D0]\(lA LEFTWARDS DOUBLE ARROW +\[u21D1]\(uA UPWARDS DOUBLE ARROW +\[u21D2]\(rA RIGHTWARDS DOUBLE ARROW +\[u21D3]\(dA DOWNWARDS DOUBLE ARROW +\[u21D4]\(hA LEFT RIGHT DOUBLE ARROW +\[u2200]\(fa FOR ALL +\[u2202]\(pd PARTIAL DIFFERENTIAL +\[u2203]\(te THERE EXISTS +\[u2205]\(es EMPTY SET +\[u2208]\(mo ELEMENT OF +\[u220B]\(st CONTAINS AS MEMBER +\[u2212]\(mi MINUS SIGN +\[u2213]\(-+ MINUS-OR-PLUS SIGN +\[u2217]\(** ASTERISK OPERATOR +\[u221A]\(sr SQUARE ROOT +\[u221D]\(pt PROPORTIONAL TO +\[u221E]\(if INFINITY +\[u2220]\(/_ ANGLE +\[u2227]\(AN LOGICAL AND +\[u2228]\(OR LOGICAL OR +\[u2229]\(ca INTERSECTION +\[u222A]\(cu UNION +\[u222B]\(is INTEGRAL +\[u2234]\(tf\(3d THEREFORE +\[u223C]\(ap TILDE OPERATOR +\[u2243]\(|= ASYMPTOTICALLY EQUAL TO +\[u2245]\(=~ APPROXIMATELY EQUAL TO +\[u2248]\(~~\(~= ALMOST EQUAL TO +\[u2260]\(!= NOT EQUAL TO +\[u2261]\(== IDENTICAL TO +\[u2262]\(ne NOT IDENTICAL TO +\[u2264]\(<= LESS-THAN OR EQUAL TO +\[u2265]\(>= GREATER-THAN OR EQUAL TO +\[u2282]\(sb SUBSET OF +\[u2283]\(sp SUPERSET OF +\[u2286]\(ib SUBSET OF OR EQUAL TO +\[u2287]\(ip SUPERSET OF OR EQUAL TO +\[u2295]\(c+ CIRCLED PLUS +\[u2297]\(c* CIRCLED TIMES +\[u22A5]\(pp UP TACK +\[u22C5]\(md DOT OPERATOR +\[u2308]\(lc LEFT CEILING +\[u2309]\(rc RIGHT CEILING +\[u230A]\(lf LEFT FLOOR +\[u230B]\(rf RIGHT FLOOR +\[u23AA]\(bv CURLY BRACKET EXTENSION +\[u23AF]\(an HORIZONTAL LINE EXTENSION +\[u2502]\(br BOX DRAWINGS LIGHT VERTICAL +\[u25A1]\(sq WHITE SQUARE +\[u25CA]\(lz LOZENGE +\[u25CB]\(ci WHITE CIRCLE +\[u261C]\(lh WHITE LEFT POINTING INDEX +\[u261E]\(rh WHITE RIGHT POINTING INDEX +\[u27E8]\(la MATHEMATICAL LEFT ANGLE BRACKET +\[u27E9]\(ra MATHEMATICAL RIGHT ANGLE BRACKET +ENDTEST +.fi diff --git a/contrib/mandoc/regress/char/unicode/named.out_ascii b/contrib/mandoc/regress/char/unicode/named.out_ascii new file mode 100644 index 00000000000..b527ad13ceb --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/named.out_ascii @@ -0,0 +1,166 @@ +CHAR-UNICODE-NAMED(1) General Commands Manual CHAR-UNICODE-NAMED(1) + + + +NNAAMMEE + char-unicode-named - Unicode characters having named escapes + +DDEESSCCRRIIPPTTIIOONN + BEGINTEST + ii LATIN SMALL LETTER DOTLESS I + IJIJ LATIN CAPITAL LIGATURE IJ + ijij LATIN SMALL LIGATURE IJ + /L/L LATIN CAPITAL LETTER L WITH STROKE + /l/l LATIN SMALL LETTER L WITH STROKE + OEOE LATIN CAPITAL LIGATURE OE + oeoe LATIN SMALL LIGATURE OE + ,f,f LATIN SMALL LETTER F WITH HOOK + vv CARON + '`'` BREVE + oo RING ABOVE + ,, OGONEK + "" DOUBLE ACUTE ACCENT + AA GREEK CAPITAL LETTER ALPHA + BB GREEK CAPITAL LETTER BETA + _/_\_/_\ GREEK CAPITAL LETTER DELTA + EE GREEK CAPITAL LETTER EPSILON + ZZ GREEK CAPITAL LETTER ZETA + HH GREEK CAPITAL LETTER ETA + -O-O GREEK CAPITAL LETTER THETA + II GREEK CAPITAL LETTER IOTA + KK GREEK CAPITAL LETTER KAPPA + /\/\ GREEK CAPITAL LETTER LAMDA + MM GREEK CAPITAL LETTER MU + NN GREEK CAPITAL LETTER NU + _H_H GREEK CAPITAL LETTER XI + OO GREEK CAPITAL LETTER OMICRON + TTTT GREEK CAPITAL LETTER PI + PP GREEK CAPITAL LETTER RHO + TT GREEK CAPITAL LETTER TAU + YY GREEK CAPITAL LETTER UPSILON + IOIO GREEK CAPITAL LETTER PHI + XX GREEK CAPITAL LETTER CHI + IYIY GREEK CAPITAL LETTER PSI + _O_O GREEK CAPITAL LETTER OMEGA + aa GREEK SMALL LETTER ALPHA + BB GREEK SMALL LETTER BETA + yy GREEK SMALL LETTER GAMMA + dd GREEK SMALL LETTER DELTA + ee GREEK SMALL LETTER EPSILON + ,C,C GREEK SMALL LETTER ZETA + nn GREEK SMALL LETTER ETA + -0-0 GREEK SMALL LETTER THETA + ii GREEK SMALL LETTER IOTA + kk GREEK SMALL LETTER KAPPA + >\>\ GREEK SMALL LETTER LAMDA + ,u,u GREEK SMALL LETTER MU + vv GREEK SMALL LETTER NU + ,E,E GREEK SMALL LETTER XI + oo GREEK SMALL LETTER OMICRON + -n-n GREEK SMALL LETTER PI + pp GREEK SMALL LETTER RHO + ss GREEK SMALL LETTER FINAL SIGMA + -o-o GREEK SMALL LETTER SIGMA + ~t~t GREEK SMALL LETTER TAU + uu GREEK SMALL LETTER UPSILON + |o|o GREEK SMALL LETTER PHI + xx GREEK SMALL LETTER CHI + |u|u GREEK SMALL LETTER PSI + ww GREEK SMALL LETTER OMEGA + -0-0 GREEK THETA SYMBOL + |o|o GREEK PHI SYMBOL + -w-w GREEK PI SYMBOL + ee GREEK LUNATE EPSILON SYMBOL + -- HYPHEN + -- EN DASH + ---- EM DASH + `` LEFT SINGLE QUOTATION MARK + '' RIGHT SINGLE QUOTATION MARK + ,, SINGLE LOW-9 QUOTATION MARK + "" LEFT DOUBLE QUOTATION MARK + "" RIGHT DOUBLE QUOTATION MARK + ,,,, DOUBLE LOW-9 QUOTATION MARK + |-|- DAGGER + |=|= DOUBLE DAGGER + +o+o BULLET + %o%o PER MILLE SIGN + '' PRIME + '''' DOUBLE PRIME + << SINGLE LEFT-POINTING ANGLE QUOTATION MARK + >> SINGLE RIGHT-POINTING ANGLE QUOTATION MARK + // FRACTION SLASH + EUREUREUR EURO SIGN + II BLACK-LETTER CAPITAL I + RR BLACK-LETTER CAPITAL R + tmtm TRADE MARK SIGN + NN ALEF SYMBOL + 1/81/8 VULGAR FRACTION ONE EIGHTH + 3/83/8 VULGAR FRACTION THREE EIGHTHS + 5/85/8 VULGAR FRACTION FIVE EIGHTHS + 7/87/8 VULGAR FRACTION SEVEN EIGHTHS + <-<- LEFTWARDS ARROW + |^|^ UPWARDS ARROW + ->-> RIGHTWARDS ARROW + |v|v DOWNWARDS ARROW + <-><-> LEFT RIGHT ARROW + _|_| DOWNWARDS ARROW WITH CORNER LEFTWARDS + <=<= LEFTWARDS DOUBLE ARROW + =^=^ UPWARDS DOUBLE ARROW + =>=> RIGHTWARDS DOUBLE ARROW + =v=v DOWNWARDS DOUBLE ARROW + <=><=> LEFT RIGHT DOUBLE ARROW + -V-V FOR ALL + aa PARTIAL DIFFERENTIAL + 33 THERE EXISTS + {}{} EMPTY SET + EE ELEMENT OF + -)-) CONTAINS AS MEMBER + -- MINUS SIGN + -+-+ MINUS-OR-PLUS SIGN + ** ASTERISK OPERATOR + \/\/ SQUARE ROOT + ococ PROPORTIONAL TO + oooo INFINITY + _/_/ ANGLE + ^^ LOGICAL AND + vv LOGICAL OR + (^)(^) INTERSECTION + UU UNION + ',I',I INTEGRAL + .:..:..:. THEREFORE + ~~ TILDE OPERATOR + -~-~ ASYMPTOTICALLY EQUAL TO + =~=~ APPROXIMATELY EQUAL TO + ~~~~~= ALMOST EQUAL TO + !=!= NOT EQUAL TO + ==== IDENTICAL TO + !==!== NOT IDENTICAL TO + <=<= LESS-THAN OR EQUAL TO + >=>= GREATER-THAN OR EQUAL TO + (=(= SUBSET OF + =)=) SUPERSET OF + (=_(=_ SUBSET OF OR EQUAL TO + =_)=_) SUPERSET OF OR EQUAL TO + O+O+ CIRCLED PLUS + OxOx CIRCLED TIMES + _|_| UP TACK + .. DOT OPERATOR + |~|~ LEFT CEILING + ~|~| RIGHT CEILING + |_|_ LEFT FLOOR + _|_| RIGHT FLOOR + || CURLY BRACKET EXTENSION + -- HORIZONTAL LINE EXTENSION + || BOX DRAWINGS LIGHT VERTICAL + [][] WHITE SQUARE + <><> LOZENGE + OO WHITE CIRCLE + <=<= WHITE LEFT POINTING INDEX + =>=> WHITE RIGHT POINTING INDEX + << MATHEMATICAL LEFT ANGLE BRACKET + >> MATHEMATICAL RIGHT ANGLE BRACKET + ENDTEST + + + +OpenBSD October 27, 2014 CHAR-UNICODE-NAMED(1) diff --git a/contrib/mandoc/regress/char/unicode/named.out_html b/contrib/mandoc/regress/char/unicode/named.out_html new file mode 100644 index 00000000000..e8368088556 --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/named.out_html @@ -0,0 +1,154 @@ +BEGINTEST +ıı LATIN SMALL LETTER DOTLESS I +IJIJ LATIN CAPITAL LIGATURE IJ +ijij LATIN SMALL LIGATURE IJ +ŁŁ LATIN CAPITAL LETTER L WITH STROKE +łł LATIN SMALL LETTER L WITH STROKE +ŒŒ LATIN CAPITAL LIGATURE OE +œœ LATIN SMALL LIGATURE OE +ƒƒ LATIN SMALL LETTER F WITH HOOK +ˇˇ CARON +˘˘ BREVE +˚˚ RING ABOVE +˛˛ OGONEK +˝˝ DOUBLE ACUTE ACCENT +ΑΑ GREEK CAPITAL LETTER ALPHA +ΒΒ GREEK CAPITAL LETTER BETA +ΔΔ GREEK CAPITAL LETTER DELTA +ΕΕ GREEK CAPITAL LETTER EPSILON +ΖΖ GREEK CAPITAL LETTER ZETA +ΗΗ GREEK CAPITAL LETTER ETA +ΘΘ GREEK CAPITAL LETTER THETA +ΙΙ GREEK CAPITAL LETTER IOTA +ΚΚ GREEK CAPITAL LETTER KAPPA +ΛΛ GREEK CAPITAL LETTER LAMDA +ΜΜ GREEK CAPITAL LETTER MU +ΝΝ GREEK CAPITAL LETTER NU +ΞΞ GREEK CAPITAL LETTER XI +ΟΟ GREEK CAPITAL LETTER OMICRON +ΠΠ GREEK CAPITAL LETTER PI +ΡΡ GREEK CAPITAL LETTER RHO +ΤΤ GREEK CAPITAL LETTER TAU +ΥΥ GREEK CAPITAL LETTER UPSILON +ΦΦ GREEK CAPITAL LETTER PHI +ΧΧ GREEK CAPITAL LETTER CHI +ΨΨ GREEK CAPITAL LETTER PSI +ΩΩ GREEK CAPITAL LETTER OMEGA +αα GREEK SMALL LETTER ALPHA +ββ GREEK SMALL LETTER BETA +γγ GREEK SMALL LETTER GAMMA +δδ GREEK SMALL LETTER DELTA +εε GREEK SMALL LETTER EPSILON +ζζ GREEK SMALL LETTER ZETA +ηη GREEK SMALL LETTER ETA +θθ GREEK SMALL LETTER THETA +ιι GREEK SMALL LETTER IOTA +κκ GREEK SMALL LETTER KAPPA +λλ GREEK SMALL LETTER LAMDA +μμ GREEK SMALL LETTER MU +νν GREEK SMALL LETTER NU +ξξ GREEK SMALL LETTER XI +οο GREEK SMALL LETTER OMICRON +ππ GREEK SMALL LETTER PI +ρρ GREEK SMALL LETTER RHO +ςς GREEK SMALL LETTER FINAL SIGMA +σσ GREEK SMALL LETTER SIGMA +ττ GREEK SMALL LETTER TAU +υυ GREEK SMALL LETTER UPSILON +φφ GREEK SMALL LETTER PHI +χχ GREEK SMALL LETTER CHI +ψψ GREEK SMALL LETTER PSI +ωω GREEK SMALL LETTER OMEGA +ϑϑ GREEK THETA SYMBOL +ϕϕ GREEK PHI SYMBOL +ϖϖ GREEK PI SYMBOL +ϵϵ GREEK LUNATE EPSILON SYMBOL +‐‐ HYPHEN +–– EN DASH +—— EM DASH +‘‘ LEFT SINGLE QUOTATION MARK +’’ RIGHT SINGLE QUOTATION MARK +‚‚ SINGLE LOW-9 QUOTATION MARK +““ LEFT DOUBLE QUOTATION MARK +”” RIGHT DOUBLE QUOTATION MARK +„„ DOUBLE LOW-9 QUOTATION MARK +†† DAGGER +‡‡ DOUBLE DAGGER +•• BULLET +‰‰ PER MILLE SIGN +′′ PRIME +″″ DOUBLE PRIME +‹‹ SINGLE LEFT-POINTING ANGLE QUOTATION MARK +›› SINGLE RIGHT-POINTING ANGLE QUOTATION MARK +⁄⁄ FRACTION SLASH +€€€ EURO SIGN +ℑℑ BLACK-LETTER CAPITAL I +ℜℜ BLACK-LETTER CAPITAL R +™™ TRADE MARK SIGN +ℵℵ ALEF SYMBOL +⅛⅛ VULGAR FRACTION ONE EIGHTH +⅜⅜ VULGAR FRACTION THREE EIGHTHS +⅝⅝ VULGAR FRACTION FIVE EIGHTHS +⅞⅞ VULGAR FRACTION SEVEN EIGHTHS +←← LEFTWARDS ARROW +↑↑ UPWARDS ARROW +→→ RIGHTWARDS ARROW +↓↓ DOWNWARDS ARROW +↔↔ LEFT RIGHT ARROW +↵↵ DOWNWARDS ARROW WITH CORNER LEFTWARDS +⇐⇐ LEFTWARDS DOUBLE ARROW +⇑⇑ UPWARDS DOUBLE ARROW +⇒⇒ RIGHTWARDS DOUBLE ARROW +⇓⇓ DOWNWARDS DOUBLE ARROW +⇔⇔ LEFT RIGHT DOUBLE ARROW +∀∀ FOR ALL +∂∂ PARTIAL DIFFERENTIAL +∃∃ THERE EXISTS +∅∅ EMPTY SET +∈∈ ELEMENT OF +∋∋ CONTAINS AS MEMBER +−− MINUS SIGN +∓∓ MINUS-OR-PLUS SIGN +∗∗ ASTERISK OPERATOR +√√ SQUARE ROOT +∝∝ PROPORTIONAL TO +∞∞ INFINITY +∠∠ ANGLE +∧∧ LOGICAL AND +∨∨ LOGICAL OR +∩∩ INTERSECTION +∪∪ UNION +∫∫ INTEGRAL +∴∴∴ THEREFORE +∼∼ TILDE OPERATOR +≃≃ ASYMPTOTICALLY EQUAL TO +≅≅ APPROXIMATELY EQUAL TO +≈≈≈ ALMOST EQUAL TO +≠≠ NOT EQUAL TO +≡≡ IDENTICAL TO +≢≢ NOT IDENTICAL TO +≤≤ LESS-THAN OR EQUAL TO +≥≥ GREATER-THAN OR EQUAL TO +⊂⊂ SUBSET OF +⊃⊃ SUPERSET OF +⊆⊆ SUBSET OF OR EQUAL TO +⊇⊇ SUPERSET OF OR EQUAL TO +⊕⊕ CIRCLED PLUS +⊗⊗ CIRCLED TIMES +⊥⊥ UP TACK +⋅⋅ DOT OPERATOR +⌈⌈ LEFT CEILING +⌉⌉ RIGHT CEILING +⌊⌊ LEFT FLOOR +⌋⌋ RIGHT FLOOR +⎪⎪ CURLY BRACKET EXTENSION +⎯⎯ HORIZONTAL LINE EXTENSION +││ BOX DRAWINGS LIGHT VERTICAL +□□ WHITE SQUARE +◊◊ LOZENGE +○○ WHITE CIRCLE +☜☜ WHITE LEFT POINTING INDEX +☞☞ WHITE RIGHT POINTING INDEX +⟨⟨ MATHEMATICAL LEFT ANGLE BRACKET +⟩⟩ MATHEMATICAL RIGHT ANGLE BRACKET +ENDTEST diff --git a/contrib/mandoc/regress/char/unicode/named.out_utf8 b/contrib/mandoc/regress/char/unicode/named.out_utf8 new file mode 100644 index 00000000000..24910b81c15 --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/named.out_utf8 @@ -0,0 +1,166 @@ +CHAR-UNICODE-NAMED(1) General Commands Manual CHAR-UNICODE-NAMED(1) + + + +NNAAMMEE + char-unicode-named - Unicode characters having named escapes + +DDEESSCCRRIIPPTTIIOONN + BEGINTEST + ıı LATIN SMALL LETTER DOTLESS I + IJIJ LATIN CAPITAL LIGATURE IJ + ijij LATIN SMALL LIGATURE IJ + ŁŁ LATIN CAPITAL LETTER L WITH STROKE + łł LATIN SMALL LETTER L WITH STROKE + ŒŒ LATIN CAPITAL LIGATURE OE + œœ LATIN SMALL LIGATURE OE + ƒƒ LATIN SMALL LETTER F WITH HOOK + ˇˇ CARON + ˘˘ BREVE + ˚˚ RING ABOVE + ˛˛ OGONEK + ˝˝ DOUBLE ACUTE ACCENT + ΑΑ GREEK CAPITAL LETTER ALPHA + ΒΒ GREEK CAPITAL LETTER BETA + ΔΔ GREEK CAPITAL LETTER DELTA + ΕΕ GREEK CAPITAL LETTER EPSILON + ΖΖ GREEK CAPITAL LETTER ZETA + ΗΗ GREEK CAPITAL LETTER ETA + ΘΘ GREEK CAPITAL LETTER THETA + ΙΙ GREEK CAPITAL LETTER IOTA + ΚΚ GREEK CAPITAL LETTER KAPPA + ΛΛ GREEK CAPITAL LETTER LAMDA + ΜΜ GREEK CAPITAL LETTER MU + ΝΝ GREEK CAPITAL LETTER NU + ΞΞ GREEK CAPITAL LETTER XI + ΟΟ GREEK CAPITAL LETTER OMICRON + ΠΠ GREEK CAPITAL LETTER PI + ΡΡ GREEK CAPITAL LETTER RHO + ΤΤ GREEK CAPITAL LETTER TAU + ΥΥ GREEK CAPITAL LETTER UPSILON + ΦΦ GREEK CAPITAL LETTER PHI + ΧΧ GREEK CAPITAL LETTER CHI + ΨΨ GREEK CAPITAL LETTER PSI + ΩΩ GREEK CAPITAL LETTER OMEGA + αα GREEK SMALL LETTER ALPHA + ββ GREEK SMALL LETTER BETA + γγ GREEK SMALL LETTER GAMMA + δδ GREEK SMALL LETTER DELTA + εε GREEK SMALL LETTER EPSILON + ζζ GREEK SMALL LETTER ZETA + ηη GREEK SMALL LETTER ETA + θθ GREEK SMALL LETTER THETA + ιι GREEK SMALL LETTER IOTA + κκ GREEK SMALL LETTER KAPPA + λλ GREEK SMALL LETTER LAMDA + μμ GREEK SMALL LETTER MU + νν GREEK SMALL LETTER NU + ξξ GREEK SMALL LETTER XI + οο GREEK SMALL LETTER OMICRON + ππ GREEK SMALL LETTER PI + ρρ GREEK SMALL LETTER RHO + ςς GREEK SMALL LETTER FINAL SIGMA + σσ GREEK SMALL LETTER SIGMA + ττ GREEK SMALL LETTER TAU + υυ GREEK SMALL LETTER UPSILON + φφ GREEK SMALL LETTER PHI + χχ GREEK SMALL LETTER CHI + ψψ GREEK SMALL LETTER PSI + ωω GREEK SMALL LETTER OMEGA + ϑϑ GREEK THETA SYMBOL + ϕϕ GREEK PHI SYMBOL + ϖϖ GREEK PI SYMBOL + ϵϵ GREEK LUNATE EPSILON SYMBOL + ‐‐ HYPHEN + –– EN DASH + —— EM DASH + ‘‘ LEFT SINGLE QUOTATION MARK + ’’ RIGHT SINGLE QUOTATION MARK + ‚‚ SINGLE LOW-9 QUOTATION MARK + ““ LEFT DOUBLE QUOTATION MARK + ”” RIGHT DOUBLE QUOTATION MARK + „„ DOUBLE LOW-9 QUOTATION MARK + †† DAGGER + ‡‡ DOUBLE DAGGER + •• BULLET + ‰‰ PER MILLE SIGN + ′′ PRIME + ″″ DOUBLE PRIME + ‹‹ SINGLE LEFT-POINTING ANGLE QUOTATION MARK + ›› SINGLE RIGHT-POINTING ANGLE QUOTATION MARK + ⁄⁄ FRACTION SLASH + €€€ EURO SIGN + ℑℑ BLACK-LETTER CAPITAL I + ℜℜ BLACK-LETTER CAPITAL R + ™™ TRADE MARK SIGN + ℵℵ ALEF SYMBOL + ⅛⅛ VULGAR FRACTION ONE EIGHTH + ⅜⅜ VULGAR FRACTION THREE EIGHTHS + ⅝⅝ VULGAR FRACTION FIVE EIGHTHS + ⅞⅞ VULGAR FRACTION SEVEN EIGHTHS + ←← LEFTWARDS ARROW + ↑↑ UPWARDS ARROW + →→ RIGHTWARDS ARROW + ↓↓ DOWNWARDS ARROW + ↔↔ LEFT RIGHT ARROW + ↵↵ DOWNWARDS ARROW WITH CORNER LEFTWARDS + ⇐⇐ LEFTWARDS DOUBLE ARROW + ⇑⇑ UPWARDS DOUBLE ARROW + ⇒⇒ RIGHTWARDS DOUBLE ARROW + ⇓⇓ DOWNWARDS DOUBLE ARROW + ⇔⇔ LEFT RIGHT DOUBLE ARROW + ∀∀ FOR ALL + ∂∂ PARTIAL DIFFERENTIAL + ∃∃ THERE EXISTS + ∅∅ EMPTY SET + ∈∈ ELEMENT OF + ∋∋ CONTAINS AS MEMBER + −− MINUS SIGN + ∓∓ MINUS-OR-PLUS SIGN + ∗∗ ASTERISK OPERATOR + √√ SQUARE ROOT + ∝∝ PROPORTIONAL TO + ∞∞ INFINITY + ∠∠ ANGLE + ∧∧ LOGICAL AND + ∨∨ LOGICAL OR + ∩∩ INTERSECTION + ∪∪ UNION + ∫∫ INTEGRAL + ∴∴∴ THEREFORE + ∼∼ TILDE OPERATOR + ≃≃ ASYMPTOTICALLY EQUAL TO + ≅≅ APPROXIMATELY EQUAL TO + ≈≈≈ ALMOST EQUAL TO + ≠≠ NOT EQUAL TO + ≡≡ IDENTICAL TO + ≢≢ NOT IDENTICAL TO + ≤≤ LESS-THAN OR EQUAL TO + ≥≥ GREATER-THAN OR EQUAL TO + ⊂⊂ SUBSET OF + ⊃⊃ SUPERSET OF + ⊆⊆ SUBSET OF OR EQUAL TO + ⊇⊇ SUPERSET OF OR EQUAL TO + ⊕⊕ CIRCLED PLUS + ⊗⊗ CIRCLED TIMES + ⊥⊥ UP TACK + ⋅⋅ DOT OPERATOR + ⌈⌈ LEFT CEILING + ⌉⌉ RIGHT CEILING + ⌊⌊ LEFT FLOOR + ⌋⌋ RIGHT FLOOR + ⎪⎪ CURLY BRACKET EXTENSION + ⎯⎯ HORIZONTAL LINE EXTENSION + ││ BOX DRAWINGS LIGHT VERTICAL + □□ WHITE SQUARE + ◊◊ LOZENGE + ○○ WHITE CIRCLE + ☜☜ WHITE LEFT POINTING INDEX + ☞☞ WHITE RIGHT POINTING INDEX + ⟨⟨ MATHEMATICAL LEFT ANGLE BRACKET + ⟩⟩ MATHEMATICAL RIGHT ANGLE BRACKET + ENDTEST + + + +OpenBSD October 27, 2014 CHAR-UNICODE-NAMED(1) diff --git a/contrib/mandoc/regress/char/unicode/namediff.in b/contrib/mandoc/regress/char/unicode/namediff.in new file mode 100644 index 00000000000..7b98650e21c --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/namediff.in @@ -0,0 +1,49 @@ +.\" $OpenBSD: namediff.in,v 1.6 2017/07/04 14:53:23 schwarze Exp $ +.TH CHAR-UNICODE-NAMEDIFF 1 "October 27, 2014" +.SH NAME +char-unicode-namediff \- Unicode characters having named escapes +.SH DESCRIPTION +.nf +BEGINTEST +\[u0237]\(.j LATIN SMALL LETTER DOTLESS J +\[u02D9]\(a. DOT ABOVE +\[u0393]\(*G GREEK CAPITAL LETTER GAMMA +\[u03A3]\(*S GREEK CAPITAL LETTER SIGMA +\[u203E]\(rn OVERLINE +\[u210F]\[hbar]\(-h PLANCK CONSTANT OVER TWO PI +\[u2118]\(wp SCRIPT CAPITAL P +\[u2195]\(va UP DOWN ARROW +\[u21D5]\(vA UP DOWN DOUBLE ARROW +\[u2207]\(gr NABLA +\[u2209]\(nm NOT AN ELEMENT OF +\[u220F]\[product] N-ARY PRODUCT +\[u2210]\[coproduct] N-ARY COPRODUCT +\[u2211]\[sum] N-ARY SUMMATION +\[u2284]\(nb NOT A SUBSET OF +\[u2285]\(nc NOT A SUPERSET OF +\[u239B]\[parenlefttp] LEFT PARENTHESIS UPPER HOOK +\[u239C]\[parenleftex] LEFT PARENTHESIS EXTENSION +\[u239D]\[parenleftbt] LEFT PARENTHESIS LOWER HOOK +\[u239E]\[parenrighttp] RIGHT PARENTHESIS UPPER HOOK +\[u239F]\[parenrightex] RIGHT PARENTHESIS EXTENSION +\[u23A0]\[parenrightbt] RIGHT PARENTHESIS LOWER HOOK +\[u23A1]\[bracketlefttp] LEFT SQUARE BRACKET UPPER CORNER +\[u23A2]\[bracketleftex] LEFT SQUARE BRACKET EXTENSION +\[u23A3]\[bracketleftbt] LEFT SQUARE BRACKET LOWER CORNER +\[u23A4]\[bracketrighttp] RIGHT SQUARE BRACKET UPPER CORNER +\[u23A5]\[bracketrightex] RIGHT SQUARE BRACKET EXTENSION +\[u23A6]\[bracketrightbt] RIGHT SQUARE BRACKET LOWER CORNER +\[u23A7]\[bracelefttp] LEFT CURLY BRACKET UPPER HOOK +\[u23A8]\[braceleftmid] LEFT CURLY BRACKET MIDDLE PIECE +\[u23A9]\[braceleftbt] LEFT CURLY BRACKET LOWER HOOK +\[u23AA]\[braceex]\[braceleftex]\[bracerightex] CURLY BRACKET EXTENSION +\[u23AB]\[bracerighttp] RIGHT CURLY BRACKET UPPER HOOK +\[u23AC]\[bracerightmid] RIGHT CURLY BRACKET MIDDLE PIECE +\[u23AD]\[bracerightbt] RIGHT CURLY BRACKET LOWER HOOK +\[u2660]\(SP BLACK SPADE SUIT +\[u2663]\(CL BLACK CLUB SUIT +\[u2665]\(HE BLACK HEART SUIT +\[u2666]\(DI BLACK DIAMOND SUIT +\[u2713]\(OK CHECK MARK +ENDTEST +.fi diff --git a/contrib/mandoc/regress/char/unicode/namediff.out_ascii b/contrib/mandoc/regress/char/unicode/namediff.out_ascii new file mode 100644 index 00000000000..9422f2f8afe --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/namediff.out_ascii @@ -0,0 +1,54 @@ +CHAR-UNICODE-NAMEDIFF(1) General Commands Manual CHAR-UNICODE-NAMEDIFF(1) + + + +NNAAMMEE + char-unicode-namediff - Unicode characters having named escapes + +DDEESSCCRRIIPPTTIIOONN + BEGINTEST + jj LATIN SMALL LETTER DOTLESS J + .. DOT ABOVE + GG GREEK CAPITAL LETTER GAMMA + SS GREEK CAPITAL LETTER SIGMA + -- OVERLINE + /h/h/h PLANCK CONSTANT OVER TWO PI + PP SCRIPT CAPITAL P + ^v^v UP DOWN ARROW + ^=v^=v UP DOWN DOUBLE ARROW + VV NABLA + !E!E NOT AN ELEMENT OF + TTTT N-ARY PRODUCT + UU N-ARY COPRODUCT + EE N-ARY SUMMATION + (!=(!= NOT A SUBSET OF + !=)!=) NOT A SUPERSET OF + // LEFT PARENTHESIS UPPER HOOK + || LEFT PARENTHESIS EXTENSION + \\ LEFT PARENTHESIS LOWER HOOK + \\ RIGHT PARENTHESIS UPPER HOOK + || RIGHT PARENTHESIS EXTENSION + // RIGHT PARENTHESIS LOWER HOOK + || LEFT SQUARE BRACKET UPPER CORNER + || LEFT SQUARE BRACKET EXTENSION + || LEFT SQUARE BRACKET LOWER CORNER + || RIGHT SQUARE BRACKET UPPER CORNER + || RIGHT SQUARE BRACKET EXTENSION + || RIGHT SQUARE BRACKET LOWER CORNER + ,-,- LEFT CURLY BRACKET UPPER HOOK + {{ LEFT CURLY BRACKET MIDDLE PIECE + `-`- LEFT CURLY BRACKET LOWER HOOK + |||| CURLY BRACKET EXTENSION + -.-. RIGHT CURLY BRACKET UPPER HOOK + }} RIGHT CURLY BRACKET MIDDLE PIECE + -'-' RIGHT CURLY BRACKET LOWER HOOK + BLACK SPADE SUIT + BLACK CLUB SUIT + BLACK HEART SUIT + BLACK DIAMOND SUIT + \/\/ CHECK MARK + ENDTEST + + + +OpenBSD October 27, 2014 CHAR-UNICODE-NAMEDIFF(1) diff --git a/contrib/mandoc/regress/char/unicode/namediff.out_html b/contrib/mandoc/regress/char/unicode/namediff.out_html new file mode 100644 index 00000000000..4cf287d6331 --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/namediff.out_html @@ -0,0 +1,42 @@ +BEGINTEST +ȷȷ LATIN SMALL LETTER DOTLESS J +˙˙ DOT ABOVE +ΓΓ GREEK CAPITAL LETTER GAMMA +ΣΣ GREEK CAPITAL LETTER SIGMA +‾‾ OVERLINE +ℏℏℏ PLANCK CONSTANT OVER TWO PI +℘℘ SCRIPT CAPITAL P +↕↕ UP DOWN ARROW +⇕⇕ UP DOWN DOUBLE ARROW +∇∇ NABLA +∉∉ NOT AN ELEMENT OF +∏∏ N-ARY PRODUCT +∐∐ N-ARY COPRODUCT +∑∑ N-ARY SUMMATION +⊄⊄ NOT A SUBSET OF +⊅⊅ NOT A SUPERSET OF +⎛⎛ LEFT PARENTHESIS UPPER HOOK +⎜⎜ LEFT PARENTHESIS EXTENSION +⎝⎝ LEFT PARENTHESIS LOWER HOOK +⎞⎞ RIGHT PARENTHESIS UPPER HOOK +⎟⎟ RIGHT PARENTHESIS EXTENSION +⎠⎠ RIGHT PARENTHESIS LOWER HOOK +⎡⎡ LEFT SQUARE BRACKET UPPER CORNER +⎢⎢ LEFT SQUARE BRACKET EXTENSION +⎣⎣ LEFT SQUARE BRACKET LOWER CORNER +⎤⎤ RIGHT SQUARE BRACKET UPPER CORNER +⎥⎥ RIGHT SQUARE BRACKET EXTENSION +⎦⎦ RIGHT SQUARE BRACKET LOWER CORNER +⎧⎧ LEFT CURLY BRACKET UPPER HOOK +⎨⎨ LEFT CURLY BRACKET MIDDLE PIECE +⎩⎩ LEFT CURLY BRACKET LOWER HOOK +⎪⎪⎪⎪ CURLY BRACKET EXTENSION +⎫⎫ RIGHT CURLY BRACKET UPPER HOOK +⎬⎬ RIGHT CURLY BRACKET MIDDLE PIECE +⎭⎭ RIGHT CURLY BRACKET LOWER HOOK +♠♠ BLACK SPADE SUIT +♣♣ BLACK CLUB SUIT +♥♥ BLACK HEART SUIT +♦♦ BLACK DIAMOND SUIT +✓✓ CHECK MARK +ENDTEST diff --git a/contrib/mandoc/regress/char/unicode/namediff.out_utf8 b/contrib/mandoc/regress/char/unicode/namediff.out_utf8 new file mode 100644 index 00000000000..6c3de0db69b --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/namediff.out_utf8 @@ -0,0 +1,54 @@ +CHAR-UNICODE-NAMEDIFF(1) General Commands Manual CHAR-UNICODE-NAMEDIFF(1) + + + +NNAAMMEE + char-unicode-namediff - Unicode characters having named escapes + +DDEESSCCRRIIPPTTIIOONN + BEGINTEST + ȷȷ LATIN SMALL LETTER DOTLESS J + ˙˙ DOT ABOVE + ΓΓ GREEK CAPITAL LETTER GAMMA + ΣΣ GREEK CAPITAL LETTER SIGMA + ‾‾ OVERLINE + ℏℏℏ PLANCK CONSTANT OVER TWO PI + ℘℘ SCRIPT CAPITAL P + ↕↕ UP DOWN ARROW + ⇕⇕ UP DOWN DOUBLE ARROW + ∇∇ NABLA + ∉∉ NOT AN ELEMENT OF + ∏∏ N-ARY PRODUCT + ∐∐ N-ARY COPRODUCT + ∑∑ N-ARY SUMMATION + ⊄⊄ NOT A SUBSET OF + ⊅⊅ NOT A SUPERSET OF + ⎛⎛ LEFT PARENTHESIS UPPER HOOK + ⎜⎜ LEFT PARENTHESIS EXTENSION + ⎝⎝ LEFT PARENTHESIS LOWER HOOK + ⎞⎞ RIGHT PARENTHESIS UPPER HOOK + ⎟⎟ RIGHT PARENTHESIS EXTENSION + ⎠⎠ RIGHT PARENTHESIS LOWER HOOK + ⎡⎡ LEFT SQUARE BRACKET UPPER CORNER + ⎢⎢ LEFT SQUARE BRACKET EXTENSION + ⎣⎣ LEFT SQUARE BRACKET LOWER CORNER + ⎤⎤ RIGHT SQUARE BRACKET UPPER CORNER + ⎥⎥ RIGHT SQUARE BRACKET EXTENSION + ⎦⎦ RIGHT SQUARE BRACKET LOWER CORNER + ⎧⎧ LEFT CURLY BRACKET UPPER HOOK + ⎨⎨ LEFT CURLY BRACKET MIDDLE PIECE + ⎩⎩ LEFT CURLY BRACKET LOWER HOOK + ⎪⎪⎪⎪ CURLY BRACKET EXTENSION + ⎫⎫ RIGHT CURLY BRACKET UPPER HOOK + ⎬⎬ RIGHT CURLY BRACKET MIDDLE PIECE + ⎭⎭ RIGHT CURLY BRACKET LOWER HOOK + ♠♠ BLACK SPADE SUIT + ♣♣ BLACK CLUB SUIT + ♥♥ BLACK HEART SUIT + ♦♦ BLACK DIAMOND SUIT + ✓✓ CHECK MARK + ENDTEST + + + +OpenBSD October 27, 2014 CHAR-UNICODE-NAMEDIFF(1) diff --git a/contrib/mandoc/regress/char/unicode/nogroff.in b/contrib/mandoc/regress/char/unicode/nogroff.in new file mode 100644 index 00000000000..a5265d615c5 --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/nogroff.in @@ -0,0 +1,44 @@ +.\" $OpenBSD: nogroff.in,v 1.5 2017/07/04 14:53:23 schwarze Exp $ +.TH CHAR-UNICODE-NOGROFF 1 "October 28, 2014" +.SH NAME +char-unicode-nogroff \- characters handled differently by groff +.SH DESCRIPTION +.nf +BEGINTEST +\[u0000]\N'0' NULL +\[u0001]\N'1' START OF HEADING +\[u0007]\N'7' BELL +\[u0008]\N'8' BACKSPACE +\[u0009]\N'9' CHARACTER TABULATION +\[u000A]\N'10' LINE FEED +\[u000B]\N'11' LINE TABULATION +\[u000C]\N'12' FORM FEED +\[u000D]\N'13' CARRIAGE RETURN +\[u001B]\N'27' ESCAPE +\[u007F]\N'127' DELETE +\[u0080]\N'128' 0x80 +\[u0081]\N'129' 0x81 +\[u0082]\N'130' BREAK PERMITTED HERE +\[u0083]\N'131' NO BREAK HERE +\[u009E]\N'158' PRIVACY MESSAGE +\[u009F]\N'159' APPLICATION PROGRAM COMMAND +\[u226A]\(<< MUCH LESS-THAN +\[u226B]\(>> MUCH GREATER-THAN +\[uFB00]\(ff LATIN SMALL LIGATURE FF +\[uFB01]\(fi LATIN SMALL LIGATURE FI +\[uFB02]\(fl LATIN SMALL LIGATURE FL +\[uFB03]\(Fi LATIN SMALL LIGATURE FFI +\[uFB04]\(Fl LATIN SMALL LIGATURE FFL +\[uFFFD] REPLACEMENT CHARACTER +\[uFFFE] +\[uFFFF] +\[u10000] LINEAR B SYLLABLE B008 A +\[uFFFFD] +\[uFFFFE] +\[uFFFFF] +\[u100000] +\[u10FFFD] +\[u10FFFE] +\[u10FFFF] +ENDTEST +.fi diff --git a/contrib/mandoc/regress/char/unicode/nogroff.out_ascii b/contrib/mandoc/regress/char/unicode/nogroff.out_ascii new file mode 100644 index 00000000000..d03b87e8cab --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/nogroff.out_ascii @@ -0,0 +1,49 @@ +CHAR-UNICODE-NOGROFF(1) General Commands Manual CHAR-UNICODE-NOGROFF(1) + + + +NNAAMMEE + char-unicode-nogroff - characters handled differently by groff + +DDEESSCCRRIIPPTTIIOONN + BEGINTEST + NULL + START OF HEADING + BELL + BACKSPACE + CHARACTER TABULATION + LINE FEED + LINE TABULATION + FORM FEED + CARRIAGE RETURN + ESCAPE + DELETE + <80><80> 0x80 + <81><81> 0x81 + <82><82> BREAK PERMITTED HERE + <83><83> NO BREAK HERE + <9E><9E> PRIVACY MESSAGE + <9F><9F> APPLICATION PROGRAM COMMAND + <<<< MUCH LESS-THAN + >>>> MUCH GREATER-THAN + ffff LATIN SMALL LIGATURE FF + fifi LATIN SMALL LIGATURE FI + flfl LATIN SMALL LIGATURE FL + ffiffi LATIN SMALL LIGATURE FFI + fflffl LATIN SMALL LIGATURE FFL + REPLACEMENT CHARACTER + + + LINEAR B SYLLABLE B008 A + + + + + + + + ENDTEST + + + +OpenBSD October 28, 2014 CHAR-UNICODE-NOGROFF(1) diff --git a/contrib/mandoc/regress/char/unicode/nogroff.out_html b/contrib/mandoc/regress/char/unicode/nogroff.out_html new file mode 100644 index 00000000000..a865d2d1917 --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/nogroff.out_html @@ -0,0 +1,37 @@ +BEGINTEST +�� <control> NULL +�� <control> START OF HEADING +�� <control> BELL +�� <control> BACKSPACE + <control> CHARACTER TABULATION +�� <control> LINE FEED +�� <control> LINE TABULATION +�� <control> FORM FEED +�� <control> CARRIAGE RETURN +�� <control> ESCAPE +�� <control> DELETE +�� <control> 0x80 +�� <control> 0x81 +�� <control> BREAK PERMITTED HERE +�� <control> NO BREAK HERE +�� <control> PRIVACY MESSAGE +�� <control> APPLICATION PROGRAM COMMAND +≪≪ MUCH LESS-THAN +≫≫ MUCH GREATER-THAN +ffff LATIN SMALL LIGATURE FF +fifi LATIN SMALL LIGATURE FI +flfl LATIN SMALL LIGATURE FL +ffiffi LATIN SMALL LIGATURE FFI +fflffl LATIN SMALL LIGATURE FFL +� REPLACEMENT CHARACTER +￾ <undefined> +￿ <undefined> +𐀀 LINEAR B SYLLABLE B008 A +󿿽 <Plane 15 Private Use, Last> +󿿾 <undefined> +󿿿 <undefined> +􀀀 <Plane 16 Private Use, First> +􏿽 <Plane 16 Private Use, Last> +􏿾 <undefined> +􏿿 <undefined> +ENDTEST diff --git a/contrib/mandoc/regress/char/unicode/nogroff.out_utf8 b/contrib/mandoc/regress/char/unicode/nogroff.out_utf8 new file mode 100644 index 00000000000..c6169b9c35e --- /dev/null +++ b/contrib/mandoc/regress/char/unicode/nogroff.out_utf8 @@ -0,0 +1,49 @@ +CHAR-UNICODE-NOGROFF(1) General Commands Manual CHAR-UNICODE-NOGROFF(1) + + + +NNAAMMEE + char-unicode-nogroff - characters handled differently by groff + +DDEESSCCRRIIPPTTIIOONN + BEGINTEST + �� NULL + �� START OF HEADING + �� BELL + �� BACKSPACE + CHARACTER TABULATION + �� LINE FEED + �� LINE TABULATION + �� FORM FEED + �� CARRIAGE RETURN + �� ESCAPE + �� DELETE + �� 0x80 + �� 0x81 + �� BREAK PERMITTED HERE + �� NO BREAK HERE + �� PRIVACY MESSAGE + �� APPLICATION PROGRAM COMMAND + ≪≪ MUCH LESS-THAN + ≫≫ MUCH GREATER-THAN + ffff LATIN SMALL LIGATURE FF + fifi LATIN SMALL LIGATURE FI + flfl LATIN SMALL LIGATURE FL + ffiffi LATIN SMALL LIGATURE FFI + fflffl LATIN SMALL LIGATURE FFL + � REPLACEMENT CHARACTER + ￾ + ￿ + 𐀀 LINEAR B SYLLABLE B008 A + 󿿽 + 󿿾 + 󿿿 + 􀀀 + 􏿽 + 􏿾 + 􏿿 + ENDTEST + + + +OpenBSD October 28, 2014 CHAR-UNICODE-NOGROFF(1) diff --git a/contrib/mandoc/regress/eqn/Makefile b/contrib/mandoc/regress/eqn/Makefile new file mode 100644 index 00000000000..b0479c0f3ca --- /dev/null +++ b/contrib/mandoc/regress/eqn/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.2 2015/01/28 21:10:28 schwarze Exp $ + +SUBDIR = fromto define delim matrix nullary over size subsup unary + +.include "../Makefile.sub" +.include diff --git a/contrib/mandoc/regress/eqn/Makefile.inc b/contrib/mandoc/regress/eqn/Makefile.inc new file mode 100644 index 00000000000..d1d69f34c51 --- /dev/null +++ b/contrib/mandoc/regress/eqn/Makefile.inc @@ -0,0 +1,29 @@ +# $OpenBSD: Makefile.inc,v 1.2 2015/02/03 19:37:25 schwarze Exp $ + +EQN = /usr/local/bin/eqn + +SKIP_GROFF ?= ${REGRESS_TARGETS} +SKIP_TMAN ?= ALL +SKIP_MARKDOWN ?= ALL + + +# OpenBSD only: maintainer targets and custom extraction + +_FULLHTMLFILES = ${HTML_TARGETS:S/$/.html/} + +html-clean: +.if !empty(_FULLHTMLFILES) + @rm -f ${_HTMLFILES} ${_FULLHTMLFILES} +.endif + +.for t in ${HTML_TARGETS} +${t}.out_html: ${t}.in + ${MANDOC} ${MOPTS} -Thtml ${.ALLSRC} | \ + ${.CURDIR}/../extract.pl > ${.TARGET} +.endfor + +.include "../Makefile.inc" + +.in.mandoc_html: + @${MANDOC} ${MOPTS} -Thtml ${.IMPSRC} > ${.TARGET:S/mandoc_html$/html/} + @${.CURDIR}/../extract.pl < ${.TARGET:S/mandoc_html$/html/} > ${.TARGET} diff --git a/contrib/mandoc/regress/eqn/define/Makefile b/contrib/mandoc/regress/eqn/define/Makefile new file mode 100644 index 00000000000..ef0820d2c9f --- /dev/null +++ b/contrib/mandoc/regress/eqn/define/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.1 2015/01/28 21:10:28 schwarze Exp $ + +REGRESS_TARGETS = font infinite invalid quoted +LINT_TARGETS = infinite invalid + +.include diff --git a/contrib/mandoc/regress/eqn/define/font.in b/contrib/mandoc/regress/eqn/define/font.in new file mode 100644 index 00000000000..ed8cbfec336 --- /dev/null +++ b/contrib/mandoc/regress/eqn/define/font.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: font.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DEFINE-FONT 1 +.Os +.Sh NAME +.Nm define-font +.Nd font selection takes place after define resolution +.Sh DESCRIPTION +initial text +.EQ +define alias 'sin x' +alias +define sin 'value' +sin +.EN +final text diff --git a/contrib/mandoc/regress/eqn/define/font.out_ascii b/contrib/mandoc/regress/eqn/define/font.out_ascii new file mode 100644 index 00000000000..3318e3432a1 --- /dev/null +++ b/contrib/mandoc/regress/eqn/define/font.out_ascii @@ -0,0 +1,9 @@ +DEFINE-FONT(1) General Commands Manual DEFINE-FONT(1) + +NNAAMMEE + ddeeffiinnee--ffoonntt - font selection takes place after define resolution + +DDEESSCCRRIIPPTTIIOONN + initial text sin _x _v_a_l_u_e final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/define/infinite.in b/contrib/mandoc/regress/eqn/define/infinite.in new file mode 100644 index 00000000000..420e63766b9 --- /dev/null +++ b/contrib/mandoc/regress/eqn/define/infinite.in @@ -0,0 +1,31 @@ +.\" $OpenBSD: infinite.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DEFINE-INFINITE 1 +.Os +.Sh NAME +.Nm define-infinite +.Nd infinite recursion in define statements +.Sh DESCRIPTION +alone: +.EQ +define key 'key' key +.EN +eol +.Pp +leading position: +.EQ +define key 'key suffix' key +.EN +eol +.Pp +middle position: +.EQ +define key 'prefix key suffix' key +.EN +eol +.Pp +trailing position: +.EQ +define key 'prefix key' key +.EN +eol diff --git a/contrib/mandoc/regress/eqn/define/infinite.out_ascii b/contrib/mandoc/regress/eqn/define/infinite.out_ascii new file mode 100644 index 00000000000..7219ce5b336 --- /dev/null +++ b/contrib/mandoc/regress/eqn/define/infinite.out_ascii @@ -0,0 +1,15 @@ +DEFINE-INFINITE(1) General Commands Manual DEFINE-INFINITE(1) + +NNAAMMEE + ddeeffiinnee--iinnffiinniittee - infinite recursion in define statements + +DDEESSCCRRIIPPTTIIOONN + alone: eol + + leading position: eol + + middle position: eol + + trailing position: eol + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/define/infinite.out_lint b/contrib/mandoc/regress/eqn/define/infinite.out_lint new file mode 100644 index 00000000000..43089bb3be5 --- /dev/null +++ b/contrib/mandoc/regress/eqn/define/infinite.out_lint @@ -0,0 +1,4 @@ +mandoc: infinite.in:10:2: ERROR: input stack limit exceeded, infinite loop? +mandoc: infinite.in:16:2: ERROR: input stack limit exceeded, infinite loop? +mandoc: infinite.in:22:2: ERROR: input stack limit exceeded, infinite loop? +mandoc: infinite.in:28:2: ERROR: input stack limit exceeded, infinite loop? diff --git a/contrib/mandoc/regress/eqn/define/invalid.in b/contrib/mandoc/regress/eqn/define/invalid.in new file mode 100644 index 00000000000..763c622ec58 --- /dev/null +++ b/contrib/mandoc/regress/eqn/define/invalid.in @@ -0,0 +1,37 @@ +.\" $OpenBSD: invalid.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DEFINE-INVALID 1 +.Os +.Sh NAME +.Nm define-invalid +.Nd invalid define and undef statements +.Sh DESCRIPTION +define without variable name: +.EQ +define bruch 'over' 1 bruch 2 undef bruch bruch define +.EN +eol +.Pp +define without value: +.EQ +define bruch 'over' 1 bruch 2 undef bruch bruch define bruch +.EN +eol +.Pp +define without value: +.EQ +define bruch 'over' 1 bruch 2 undef bruch bruch undef +.EN +eol +.Pp +tdefine without variable name: +.EQ +tdefine +.EN +eol +.Pp +tdefine without value: +.EQ +tdefine bruch +.EN +eol diff --git a/contrib/mandoc/regress/eqn/define/invalid.out_ascii b/contrib/mandoc/regress/eqn/define/invalid.out_ascii new file mode 100644 index 00000000000..3f518a75241 --- /dev/null +++ b/contrib/mandoc/regress/eqn/define/invalid.out_ascii @@ -0,0 +1,17 @@ +DEFINE-INVALID(1) General Commands Manual DEFINE-INVALID(1) + +NNAAMMEE + ddeeffiinnee--iinnvvaalliidd - invalid define and undef statements + +DDEESSCCRRIIPPTTIIOONN + define without variable name: 1/2 _b_r_u_c_h eol + + define without value: 1/2 _b_r_u_c_h eol + + define without value: 1/2 _b_r_u_c_h eol + + tdefine without variable name: eol + + tdefine without value: eol + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/define/invalid.out_lint b/contrib/mandoc/regress/eqn/define/invalid.out_lint new file mode 100644 index 00000000000..1e69217669a --- /dev/null +++ b/contrib/mandoc/regress/eqn/define/invalid.out_lint @@ -0,0 +1,5 @@ +mandoc: invalid.in:10:2: WARNING: skipping empty request: define +mandoc: invalid.in:16:2: WARNING: skipping empty request: define bruch +mandoc: invalid.in:22:2: WARNING: skipping empty request: undef +mandoc: invalid.in:28:2: WARNING: skipping empty request: tdefine +mandoc: invalid.in:34:2: WARNING: skipping empty request: tdefine diff --git a/contrib/mandoc/regress/eqn/define/quoted.in b/contrib/mandoc/regress/eqn/define/quoted.in new file mode 100644 index 00000000000..34a2b07dd16 --- /dev/null +++ b/contrib/mandoc/regress/eqn/define/quoted.in @@ -0,0 +1,18 @@ +.\" $OpenBSD: quoted.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DEFINE-QUOTED 1 +.Os +.Sh NAME +.Nm define-quoted +.Nd interaction of the define control statement with quoting +.Sh DESCRIPTION +initial text +.EQ +define unquoted 'sin' +"unquoted" +unquoted +define quoted '"sin"' +"quoted" +quoted +.EN +final text diff --git a/contrib/mandoc/regress/eqn/define/quoted.out_ascii b/contrib/mandoc/regress/eqn/define/quoted.out_ascii new file mode 100644 index 00000000000..ad3404bcbe5 --- /dev/null +++ b/contrib/mandoc/regress/eqn/define/quoted.out_ascii @@ -0,0 +1,9 @@ +DEFINE-QUOTED(1) General Commands Manual DEFINE-QUOTED(1) + +NNAAMMEE + ddeeffiinnee--qquuootteedd - interaction of the define control statement with quoting + +DDEESSCCRRIIPPTTIIOONN + initial text _u_n_q_u_o_t_e_d sin _q_u_o_t_e_d _s_i_n final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/delim/Makefile b/contrib/mandoc/regress/eqn/delim/Makefile new file mode 100644 index 00000000000..eba7d657b61 --- /dev/null +++ b/contrib/mandoc/regress/eqn/delim/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2015/01/01 12:53:46 schwarze Exp $ + +REGRESS_TARGETS = basic + +.include diff --git a/contrib/mandoc/regress/eqn/delim/basic.in b/contrib/mandoc/regress/eqn/delim/basic.in new file mode 100644 index 00000000000..0af75dc2506 --- /dev/null +++ b/contrib/mandoc/regress/eqn/delim/basic.in @@ -0,0 +1,22 @@ +.\" $OpenBSD: basic.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DELIM-BASIC 1 +.Os +.Sh NAME +.Nm delim-basic +.Nd inline eqn delimiters +.Sh DESCRIPTION +initial text +.EQ +delim <>alpha +.EN +inline +.EQ +delim offgamma +.EN +inline +.EQ +delim onepsilon +.EN +inline +final text diff --git a/contrib/mandoc/regress/eqn/delim/basic.out_ascii b/contrib/mandoc/regress/eqn/delim/basic.out_ascii new file mode 100644 index 00000000000..3f317b697b0 --- /dev/null +++ b/contrib/mandoc/regress/eqn/delim/basic.out_ascii @@ -0,0 +1,9 @@ +DELIM-BASIC(1) General Commands Manual DELIM-BASIC(1) + +NNAAMMEE + ddeelliimm--bbaassiicc - inline eqn delimiters + +DDEESSCCRRIIPPTTIIOONN + initial text a inline B y inline e inline ,C final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/fromto/Makefile b/contrib/mandoc/regress/eqn/fromto/Makefile new file mode 100644 index 00000000000..1384c543153 --- /dev/null +++ b/contrib/mandoc/regress/eqn/fromto/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.3 2017/07/06 00:08:52 schwarze Exp $ + +REGRESS_TARGETS = basic noarg precedence +HTML_TARGETS = basic noarg precedence + +.include diff --git a/contrib/mandoc/regress/eqn/fromto/basic.in b/contrib/mandoc/regress/eqn/fromto/basic.in new file mode 100644 index 00000000000..95bf148d724 --- /dev/null +++ b/contrib/mandoc/regress/eqn/fromto/basic.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: basic.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FROMTO-BASIC 1 +.Os +.Sh NAME +.Nm fromto-basic +.Nd vertical stacking +.Sh DESCRIPTION +initial text +.EQ +sum from { i = 1 } to inf 1 over i sup 2 +.EN +final text diff --git a/contrib/mandoc/regress/eqn/fromto/basic.out_ascii b/contrib/mandoc/regress/eqn/fromto/basic.out_ascii new file mode 100644 index 00000000000..b67ec47b391 --- /dev/null +++ b/contrib/mandoc/regress/eqn/fromto/basic.out_ascii @@ -0,0 +1,9 @@ +FROMTO-BASIC(1) General Commands Manual FROMTO-BASIC(1) + +NNAAMMEE + ffrroommttoo--bbaassiicc - vertical stacking + +DDEESSCCRRIIPPTTIIOONN + initial text E_(_i = 1)^oo 1/(_i^2) final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/fromto/basic.out_html b/contrib/mandoc/regress/eqn/fromto/basic.out_html new file mode 100644 index 00000000000..a1dbe244d26 --- /dev/null +++ b/contrib/mandoc/regress/eqn/fromto/basic.out_html @@ -0,0 +1 @@ +i=11i2 diff --git a/contrib/mandoc/regress/eqn/fromto/noarg.in b/contrib/mandoc/regress/eqn/fromto/noarg.in new file mode 100644 index 00000000000..aaef9ef639f --- /dev/null +++ b/contrib/mandoc/regress/eqn/fromto/noarg.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: noarg.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FROMTO-NOARG 1 +.Os +.Sh NAME +.Nm fromto-noarg +.Nd vertical stacking lacks final argument +.Sh DESCRIPTION +initial text +.EQ +x from a to to +.EN +final text diff --git a/contrib/mandoc/regress/eqn/fromto/noarg.out_ascii b/contrib/mandoc/regress/eqn/fromto/noarg.out_ascii new file mode 100644 index 00000000000..f5f1e8fa86f --- /dev/null +++ b/contrib/mandoc/regress/eqn/fromto/noarg.out_ascii @@ -0,0 +1,9 @@ +FROMTO-NOARG(1) General Commands Manual FROMTO-NOARG(1) + +NNAAMMEE + ffrroommttoo--nnooaarrgg - vertical stacking lacks final argument + +DDEESSCCRRIIPPTTIIOONN + initial text _x_(_a^)^ final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/fromto/noarg.out_html b/contrib/mandoc/regress/eqn/fromto/noarg.out_html new file mode 100644 index 00000000000..1caf3a3d661 --- /dev/null +++ b/contrib/mandoc/regress/eqn/fromto/noarg.out_html @@ -0,0 +1 @@ +xa diff --git a/contrib/mandoc/regress/eqn/fromto/precedence.in b/contrib/mandoc/regress/eqn/fromto/precedence.in new file mode 100644 index 00000000000..939ab51a9ff --- /dev/null +++ b/contrib/mandoc/regress/eqn/fromto/precedence.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: precedence.in,v 1.1 2017/07/06 00:08:52 schwarze Exp $ +.Dd $Mdocdate: July 6 2017 $ +.Dt SUBSUP-PRECEDENCE 1 +.Os +.Sh NAME +.Nm subsup-precedence +.Nd precedence of subscripts and superscripts +.Sh DESCRIPTION +.ps 36 +initial text +.EQ +X from a under to c hat ; roman X from bold a to italic c ; +X sub 1 sup 2 from a sub c sup e to o sub r sup s +.EN +final text diff --git a/contrib/mandoc/regress/eqn/fromto/precedence.out_ascii b/contrib/mandoc/regress/eqn/fromto/precedence.out_ascii new file mode 100644 index 00000000000..b7da7180a7b --- /dev/null +++ b/contrib/mandoc/regress/eqn/fromto/precedence.out_ascii @@ -0,0 +1,9 @@ +SUBSUP-PRECEDENCE(1) General Commands Manual SUBSUP-PRECEDENCE(1) + +NNAAMMEE + ssuubbssuupp--pprreecceeddeennccee - precedence of subscripts and superscripts + +DDEESSCCRRIIPPTTIIOONN + initial text _X_(_a_)^_c^ ; X_aa^_c ; (_X_1^2)_(_a__c^_e)^(_o__r^_s) final text + +OpenBSD July 6, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/fromto/precedence.out_html b/contrib/mandoc/regress/eqn/fromto/precedence.out_html new file mode 100644 index 00000000000..bb9074e64b5 --- /dev/null +++ b/contrib/mandoc/regress/eqn/fromto/precedence.out_html @@ -0,0 +1 @@ +Xa_c^;Xac;X12aceors diff --git a/contrib/mandoc/regress/eqn/matrix/Makefile b/contrib/mandoc/regress/eqn/matrix/Makefile new file mode 100644 index 00000000000..8c2b50bba28 --- /dev/null +++ b/contrib/mandoc/regress/eqn/matrix/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2015/01/01 12:53:46 schwarze Exp $ + +REGRESS_TARGETS = basic empty +HTML_TARGETS = basic empty + +.include diff --git a/contrib/mandoc/regress/eqn/matrix/basic.in b/contrib/mandoc/regress/eqn/matrix/basic.in new file mode 100644 index 00000000000..2068712cedb --- /dev/null +++ b/contrib/mandoc/regress/eqn/matrix/basic.in @@ -0,0 +1,21 @@ +.\" $OpenBSD: basic.in,v 1.3 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt MATRIX-BASIC 1 +.Os +.Sh NAME +.Nm matrix-basic +.Nd matrixes in equations +.Sh DESCRIPTION +initial text +.EQ +left ( +matrix { ccol { a sub 11 above a sub 21 } ccol { a sub 12 above a sub 22 } } +right ) +left ( +pile { b sub 1 above b sub 2 } +right ) +left [ +bold pile { sin above "sin" } +right ] +.EN +final text diff --git a/contrib/mandoc/regress/eqn/matrix/basic.out_ascii b/contrib/mandoc/regress/eqn/matrix/basic.out_ascii new file mode 100644 index 00000000000..21087dee66f --- /dev/null +++ b/contrib/mandoc/regress/eqn/matrix/basic.out_ascii @@ -0,0 +1,9 @@ +MATRIX-BASIC(1) General Commands Manual MATRIX-BASIC(1) + +NNAAMMEE + mmaattrriixx--bbaassiicc - matrixes in equations + +DDEESSCCRRIIPPTTIIOONN + initial text ((_a_11 _a_21) (_a_12 _a_22)) (_b_1 _b_2) [sin ssiinn] final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/matrix/basic.out_html b/contrib/mandoc/regress/eqn/matrix/basic.out_html new file mode 100644 index 00000000000..b02fe584b08 --- /dev/null +++ b/contrib/mandoc/regress/eqn/matrix/basic.out_html @@ -0,0 +1 @@ +a11a12a21a22b1b2sinsin diff --git a/contrib/mandoc/regress/eqn/matrix/empty.in b/contrib/mandoc/regress/eqn/matrix/empty.in new file mode 100644 index 00000000000..16b4bf94ffc --- /dev/null +++ b/contrib/mandoc/regress/eqn/matrix/empty.in @@ -0,0 +1,18 @@ +.\" $OpenBSD: empty.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt MATRIX-EMPTY 1 +.Os +.Sh NAME +.Nm matrix-empty +.Nd empty matrixes +.Sh DESCRIPTION +initial text +.EQ +left ( +matrix { } +right ) +left ( +matrix +right ) +.EN +final text diff --git a/contrib/mandoc/regress/eqn/matrix/empty.out_ascii b/contrib/mandoc/regress/eqn/matrix/empty.out_ascii new file mode 100644 index 00000000000..aba8f08c3ef --- /dev/null +++ b/contrib/mandoc/regress/eqn/matrix/empty.out_ascii @@ -0,0 +1,9 @@ +MATRIX-EMPTY(1) General Commands Manual MATRIX-EMPTY(1) + +NNAAMMEE + mmaattrriixx--eemmppttyy - empty matrixes + +DDEESSCCRRIIPPTTIIOONN + initial text () () final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/matrix/empty.out_html b/contrib/mandoc/regress/eqn/matrix/empty.out_html new file mode 100644 index 00000000000..4578d361172 --- /dev/null +++ b/contrib/mandoc/regress/eqn/matrix/empty.out_html @@ -0,0 +1 @@ + diff --git a/contrib/mandoc/regress/eqn/nullary/Makefile b/contrib/mandoc/regress/eqn/nullary/Makefile new file mode 100644 index 00000000000..de4bcf0582a --- /dev/null +++ b/contrib/mandoc/regress/eqn/nullary/Makefile @@ -0,0 +1,7 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2015/01/01 12:53:46 schwarze Exp $ + +REGRESS_TARGETS = roman symbol +UTF8_TARGETS = symbol +HTML_TARGETS = roman symbol + +.include diff --git a/contrib/mandoc/regress/eqn/nullary/roman.in b/contrib/mandoc/regress/eqn/nullary/roman.in new file mode 100644 index 00000000000..0e5c038967b --- /dev/null +++ b/contrib/mandoc/regress/eqn/nullary/roman.in @@ -0,0 +1,33 @@ +.\" $OpenBSD: roman.in,v 1.3 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt NULLARY-ROMAN 1 +.Os +.Sh NAME +.Nm nullary-roman +.Nd equation tokens set in roman font +.Sh DESCRIPTION +initial text \(em +.EQ +roman "unquoted words:" +sin cos tan sec csc asin acos atan asec acsc +sinh cosh tanh coth arc +max min lim log ln exp +Re Im and if for det +\(em +roman "quoted words:" +"sin" "cos" "tan" "sec" "csc" "asin" "acos" "atan" "asec" "acsc" +"sinh" "cosh" "tanh" "coth" "arc" +"max" "min" "lim" "log" "ln" "exp" +"Re" "Im" "and" "if" "for" "det" +\(em +roman "font operations:" +bold sin +bold "sin" +\(em +roman "superstring:" +sinus +\(em +roman "composite word:" +tan = sin/cos +.EN +\(em final text diff --git a/contrib/mandoc/regress/eqn/nullary/roman.out_ascii b/contrib/mandoc/regress/eqn/nullary/roman.out_ascii new file mode 100644 index 00000000000..1ae9a78d315 --- /dev/null +++ b/contrib/mandoc/regress/eqn/nullary/roman.out_ascii @@ -0,0 +1,14 @@ +NULLARY-ROMAN(1) General Commands Manual NULLARY-ROMAN(1) + +NNAAMMEE + nnuullllaarryy--rroommaann - equation tokens set in roman font + +DDEESSCCRRIIPPTTIIOONN + initial text -- unquoted words: sin cos tan sec csc asin acos atan asec + acsc sinh cosh tanh coth arc max min lim log ln exp Re Im and if for det + -- quoted words: _s_i_n _c_o_s _t_a_n _s_e_c _c_s_c _a_s_i_n _a_c_o_s _a_t_a_n _a_s_e_c _a_c_s_c _s_i_n_h _c_o_s_h + _t_a_n_h _c_o_t_h _a_r_c _m_a_x _m_i_n _l_i_m _l_o_g _l_n _e_x_p _R_e _I_m _a_n_d _i_f _f_o_r _d_e_t -- font + operations: sin ssiinn -- superstring: _s_i_n_u_s -- composite word: tan = _s_i_n / + _c_o_s -- final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/nullary/roman.out_html b/contrib/mandoc/regress/eqn/nullary/roman.out_html new file mode 100644 index 00000000000..59497add2e4 --- /dev/null +++ b/contrib/mandoc/regress/eqn/nullary/roman.out_html @@ -0,0 +1,15 @@ +unquoted +words:sincostan +seccsc +asinacosatanasec +acscsinh +coshtanhcotharc +maxminlimloglnexpReImandiffordetquoted +words: +sincos +tanseccscasinacosatanasecacscsinhcoshtanhcotharcmaxminlimloglnexpReImandiffordetfont +operations: +sinsinsuperstring:sinuscomposite +word: +tan=sin/ +cos diff --git a/contrib/mandoc/regress/eqn/nullary/symbol.in b/contrib/mandoc/regress/eqn/nullary/symbol.in new file mode 100644 index 00000000000..e8c8c61901d --- /dev/null +++ b/contrib/mandoc/regress/eqn/nullary/symbol.in @@ -0,0 +1,20 @@ +.\" $OpenBSD: symbol.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt NULLARY-SYMBOL 1 +.Os +.Sh NAME +.Nm nullary-symbol +.Nd equation tokens for symbols +.Sh DESCRIPTION +initial text \(em +.EQ +roman "unquoted words:" +epsilon prime +\(em +roman "quoted words:" +"epsilon" "prime" +\(em +roman "composite word:" +epsilon-prime +.EN +\(em final text diff --git a/contrib/mandoc/regress/eqn/nullary/symbol.out_ascii b/contrib/mandoc/regress/eqn/nullary/symbol.out_ascii new file mode 100644 index 00000000000..90459c37eb0 --- /dev/null +++ b/contrib/mandoc/regress/eqn/nullary/symbol.out_ascii @@ -0,0 +1,10 @@ +NULLARY-SYMBOL(1) General Commands Manual NULLARY-SYMBOL(1) + +NNAAMMEE + nnuullllaarryy--ssyymmbbooll - equation tokens for symbols + +DDEESSCCRRIIPPTTIIOONN + initial text -- unquoted words: e ' -- quoted words: _e_p_s_i_l_o_n _p_r_i_m_e -- + composite word: _e_p_s_i_l_o_n - _p_r_i_m_e -- final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/nullary/symbol.out_html b/contrib/mandoc/regress/eqn/nullary/symbol.out_html new file mode 100644 index 00000000000..3ca69c2e496 --- /dev/null +++ b/contrib/mandoc/regress/eqn/nullary/symbol.out_html @@ -0,0 +1,6 @@ +unquoted +words:εquoted +words: +epsilonprimecomposite +word: +epsilon-prime diff --git a/contrib/mandoc/regress/eqn/nullary/symbol.out_utf8 b/contrib/mandoc/regress/eqn/nullary/symbol.out_utf8 new file mode 100644 index 00000000000..a6ef313a6c2 --- /dev/null +++ b/contrib/mandoc/regress/eqn/nullary/symbol.out_utf8 @@ -0,0 +1,10 @@ +NULLARY-SYMBOL(1) General Commands Manual NULLARY-SYMBOL(1) + +NNAAMMEE + nnuullllaarryy--ssyymmbbooll – equation tokens for symbols + +DDEESSCCRRIIPPTTIIOONN + initial text — unquoted words: ε ′ — quoted words: _e_p_s_i_l_o_n _p_r_i_m_e — + composite word: _e_p_s_i_l_o_n - _p_r_i_m_e — final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/over/Makefile b/contrib/mandoc/regress/eqn/over/Makefile new file mode 100644 index 00000000000..8b864c25c70 --- /dev/null +++ b/contrib/mandoc/regress/eqn/over/Makefile @@ -0,0 +1,7 @@ +# $OpenBSD: Makefile,v 1.2 2015/01/01 15:34:43 schwarze Exp $ + +REGRESS_TARGETS = noarg precedence +HTML_TARGETS = noarg precedence +LINT_TARGETS = noarg + +.include diff --git a/contrib/mandoc/regress/eqn/over/noarg.in b/contrib/mandoc/regress/eqn/over/noarg.in new file mode 100644 index 00000000000..0c54a72086c --- /dev/null +++ b/contrib/mandoc/regress/eqn/over/noarg.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: noarg.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt OVER-NOARG 1 +.Os +.Sh NAME +.Nm over-noarg +.Nd fraction operator without arguments +.Sh DESCRIPTION +initial text +.EQ +over over +.EN +final text diff --git a/contrib/mandoc/regress/eqn/over/noarg.out_ascii b/contrib/mandoc/regress/eqn/over/noarg.out_ascii new file mode 100644 index 00000000000..c30afa55f92 --- /dev/null +++ b/contrib/mandoc/regress/eqn/over/noarg.out_ascii @@ -0,0 +1,9 @@ +OVER-NOARG(1) General Commands Manual OVER-NOARG(1) + +NNAAMMEE + oovveerr--nnooaarrgg - fraction operator without arguments + +DDEESSCCRRIIPPTTIIOONN + initial text (/)/ final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/over/noarg.out_html b/contrib/mandoc/regress/eqn/over/noarg.out_html new file mode 100644 index 00000000000..565b988c129 --- /dev/null +++ b/contrib/mandoc/regress/eqn/over/noarg.out_html @@ -0,0 +1 @@ + diff --git a/contrib/mandoc/regress/eqn/over/noarg.out_lint b/contrib/mandoc/regress/eqn/over/noarg.out_lint new file mode 100644 index 00000000000..de34469cab5 --- /dev/null +++ b/contrib/mandoc/regress/eqn/over/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:10:2: WARNING: missing eqn box, using "": over diff --git a/contrib/mandoc/regress/eqn/over/precedence.in b/contrib/mandoc/regress/eqn/over/precedence.in new file mode 100644 index 00000000000..12b28cef4ea --- /dev/null +++ b/contrib/mandoc/regress/eqn/over/precedence.in @@ -0,0 +1,14 @@ +.\" $OpenBSD: precedence.in,v 1.3 2017/07/06 00:08:52 schwarze Exp $ +.Dd $Mdocdate: July 6 2017 $ +.Dt OVER-PRECEDENCE 1 +.Os +.Sh NAME +.Nm over-precedence +.Nd precedence of the fraction operator +.Sh DESCRIPTION +initial text +.EQ +1 + x + x sup 2 over 2 + x sup 3 over { 2 * 3 } ; +a hat over c tilde ; bold a over bold c ; sqrt a over sqrt c +.EN +final text diff --git a/contrib/mandoc/regress/eqn/over/precedence.out_ascii b/contrib/mandoc/regress/eqn/over/precedence.out_ascii new file mode 100644 index 00000000000..1059b7425a5 --- /dev/null +++ b/contrib/mandoc/regress/eqn/over/precedence.out_ascii @@ -0,0 +1,10 @@ +OVER-PRECEDENCE(1) General Commands Manual OVER-PRECEDENCE(1) + +NNAAMMEE + oovveerr--pprreecceeddeennccee - precedence of the fraction operator + +DDEESSCCRRIIPPTTIIOONN + initial text 1 + _x + (_x^2)/2 + (_x^3)/(2 * 3) ; _a^/_c~ ; aa/cc ; + sqrt(_a)/sqrt(_c) final text + +OpenBSD July 6, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/over/precedence.out_html b/contrib/mandoc/regress/eqn/over/precedence.out_html new file mode 100644 index 00000000000..52e45eb557f --- /dev/null +++ b/contrib/mandoc/regress/eqn/over/precedence.out_html @@ -0,0 +1 @@ +1+x+x22+x32*3;a^c~;ac;ac diff --git a/contrib/mandoc/regress/eqn/size/Makefile b/contrib/mandoc/regress/eqn/size/Makefile new file mode 100644 index 00000000000..eba7d657b61 --- /dev/null +++ b/contrib/mandoc/regress/eqn/size/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2015/01/01 12:53:46 schwarze Exp $ + +REGRESS_TARGETS = basic + +.include diff --git a/contrib/mandoc/regress/eqn/size/basic.in b/contrib/mandoc/regress/eqn/size/basic.in new file mode 100644 index 00000000000..9c599355b0b --- /dev/null +++ b/contrib/mandoc/regress/eqn/size/basic.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: basic.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SIZE-BASIC 1 +.Os +.Sh NAME +.Nm size-basic +.Nd font sizes +.Sh DESCRIPTION +initial text +.EQ +x size 12 x size 14 x size 16 x +.EN +final text diff --git a/contrib/mandoc/regress/eqn/size/basic.out_ascii b/contrib/mandoc/regress/eqn/size/basic.out_ascii new file mode 100644 index 00000000000..c134b34eb4a --- /dev/null +++ b/contrib/mandoc/regress/eqn/size/basic.out_ascii @@ -0,0 +1,9 @@ +SIZE-BASIC(1) General Commands Manual SIZE-BASIC(1) + +NNAAMMEE + ssiizzee--bbaassiicc - font sizes + +DDEESSCCRRIIPPTTIIOONN + initial text _x _x _x _x final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/subsup/Makefile b/contrib/mandoc/regress/eqn/subsup/Makefile new file mode 100644 index 00000000000..a780104630e --- /dev/null +++ b/contrib/mandoc/regress/eqn/subsup/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.3 2017/07/06 00:08:52 schwarze Exp $ + +REGRESS_TARGETS = combine noarg precedence sub_group +HTML_TARGETS = combine noarg precedence sub_group + +.include diff --git a/contrib/mandoc/regress/eqn/subsup/combine.in b/contrib/mandoc/regress/eqn/subsup/combine.in new file mode 100644 index 00000000000..1ef34fd1913 --- /dev/null +++ b/contrib/mandoc/regress/eqn/subsup/combine.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: combine.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SUBSUP-COMBINE 1 +.Os +.Sh NAME +.Nm subsup-combine +.Nd combination of subscripts and superscripts +.Sh DESCRIPTION +initial text +.EQ +x sub 1 sup 2 + e sup x sub 2 +.EN +final text diff --git a/contrib/mandoc/regress/eqn/subsup/combine.out_ascii b/contrib/mandoc/regress/eqn/subsup/combine.out_ascii new file mode 100644 index 00000000000..468a814c52b --- /dev/null +++ b/contrib/mandoc/regress/eqn/subsup/combine.out_ascii @@ -0,0 +1,9 @@ +SUBSUP-COMBINE(1) General Commands Manual SUBSUP-COMBINE(1) + +NNAAMMEE + ssuubbssuupp--ccoommbbiinnee - combination of subscripts and superscripts + +DDEESSCCRRIIPPTTIIOONN + initial text _x_1^2 + _e^(_x_2) final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/subsup/combine.out_html b/contrib/mandoc/regress/eqn/subsup/combine.out_html new file mode 100644 index 00000000000..65b1e9e48e1 --- /dev/null +++ b/contrib/mandoc/regress/eqn/subsup/combine.out_html @@ -0,0 +1 @@ +x12+ex2 diff --git a/contrib/mandoc/regress/eqn/subsup/noarg.in b/contrib/mandoc/regress/eqn/subsup/noarg.in new file mode 100644 index 00000000000..8f364a0c3e2 --- /dev/null +++ b/contrib/mandoc/regress/eqn/subsup/noarg.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: noarg.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SUBSUP-NOARG 1 +.Os +.Sh NAME +.Nm subsup-noarg +.Nd empty subscripts and superscripts +.Sh DESCRIPTION +initial text +.EQ +x sub 1 sup sup +.EN +final text diff --git a/contrib/mandoc/regress/eqn/subsup/noarg.out_ascii b/contrib/mandoc/regress/eqn/subsup/noarg.out_ascii new file mode 100644 index 00000000000..eec09f18199 --- /dev/null +++ b/contrib/mandoc/regress/eqn/subsup/noarg.out_ascii @@ -0,0 +1,9 @@ +SUBSUP-NOARG(1) General Commands Manual SUBSUP-NOARG(1) + +NNAAMMEE + ssuubbssuupp--nnooaarrgg - empty subscripts and superscripts + +DDEESSCCRRIIPPTTIIOONN + initial text _x_(1^)^ final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/subsup/noarg.out_html b/contrib/mandoc/regress/eqn/subsup/noarg.out_html new file mode 100644 index 00000000000..e5f4fd76d27 --- /dev/null +++ b/contrib/mandoc/regress/eqn/subsup/noarg.out_html @@ -0,0 +1 @@ +x1 diff --git a/contrib/mandoc/regress/eqn/subsup/precedence.in b/contrib/mandoc/regress/eqn/subsup/precedence.in new file mode 100644 index 00000000000..d184fc07088 --- /dev/null +++ b/contrib/mandoc/regress/eqn/subsup/precedence.in @@ -0,0 +1,14 @@ +.\" $OpenBSD: precedence.in,v 1.1 2017/07/06 00:08:52 schwarze Exp $ +.Dd $Mdocdate: July 6 2017 $ +.Dt SUBSUP-PRECEDENCE 1 +.Os +.Sh NAME +.Nm subsup-precedence +.Nd precedence of subscripts and superscripts +.Sh DESCRIPTION +initial text +.EQ +x hat sub 1 under sup 2 bar + e tilde sup x hat sub s dyad ; +roman I sub bold I sup italic I + roman I sup bold I sub italic I +.EN +final text diff --git a/contrib/mandoc/regress/eqn/subsup/precedence.out_ascii b/contrib/mandoc/regress/eqn/subsup/precedence.out_ascii new file mode 100644 index 00000000000..65f85d6cea3 --- /dev/null +++ b/contrib/mandoc/regress/eqn/subsup/precedence.out_ascii @@ -0,0 +1,9 @@ +SUBSUP-PRECEDENCE(1) General Commands Manual SUBSUP-PRECEDENCE(1) + +NNAAMMEE + ssuubbssuupp--pprreecceeddeennccee - precedence of subscripts and superscripts + +DDEESSCCRRIIPPTTIIOONN + initial text (_x^)_(1_)^2- + (_e~)^((_x^)__s<->) ; I_II^_I + I^(II__I) final text + +OpenBSD July 6, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/subsup/precedence.out_html b/contrib/mandoc/regress/eqn/subsup/precedence.out_html new file mode 100644 index 00000000000..ead91d078fc --- /dev/null +++ b/contrib/mandoc/regress/eqn/subsup/precedence.out_html @@ -0,0 +1 @@ +x^1_2+e~x^s;III+III diff --git a/contrib/mandoc/regress/eqn/subsup/sub_group.in b/contrib/mandoc/regress/eqn/subsup/sub_group.in new file mode 100644 index 00000000000..10e9ca5d101 --- /dev/null +++ b/contrib/mandoc/regress/eqn/subsup/sub_group.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: sub_group.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SUBSUP-SUB_GROUP 1 +.Os +.Sh NAME +.Nm subsup-sub_group +.Nd grouping of subscripts +.Sh DESCRIPTION +initial text +.EQ +x sub i + x sub j sub 1 + { M sub i } sub j +.EN +final text diff --git a/contrib/mandoc/regress/eqn/subsup/sub_group.out_ascii b/contrib/mandoc/regress/eqn/subsup/sub_group.out_ascii new file mode 100644 index 00000000000..5628e6d966a --- /dev/null +++ b/contrib/mandoc/regress/eqn/subsup/sub_group.out_ascii @@ -0,0 +1,9 @@ +SUBSUP-SUB_GROUP(1) General Commands Manual SUBSUP-SUB_GROUP(1) + +NNAAMMEE + ssuubbssuupp--ssuubb__ggrroouupp - grouping of subscripts + +DDEESSCCRRIIPPTTIIOONN + initial text _x__i + _x_(_j_1) + (_M__i)__j final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/subsup/sub_group.out_html b/contrib/mandoc/regress/eqn/subsup/sub_group.out_html new file mode 100644 index 00000000000..e74584eba1f --- /dev/null +++ b/contrib/mandoc/regress/eqn/subsup/sub_group.out_html @@ -0,0 +1 @@ +xi+xj1+Mij diff --git a/contrib/mandoc/regress/eqn/unary/Makefile b/contrib/mandoc/regress/eqn/unary/Makefile new file mode 100644 index 00000000000..3679153c5ec --- /dev/null +++ b/contrib/mandoc/regress/eqn/unary/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2015/01/01 12:53:46 schwarze Exp $ + +REGRESS_TARGETS = bold diacrit sqrt +HTML_TARGETS = bold diacrit sqrt + +.include diff --git a/contrib/mandoc/regress/eqn/unary/bold.in b/contrib/mandoc/regress/eqn/unary/bold.in new file mode 100644 index 00000000000..e77398f46e9 --- /dev/null +++ b/contrib/mandoc/regress/eqn/unary/bold.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: bold.in,v 1.3 2017/07/06 00:08:52 schwarze Exp $ +.Dd $Mdocdate: July 6 2017 $ +.Dt UNARY-BOLD 1 +.Os +.Sh NAME +.Nm unary-bold +.Nd font handling in bold boxes +.Sh DESCRIPTION +initial text +.EQ +bold { sin "sin" } "text" bold x hat +.EN +final text diff --git a/contrib/mandoc/regress/eqn/unary/bold.out_ascii b/contrib/mandoc/regress/eqn/unary/bold.out_ascii new file mode 100644 index 00000000000..7356ede0a56 --- /dev/null +++ b/contrib/mandoc/regress/eqn/unary/bold.out_ascii @@ -0,0 +1,9 @@ +UNARY-BOLD(1) General Commands Manual UNARY-BOLD(1) + +NNAAMMEE + uunnaarryy--bboolldd - font handling in bold boxes + +DDEESSCCRRIIPPTTIIOONN + initial text ((sin ssiinn)) _t_e_x_t xx^^ final text + +OpenBSD July 6, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/unary/bold.out_html b/contrib/mandoc/regress/eqn/unary/bold.out_html new file mode 100644 index 00000000000..e1263a4fd30 --- /dev/null +++ b/contrib/mandoc/regress/eqn/unary/bold.out_html @@ -0,0 +1 @@ +sinsintextx^ diff --git a/contrib/mandoc/regress/eqn/unary/diacrit.in b/contrib/mandoc/regress/eqn/unary/diacrit.in new file mode 100644 index 00000000000..ab83dbb1b8b --- /dev/null +++ b/contrib/mandoc/regress/eqn/unary/diacrit.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: diacrit.in,v 1.3 2017/07/06 00:08:52 schwarze Exp $ +.Dd $Mdocdate: July 6 2017 $ +.Dt UNARY-DIACRIT 1 +.Os +.Sh NAME +.Nm unary-diacrit +.Nd diacritical marks in equations +.Sh DESCRIPTION +initial text +.EQ +x dot x dotdot x hat x tilde x vec x dyad +{ x + y } bar { x + y } under +x tilde hat +.EN +final text diff --git a/contrib/mandoc/regress/eqn/unary/diacrit.out_ascii b/contrib/mandoc/regress/eqn/unary/diacrit.out_ascii new file mode 100644 index 00000000000..d9fc655886f --- /dev/null +++ b/contrib/mandoc/regress/eqn/unary/diacrit.out_ascii @@ -0,0 +1,9 @@ +UNARY-DIACRIT(1) General Commands Manual UNARY-DIACRIT(1) + +NNAAMMEE + uunnaarryy--ddiiaaccrriitt - diacritical marks in equations + +DDEESSCCRRIIPPTTIIOONN + initial text _x. _x" _x^ _x~ _x-> _x<-> (_x + _y)- (_x + _y)_ _x~^ final text + +OpenBSD July 6, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/unary/diacrit.out_html b/contrib/mandoc/regress/eqn/unary/diacrit.out_html new file mode 100644 index 00000000000..0934fd256aa --- /dev/null +++ b/contrib/mandoc/regress/eqn/unary/diacrit.out_html @@ -0,0 +1 @@ +x˙x¨x^x~xxx+yx+y_x~^ diff --git a/contrib/mandoc/regress/eqn/unary/sqrt.in b/contrib/mandoc/regress/eqn/unary/sqrt.in new file mode 100644 index 00000000000..e007ff01739 --- /dev/null +++ b/contrib/mandoc/regress/eqn/unary/sqrt.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: sqrt.in,v 1.5 2017/07/06 00:08:52 schwarze Exp $ +.Dd $Mdocdate: July 6 2017 $ +.Dt UNARY-SQRT 1 +.Os +.Sh NAME +.Nm unary-sqrt +.Nd square root +.Sh DESCRIPTION +initial text +.EQ +r = sqrt { x sup 2 + y sup 2 } + sqrt a+b + sqrt x hat + sqrt { } + sqrt +.EN +final text diff --git a/contrib/mandoc/regress/eqn/unary/sqrt.out_ascii b/contrib/mandoc/regress/eqn/unary/sqrt.out_ascii new file mode 100644 index 00000000000..72b7047debc --- /dev/null +++ b/contrib/mandoc/regress/eqn/unary/sqrt.out_ascii @@ -0,0 +1,10 @@ +UNARY-SQRT(1) General Commands Manual UNARY-SQRT(1) + +NNAAMMEE + uunnaarryy--ssqqrrtt - square root + +DDEESSCCRRIIPPTTIIOONN + initial text _r = sqrt(_x^2 + _y^2) + sqrt(_a + _b) + sqrt(_x^) + sqrt() + sqrt + final text + +OpenBSD July 6, 2017 OpenBSD diff --git a/contrib/mandoc/regress/eqn/unary/sqrt.out_html b/contrib/mandoc/regress/eqn/unary/sqrt.out_html new file mode 100644 index 00000000000..0b5fe37e1d5 --- /dev/null +++ b/contrib/mandoc/regress/eqn/unary/sqrt.out_html @@ -0,0 +1 @@ +r=x2+y2+a+b+x^++ diff --git a/contrib/mandoc/regress/man/B/Makefile b/contrib/mandoc/regress/man/B/Makefile new file mode 100644 index 00000000000..0fbecac0f72 --- /dev/null +++ b/contrib/mandoc/regress/man/B/Makefile @@ -0,0 +1,10 @@ +# $OpenBSD: Makefile,v 1.1 2014/08/14 02:00:52 schwarze Exp $ + +REGRESS_TARGETS = args blank +LINT_TARGETS = args blank + +# groff-1.22.3 defect: +# - A blank line in next line scope causes a blank line. +SKIP_GROFF = blank + +.include diff --git a/contrib/mandoc/regress/man/B/args.in b/contrib/mandoc/regress/man/B/args.in new file mode 100644 index 00000000000..662fcb47ff7 --- /dev/null +++ b/contrib/mandoc/regress/man/B/args.in @@ -0,0 +1,21 @@ +.\" $OpenBSD: args.in,v 1.3 2017/07/04 14:53:23 schwarze Exp $ +.TH B-ARGS 1 "July 30, 2014" +.SH NAME +B-args \- arguments to font macros +.SH DESCRIPTION +This is +.B bold +text. +It also works with +.B several words on a line +and with +.B +next line +scope. +.nf +In no-fill mode: +.B two words +and another line. +.fi +It has no effect at the end of the file: +.B diff --git a/contrib/mandoc/regress/man/B/args.out_ascii b/contrib/mandoc/regress/man/B/args.out_ascii new file mode 100644 index 00000000000..e510267551a --- /dev/null +++ b/contrib/mandoc/regress/man/B/args.out_ascii @@ -0,0 +1,18 @@ +B-ARGS(1) General Commands Manual B-ARGS(1) + + + +NNAAMMEE + B-args - arguments to font macros + +DDEESSCCRRIIPPTTIIOONN + This is bboolldd text. It also works with sseevveerraall wwoorrddss oonn aa lliinnee and with + nneexxtt lliinnee scope. + In no-fill mode: + ttwwoo wwoorrddss + and another line. + It has no effect at the end of the file: + + + +OpenBSD July 30, 2014 B-ARGS(1) diff --git a/contrib/mandoc/regress/man/B/args.out_lint b/contrib/mandoc/regress/man/B/args.out_lint new file mode 100644 index 00000000000..42fad123e76 --- /dev/null +++ b/contrib/mandoc/regress/man/B/args.out_lint @@ -0,0 +1 @@ +mandoc: args.in:21:2: WARNING: line scope broken: EOF breaks B diff --git a/contrib/mandoc/regress/man/B/blank.in b/contrib/mandoc/regress/man/B/blank.in new file mode 100644 index 00000000000..929ce982ad7 --- /dev/null +++ b/contrib/mandoc/regress/man/B/blank.in @@ -0,0 +1,10 @@ +.\" $OpenBSD: blank.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH B-BLANK 1 "June 3, 2017" +.SH NAME +B-blank \- blank line in font macro next line scope +.SH DESCRIPTION +A blank line in +.B + +bold +next line scope. diff --git a/contrib/mandoc/regress/man/B/blank.out_ascii b/contrib/mandoc/regress/man/B/blank.out_ascii new file mode 100644 index 00000000000..4ecf27d81f1 --- /dev/null +++ b/contrib/mandoc/regress/man/B/blank.out_ascii @@ -0,0 +1,13 @@ +B-BLANK(1) General Commands Manual B-BLANK(1) + + + +NNAAMMEE + B-blank - blank line in font macro next line scope + +DDEESSCCRRIIPPTTIIOONN + A blank line in bboolldd next line scope. + + + +OpenBSD June 3, 2017 B-BLANK(1) diff --git a/contrib/mandoc/regress/man/B/blank.out_lint b/contrib/mandoc/regress/man/B/blank.out_lint new file mode 100644 index 00000000000..2520aa02b9c --- /dev/null +++ b/contrib/mandoc/regress/man/B/blank.out_lint @@ -0,0 +1 @@ +mandoc: blank.in:8:1: WARNING: skipping blank line in line scope diff --git a/contrib/mandoc/regress/man/BI/Makefile b/contrib/mandoc/regress/man/BI/Makefile new file mode 100644 index 00000000000..b23aeeadb65 --- /dev/null +++ b/contrib/mandoc/regress/man/BI/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.3 2015/04/06 22:06:06 schwarze Exp $ + +REGRESS_TARGETS = emptyargs literal + +.include diff --git a/contrib/mandoc/regress/man/BI/emptyargs.in b/contrib/mandoc/regress/man/BI/emptyargs.in new file mode 100644 index 00000000000..4bfbb30cdb5 --- /dev/null +++ b/contrib/mandoc/regress/man/BI/emptyargs.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: emptyargs.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH BI-EMPTYARGS 1 "April 6, 2015" +.SH NAME +BI-emptyargs \- empty arguments to font alternation macros +.SH DESCRIPTION +leading text +.TP 6n +.BI bold italic "" "" +.BI bold "" "" italic +.PP +trailing text diff --git a/contrib/mandoc/regress/man/BI/emptyargs.out_ascii b/contrib/mandoc/regress/man/BI/emptyargs.out_ascii new file mode 100644 index 00000000000..3469b7e0c1a --- /dev/null +++ b/contrib/mandoc/regress/man/BI/emptyargs.out_ascii @@ -0,0 +1,18 @@ +BI-EMPTYARGS(1) General Commands Manual BI-EMPTYARGS(1) + + + +NNAAMMEE + BI-emptyargs - empty arguments to font alternation macros + +DDEESSCCRRIIPPTTIIOONN + leading text + + bboolldd_i_t_a_l_i_c + bboolldd_i_t_a_l_i_c + + trailing text + + + +OpenBSD April 6, 2015 BI-EMPTYARGS(1) diff --git a/contrib/mandoc/regress/man/BI/literal.in b/contrib/mandoc/regress/man/BI/literal.in new file mode 100644 index 00000000000..9910bd7cd0a --- /dev/null +++ b/contrib/mandoc/regress/man/BI/literal.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: literal.in,v 1.3 2017/07/04 14:53:23 schwarze Exp $ +.TH GETTEXT 3 "May 2001" "GNU gettext 0.18" +.SH NAME +gettext, dgettext, dcgettext \- translate message +.SH SYNOPSIS +.nf +.B #include +.sp +.BI "char * gettext (const char * " msgid ); +.BI "char * dgettext (const char * " domainname ", const char * " msgid ); +.BI "char * dcgettext (const char * " domainname ", const char * " msgid , +.BI " int " category ); +.fi diff --git a/contrib/mandoc/regress/man/BI/literal.out_ascii b/contrib/mandoc/regress/man/BI/literal.out_ascii new file mode 100644 index 00000000000..d5682a8e12a --- /dev/null +++ b/contrib/mandoc/regress/man/BI/literal.out_ascii @@ -0,0 +1,18 @@ +GETTEXT(3) Library Functions Manual GETTEXT(3) + + + +NNAAMMEE + gettext, dgettext, dcgettext - translate message + +SSYYNNOOPPSSIISS + ##iinncclluuddee <> + + cchhaarr ** ggeetttteexxtt ((ccoonnsstt cchhaarr ** _m_s_g_i_d));; + cchhaarr ** ddggeetttteexxtt ((ccoonnsstt cchhaarr ** _d_o_m_a_i_n_n_a_m_e,, ccoonnsstt cchhaarr ** _m_s_g_i_d));; + cchhaarr ** ddccggeetttteexxtt ((ccoonnsstt cchhaarr ** _d_o_m_a_i_n_n_a_m_e,, ccoonnsstt cchhaarr ** _m_s_g_i_d,, + iinntt _c_a_t_e_g_o_r_y));; + + + +GNU gettext 0.18 May 2001 GETTEXT(3) diff --git a/contrib/mandoc/regress/man/EX/Makefile b/contrib/mandoc/regress/man/EX/Makefile new file mode 100644 index 00000000000..8837c524e41 --- /dev/null +++ b/contrib/mandoc/regress/man/EX/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.1 2012/06/02 20:07:09 schwarze Exp $ + +REGRESS_TARGETS=spacing nested args + +.include diff --git a/contrib/mandoc/regress/man/EX/args.in b/contrib/mandoc/regress/man/EX/args.in new file mode 100644 index 00000000000..9cfd112b60d --- /dev/null +++ b/contrib/mandoc/regress/man/EX/args.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: args.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH EX-ARGS 1 "June 3, 2012" +.SH NAME +EX-args \- example macro with arguments +.SH DESCRIPTION +regular +text +.EX arg1 arg2 arg3 +literal +text +.EE arg1 arg2 arg3 +regular +text diff --git a/contrib/mandoc/regress/man/EX/args.out_ascii b/contrib/mandoc/regress/man/EX/args.out_ascii new file mode 100644 index 00000000000..c30bfb31526 --- /dev/null +++ b/contrib/mandoc/regress/man/EX/args.out_ascii @@ -0,0 +1,16 @@ +EX-ARGS(1) General Commands Manual EX-ARGS(1) + + + +NNAAMMEE + EX-args - example macro with arguments + +DDEESSCCRRIIPPTTIIOONN + regular text + literal + text + regular text + + + +OpenBSD June 3, 2012 EX-ARGS(1) diff --git a/contrib/mandoc/regress/man/EX/nested.in b/contrib/mandoc/regress/man/EX/nested.in new file mode 100644 index 00000000000..16ed9146fc0 --- /dev/null +++ b/contrib/mandoc/regress/man/EX/nested.in @@ -0,0 +1,19 @@ +.\" $OpenBSD: nested.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH EX-NESTED 1 "June 3, 2012" +.SH NAME +EX-nested \- nested example macros +.SH DESCRIPTION +regular +text +.EX +outer +example +.EX +inner +example +.EE +outer +example +.EE +regular +text diff --git a/contrib/mandoc/regress/man/EX/nested.out_ascii b/contrib/mandoc/regress/man/EX/nested.out_ascii new file mode 100644 index 00000000000..3d639b2822f --- /dev/null +++ b/contrib/mandoc/regress/man/EX/nested.out_ascii @@ -0,0 +1,19 @@ +EX-NESTED(1) General Commands Manual EX-NESTED(1) + + + +NNAAMMEE + EX-nested - nested example macros + +DDEESSCCRRIIPPTTIIOONN + regular text + outer + example + inner + example + outer example + regular text + + + +OpenBSD June 3, 2012 EX-NESTED(1) diff --git a/contrib/mandoc/regress/man/EX/spacing.in b/contrib/mandoc/regress/man/EX/spacing.in new file mode 100644 index 00000000000..21ec1a3d5c4 --- /dev/null +++ b/contrib/mandoc/regress/man/EX/spacing.in @@ -0,0 +1,36 @@ +.\" $OpenBSD: spacing.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH EX-SPACING 1 "June 3, 2012" +.SH NAME +EX-spacing \- spacing around the example macro +.SH DESCRIPTION +regular +text +.EX +example +text +.EE +regular +text +.nf +literal +text +.EX +example +text +.EE +regular +text +.PP +.EX +after PP, before nf +.EE +.nf +.EX +after nf, before fi +.EE +.fi +after fi, before PP +.EE +.PP +regular +text diff --git a/contrib/mandoc/regress/man/EX/spacing.out_ascii b/contrib/mandoc/regress/man/EX/spacing.out_ascii new file mode 100644 index 00000000000..0dd2527f977 --- /dev/null +++ b/contrib/mandoc/regress/man/EX/spacing.out_ascii @@ -0,0 +1,27 @@ +EX-SPACING(1) General Commands Manual EX-SPACING(1) + + + +NNAAMMEE + EX-spacing - spacing around the example macro + +DDEESSCCRRIIPPTTIIOONN + regular text + example + text + regular text + literal + text + example + text + regular text + + after PP, before nf + after nf, before fi + after fi, before PP + + regular text + + + +OpenBSD June 3, 2012 EX-SPACING(1) diff --git a/contrib/mandoc/regress/man/HP/Makefile b/contrib/mandoc/regress/man/HP/Makefile new file mode 100644 index 00000000000..e0d2a3b4aa2 --- /dev/null +++ b/contrib/mandoc/regress/man/HP/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.2 2014/04/08 04:45:50 schwarze Exp $ + +REGRESS_TARGETS = break literal macrotag manyargs spacing + +.include diff --git a/contrib/mandoc/regress/man/HP/break.in b/contrib/mandoc/regress/man/HP/break.in new file mode 100644 index 00000000000..adefd55c594 --- /dev/null +++ b/contrib/mandoc/regress/man/HP/break.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: break.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH HP-BREAK 1 "September 21, 2011" +.SH NAME +HP-break \- breaking the head line of hanged paragraphs +.SH DESCRIPTION +.HP 12n +This is an extremely long head line of a hanged paragraph; +it is so long that it won't even fit on the line. +.fi +The body of the hanged paragraph is quite long as well +and will again break the line. diff --git a/contrib/mandoc/regress/man/HP/break.out_ascii b/contrib/mandoc/regress/man/HP/break.out_ascii new file mode 100644 index 00000000000..bb9cca2ca8f --- /dev/null +++ b/contrib/mandoc/regress/man/HP/break.out_ascii @@ -0,0 +1,16 @@ +HP-BREAK(1) General Commands Manual HP-BREAK(1) + + + +NNAAMMEE + HP-break - breaking the head line of hanged paragraphs + +DDEESSCCRRIIPPTTIIOONN + This is an extremely long head line of a hanged paragraph; it is so + long that it won't even fit on the line. + The body of the hanged paragraph is quite long as well and + will again break the line. + + + +OpenBSD September 21, 2011 HP-BREAK(1) diff --git a/contrib/mandoc/regress/man/HP/literal.in b/contrib/mandoc/regress/man/HP/literal.in new file mode 100644 index 00000000000..0f256638d62 --- /dev/null +++ b/contrib/mandoc/regress/man/HP/literal.in @@ -0,0 +1,27 @@ +.\" $OpenBSD: literal.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH HP-LITERAL 1 "January 4, 2011" +.SH NAME +HP-literal \- hanged paragraphs in literal context +.SH DESCRIPTION +regular +text +.HP 10n +tag +indented +text +.PP +regular +text +.nf +literal +text +.HP 10n +tag +indented +text +.PP +literal +text +.fi +regular +text diff --git a/contrib/mandoc/regress/man/HP/literal.out_ascii b/contrib/mandoc/regress/man/HP/literal.out_ascii new file mode 100644 index 00000000000..ff7aabf7c28 --- /dev/null +++ b/contrib/mandoc/regress/man/HP/literal.out_ascii @@ -0,0 +1,27 @@ +HP-LITERAL(1) General Commands Manual HP-LITERAL(1) + + + +NNAAMMEE + HP-literal - hanged paragraphs in literal context + +DDEESSCCRRIIPPTTIIOONN + regular text + + tag indented text + + regular text + literal + text + + tag + indented + text + + literal + text + regular text + + + +OpenBSD January 4, 2011 HP-LITERAL(1) diff --git a/contrib/mandoc/regress/man/HP/macrotag.in b/contrib/mandoc/regress/man/HP/macrotag.in new file mode 100644 index 00000000000..d848da57028 --- /dev/null +++ b/contrib/mandoc/regress/man/HP/macrotag.in @@ -0,0 +1,14 @@ +.\" $OpenBSD: macrotag.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH HP-MACROTAG 1 "September 20, 2011" +.SH NAME +HP-macrotag \- macro in the head of a tagged paragraph +.SH DESCRIPTION +regular +text +.HP +.B longindent +indented +text +.PP +regular +text diff --git a/contrib/mandoc/regress/man/HP/macrotag.out_ascii b/contrib/mandoc/regress/man/HP/macrotag.out_ascii new file mode 100644 index 00000000000..64541ab38a4 --- /dev/null +++ b/contrib/mandoc/regress/man/HP/macrotag.out_ascii @@ -0,0 +1,17 @@ +HP-MACROTAG(1) General Commands Manual HP-MACROTAG(1) + + + +NNAAMMEE + HP-macrotag - macro in the head of a tagged paragraph + +DDEESSCCRRIIPPTTIIOONN + regular text + + lloonnggiinnddeenntt indented text + + regular text + + + +OpenBSD September 20, 2011 HP-MACROTAG(1) diff --git a/contrib/mandoc/regress/man/HP/manyargs.in b/contrib/mandoc/regress/man/HP/manyargs.in new file mode 100644 index 00000000000..9c7eb312215 --- /dev/null +++ b/contrib/mandoc/regress/man/HP/manyargs.in @@ -0,0 +1,46 @@ +.\" $OpenBSD: manyargs.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH HP-MANYARGS 1 "January 4, 2011" +.SH NAME +HP-manyargs \- too many header args for hanged blocks +.SH DESCRIPTION +regular +text +.HP 10n +tag1 +indented +text +.PP +regular +text +.HP 10n tag1 +tag2 +indented +text +.PP +regular +text +.HP 10n tag2 tag1 +tag3 +indented +text +.nf +literal +text +.HP 10n +tag1 +indented +text +.PP +literal +text +.HP 10n tag1 +tag2 +indented +text +.PP +literal +text +.HP 10n tag2 tag1 +tag3 +indented +text diff --git a/contrib/mandoc/regress/man/HP/manyargs.out_ascii b/contrib/mandoc/regress/man/HP/manyargs.out_ascii new file mode 100644 index 00000000000..be399855a33 --- /dev/null +++ b/contrib/mandoc/regress/man/HP/manyargs.out_ascii @@ -0,0 +1,43 @@ +HP-MANYARGS(1) General Commands Manual HP-MANYARGS(1) + + + +NNAAMMEE + HP-manyargs - too many header args for hanged blocks + +DDEESSCCRRIIPPTTIIOONN + regular text + + tag1 indented text + + regular text + + tag2 indented text + + regular text + + tag3 indented text + literal + text + + tag1 + indented + text + + literal + text + + tag2 + indented + text + + literal + text + + tag3 + indented + text + + + +OpenBSD January 4, 2011 HP-MANYARGS(1) diff --git a/contrib/mandoc/regress/man/HP/spacing.in b/contrib/mandoc/regress/man/HP/spacing.in new file mode 100644 index 00000000000..7f3f2f6b214 --- /dev/null +++ b/contrib/mandoc/regress/man/HP/spacing.in @@ -0,0 +1,60 @@ +.\" $OpenBSD: spacing.in,v 1.6 2017/07/04 14:53:23 schwarze Exp $ +.TH HP-SPACING 1 "December 23, 2014" +.SH NAME +HP-spacing \- spacing in hanged lists +.SH DESCRIPTION +Normal text. +.HP +Each hanged paragraph gets a sufficient amount of text +to wrap to the next line. +.br +And a second line. +.sp 1v +Vertical spacing an a third line. +.br +A fourth line. +.HP -10n +Each hanged paragraph gets a sufficient amount of text +to wrap to the next line. +.br +And a second line. +.HP -0.36i +Each hanged paragraph gets a sufficient amount of text +to wrap to the next line. +.br +And a second line. +.HP 0n +Each hanged paragraph gets a sufficient amount of text +to wrap to the next line. +.br +And a second line. +.HP 1n +Each hanged paragraph gets a sufficient amount of text +to wrap to the next line. +.br +And a second line. +.HP 2n +Each hanged paragraph gets a sufficient amount of text +to wrap to the next line. +.br +And a second line. +.HP 4n +Each hanged paragraph gets a sufficient amount of text +to wrap to the next line. +.br +And a second line. +.HP .76i +Each hanged paragraph gets a sufficient amount of text +to wrap to the next line. +.br +And a second line. +.HP 16n +Each hanged paragraph gets a sufficient amount of text +to wrap to the next line. +.br +And a second line. +.HP 78n +Each hanged paragraph gets a sufficient amount of text +to wrap to the next line. +.LP +Normal text. diff --git a/contrib/mandoc/regress/man/HP/spacing.out_ascii b/contrib/mandoc/regress/man/HP/spacing.out_ascii new file mode 100644 index 00000000000..a2233044dda --- /dev/null +++ b/contrib/mandoc/regress/man/HP/spacing.out_ascii @@ -0,0 +1,58 @@ +HP-SPACING(1) General Commands Manual HP-SPACING(1) + + + +NNAAMMEE + HP-spacing - spacing in hanged lists + +DDEESSCCRRIIPPTTIIOONN + Normal text. + + Each hanged paragraph gets a sufficient amount of text to wrap to the + next line. + And a second line. + + Vertical spacing an a third line. + A fourth line. + + Each hanged paragraph gets a sufficient amount of text to wrap to the +next line. +And a second line. + + Each hanged paragraph gets a sufficient amount of text to wrap to the + next line. + And a second line. + + Each hanged paragraph gets a sufficient amount of text to wrap to the + next line. + And a second line. + + Each hanged paragraph gets a sufficient amount of text to wrap to the + next line. + And a second line. + + Each hanged paragraph gets a sufficient amount of text to wrap to the + next line. + And a second line. + + Each hanged paragraph gets a sufficient amount of text to wrap to the + next line. + And a second line. + + Each hanged paragraph gets a sufficient amount of text to wrap to the + next line. + And a second line. + + Each hanged paragraph gets a sufficient amount of text to wrap to the + next line. + And a second line. + + Each hanged paragraph gets a sufficient amount of text to wrap to the + next + line. + + Normal text. + + + +OpenBSD December 23, 2014 HP-SPACING(1) diff --git a/contrib/mandoc/regress/man/IP/Makefile b/contrib/mandoc/regress/man/IP/Makefile new file mode 100644 index 00000000000..9edc12e1c24 --- /dev/null +++ b/contrib/mandoc/regress/man/IP/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.8 2014/07/02 05:51:49 schwarze Exp $ + +REGRESS_TARGETS = empty literal longhead manyargs spacing width +LINT_TARGETS = empty + +.include diff --git a/contrib/mandoc/regress/man/IP/empty.in b/contrib/mandoc/regress/man/IP/empty.in new file mode 100644 index 00000000000..21c42983ad5 --- /dev/null +++ b/contrib/mandoc/regress/man/IP/empty.in @@ -0,0 +1,27 @@ +.\" $OpenBSD: empty.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH IP-EMPTY 1 "July 17, 2012" +.SH NAME +IP-empty \- empty indented paragraphs +.SH DESCRIPTION +regular +text +.IP +indented +text +.PP +Empty IP is deleted: +.IP +.IP tag1 10n +.IP tag2 +indented +text +.PP +Empty IP is deleted, RS does not cause additional spacing: +.IP +.RS +.IP tag +indented +text +.RE +regular +text diff --git a/contrib/mandoc/regress/man/IP/empty.out_ascii b/contrib/mandoc/regress/man/IP/empty.out_ascii new file mode 100644 index 00000000000..24ab17fab37 --- /dev/null +++ b/contrib/mandoc/regress/man/IP/empty.out_ascii @@ -0,0 +1,26 @@ +IP-EMPTY(1) General Commands Manual IP-EMPTY(1) + + + +NNAAMMEE + IP-empty - empty indented paragraphs + +DDEESSCCRRIIPPTTIIOONN + regular text + + indented text + + Empty IP is deleted: + + tag1 + + tag2 indented text + + Empty IP is deleted, RS does not cause additional spacing: + + tag indented text + regular text + + + +OpenBSD July 17, 2012 IP-EMPTY(1) diff --git a/contrib/mandoc/regress/man/IP/empty.out_lint b/contrib/mandoc/regress/man/IP/empty.out_lint new file mode 100644 index 00000000000..6c666c88fee --- /dev/null +++ b/contrib/mandoc/regress/man/IP/empty.out_lint @@ -0,0 +1,2 @@ +mandoc: empty.in:13:2: WARNING: skipping paragraph macro: IP empty +mandoc: empty.in:20:2: WARNING: skipping paragraph macro: IP empty diff --git a/contrib/mandoc/regress/man/IP/literal.in b/contrib/mandoc/regress/man/IP/literal.in new file mode 100644 index 00000000000..edb8eb02494 --- /dev/null +++ b/contrib/mandoc/regress/man/IP/literal.in @@ -0,0 +1,65 @@ +.\" $OpenBSD: literal.in,v 1.6 2017/07/04 14:53:23 schwarze Exp $ +.TH IP-LITERAL 1 "January 4, 2011" +.SH NAME +IP-literal \- indented paragraphs in literal context +.SH DESCRIPTION +regular +text +.IP tag 10n +indented +regular +text +.PP +new +regular +paragraph +.nf +literal +text +.IP tag 10n +indented +literal +text +.PP +new +literal +paragraph +.fi +regular +text +.SS literal into indented paragraph +regular +text +.nf +literal +text +.IP tag 10n +indented +literal +text +.fi +indented +regular +text +.PP +new +regular +paragraph +.SS literal out of indented paragraph +regular +text +.IP tag 10n +indented +regular +text +.nf +indented +literal +text +.PP +new +literal +paragraph +.fi +regular +text diff --git a/contrib/mandoc/regress/man/IP/literal.out_ascii b/contrib/mandoc/regress/man/IP/literal.out_ascii new file mode 100644 index 00000000000..db020a5ecd3 --- /dev/null +++ b/contrib/mandoc/regress/man/IP/literal.out_ascii @@ -0,0 +1,53 @@ +IP-LITERAL(1) General Commands Manual IP-LITERAL(1) + + + +NNAAMMEE + IP-literal - indented paragraphs in literal context + +DDEESSCCRRIIPPTTIIOONN + regular text + + tag indented regular text + + new regular paragraph + literal + text + + tag indented + literal + text + + new + literal + paragraph + regular text + + lliitteerraall iinnttoo iinnddeenntteedd ppaarraaggrraapphh + regular text + literal + text + + tag indented + literal + text + indented regular text + + new regular paragraph + + lliitteerraall oouutt ooff iinnddeenntteedd ppaarraaggrraapphh + regular text + + tag indented regular text + indented + literal + text + + new + literal + paragraph + regular text + + + +OpenBSD January 4, 2011 IP-LITERAL(1) diff --git a/contrib/mandoc/regress/man/IP/longhead.in b/contrib/mandoc/regress/man/IP/longhead.in new file mode 100644 index 00000000000..566e5002342 --- /dev/null +++ b/contrib/mandoc/regress/man/IP/longhead.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: longhead.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH IP-LONGHEAD 1 "April 8, 2014" +.SH NAME +IP-longhead \- indented paragraph with a long head +.SH DESCRIPTION +normal text +.IP "This indented paragraph has ridiculously long text \ +in its head, such that it doesn't even fit on the line" 6n +paragraph body +.PP +normal text diff --git a/contrib/mandoc/regress/man/IP/longhead.out_ascii b/contrib/mandoc/regress/man/IP/longhead.out_ascii new file mode 100644 index 00000000000..ce0ef10966e --- /dev/null +++ b/contrib/mandoc/regress/man/IP/longhead.out_ascii @@ -0,0 +1,19 @@ +IP-LONGHEAD(1) General Commands Manual IP-LONGHEAD(1) + + + +NNAAMMEE + IP-longhead - indented paragraph with a long head + +DDEESSCCRRIIPPTTIIOONN + normal text + + This indented paragraph has ridiculously long text in its head, such + that it doesn't even fit on the line + paragraph body + + normal text + + + +OpenBSD April 8, 2014 IP-LONGHEAD(1) diff --git a/contrib/mandoc/regress/man/IP/manyargs.in b/contrib/mandoc/regress/man/IP/manyargs.in new file mode 100644 index 00000000000..f2542fe7483 --- /dev/null +++ b/contrib/mandoc/regress/man/IP/manyargs.in @@ -0,0 +1,40 @@ +.\" $OpenBSD: manyargs.in,v 1.5 2017/07/04 14:53:23 schwarze Exp $ +.TH IP-MANYARGS 1 "January 4, 2011" +.SH NAME +IP-manyargs \- too many header args for indented blocks +.SH DESCRIPTION +regular +text +.IP tag1 10n +indented +text +.PP +regular +text +.IP tag2 10n tag1 +indented +text +.PP +regular +text +.IP tag3 10n tag2 tag1 +indented +text +.nf +literal +text +.IP tag1 10n +indented +text +.PP +literal +text +.IP tag2 10n tag1 +indented +text +.PP +literal +text +.IP tag3 10n tag2 tag1 +indented +text diff --git a/contrib/mandoc/regress/man/IP/manyargs.out_ascii b/contrib/mandoc/regress/man/IP/manyargs.out_ascii new file mode 100644 index 00000000000..ab05c32d6c0 --- /dev/null +++ b/contrib/mandoc/regress/man/IP/manyargs.out_ascii @@ -0,0 +1,40 @@ +IP-MANYARGS(1) General Commands Manual IP-MANYARGS(1) + + + +NNAAMMEE + IP-manyargs - too many header args for indented blocks + +DDEESSCCRRIIPPTTIIOONN + regular text + + tag1 indented text + + regular text + + tag2 indented text + + regular text + + tag3 indented text + literal + text + + tag1 indented + text + + literal + text + + tag2 indented + text + + literal + text + + tag3 indented + text + + + +OpenBSD January 4, 2011 IP-MANYARGS(1) diff --git a/contrib/mandoc/regress/man/IP/spacing.in b/contrib/mandoc/regress/man/IP/spacing.in new file mode 100644 index 00000000000..a8e6dcded93 --- /dev/null +++ b/contrib/mandoc/regress/man/IP/spacing.in @@ -0,0 +1,32 @@ +.\" $OpenBSD: spacing.in,v 1.4 2017/07/04 14:53:23 schwarze Exp $ +.TH IP-SPACING 1 "September 21, 2015" +.SH NAME +IP-spacing \- spacing in indentend paragraphs +.SH DESCRIPTION +Normal text. +.IP tag +Indented text. +.IP four +Indented text. +.IP ffive +Indented text. +.IP sixsix +Indented text. +.IP seseven +Indented text. +.IP "a much longer tag" +Indented text. +.LP +Tags with trailing space: +.IP "tag " +Three plus one makes four. +.IP "tag " +Three plus two makes five. +.IP "tag " +Three plus three makes six. +.IP "tag " +Three plus four makes seven. +.IP "tag " +Three plus five makes eight. +.LP +Normal text. diff --git a/contrib/mandoc/regress/man/IP/spacing.out_ascii b/contrib/mandoc/regress/man/IP/spacing.out_ascii new file mode 100644 index 00000000000..0aeb8291bc7 --- /dev/null +++ b/contrib/mandoc/regress/man/IP/spacing.out_ascii @@ -0,0 +1,41 @@ +IP-SPACING(1) General Commands Manual IP-SPACING(1) + + + +NNAAMMEE + IP-spacing - spacing in indentend paragraphs + +DDEESSCCRRIIPPTTIIOONN + Normal text. + + tag Indented text. + + four Indented text. + + ffive Indented text. + + sixsix Indented text. + + seseven + Indented text. + + a much longer tag + Indented text. + + Tags with trailing space: + + tag Three plus one makes four. + + tag Three plus two makes five. + + tag Three plus three makes six. + + tag Three plus four makes seven. + + tag Three plus five makes eight. + + Normal text. + + + +OpenBSD September 21, 2015 IP-SPACING(1) diff --git a/contrib/mandoc/regress/man/IP/width.in b/contrib/mandoc/regress/man/IP/width.in new file mode 100644 index 00000000000..3b5aee46f76 --- /dev/null +++ b/contrib/mandoc/regress/man/IP/width.in @@ -0,0 +1,79 @@ +.\" $OpenBSD: width.in,v 1.9 2017/07/04 14:53:23 schwarze Exp $ +.TH IP-WIDTH 1 "December 23, 2014" +.SH NAME +IP-width \- indentation width of indented paragraphs +.SH DESCRIPTION +Regular mode: +.IP tag -10n +indented +.br +text +.IP tag -0.36i +indented +.br +text +.IP tag 0n +indented +.br +text +.IP tag 1n +indented +.br +text +.IP tag 2n +indented +.br +text +.IP tag 3n +indented +.br +text +.IP tag 4n +indented +.br +text +.IP tag 5n +indented +.br +text +.IP tag xxx +indented +.br +text +.IP tag 100n +indented +.br +text +.PP +Literal mode: +.nf +.IP tag -10n +indented +text +.IP tag -4n +indented +text +.IP tag 0n +indented +text +.IP tag 1n +indented +text +.IP tag 2n +indented +text +.IP tag 0.26i +indented +text +.IP tag 4n +indented +text +.IP tag 5n +indented +text +.IP tag xxx +indented +text +.IP tag 100n +indented +text diff --git a/contrib/mandoc/regress/man/IP/width.out_ascii b/contrib/mandoc/regress/man/IP/width.out_ascii new file mode 100644 index 00000000000..a867ba70471 --- /dev/null +++ b/contrib/mandoc/regress/man/IP/width.out_ascii @@ -0,0 +1,87 @@ +IP-WIDTH(1) General Commands Manual IP-WIDTH(1) + + + +NNAAMMEE + IP-width - indentation width of indented paragraphs + +DDEESSCCRRIIPPTTIIOONN + Regular mode: + + tag +indented +text + + tag + indented + text + + tag + indented + text + + tag + indented + text + + tag + indented + text + + tag + indented + text + + tag indented + text + + tag indented + text + + tag indented + text + + tag indented + text + + Literal mode: + + tag +indented +text + + tag + indented + text + + tag + indented + text + + tag + indented + text + + tag + indented + text + + tag + indented + text + + tag indented + text + + tag indented + text + + tag indented + text + + tag indented + text + + + +OpenBSD December 23, 2014 IP-WIDTH(1) diff --git a/contrib/mandoc/regress/man/MT/Makefile b/contrib/mandoc/regress/man/MT/Makefile new file mode 100644 index 00000000000..70e0bfb51cd --- /dev/null +++ b/contrib/mandoc/regress/man/MT/Makefile @@ -0,0 +1,12 @@ +# $OpenBSD: Makefile,v 1.3 2015/02/06 11:54:03 schwarze Exp $ + +REGRESS_TARGETS = args noME +LINT_TARGETS = args noME + +# groff-1.22.3 defects: +# - Without .ME, .MT does not print the address. +# - But .ME prints <> even without .MT. + +SKIP_GROFF = noME + +.include diff --git a/contrib/mandoc/regress/man/MT/args.in b/contrib/mandoc/regress/man/MT/args.in new file mode 100644 index 00000000000..c6ea1526222 --- /dev/null +++ b/contrib/mandoc/regress/man/MT/args.in @@ -0,0 +1,30 @@ +.\" $OpenBSD: args.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH MT-ARGS 1 "June 25, 2017" +.SH NAME +MT-args \- argument handling of the man-ext mailto macro +.SH DESCRIPTION +argument plus text: +.MT test@example.com +invalid +address +.ME +.PP +argument but no text: +.MT test@example.com +.ME +.PP +no argument, but text: +.MT +some text +.ME +.PP +two arguments plus text: +.MT first second +some text +.ME +.PP +two arguments, but no text: +.MT first second +.ME +.PP +final text diff --git a/contrib/mandoc/regress/man/MT/args.out_ascii b/contrib/mandoc/regress/man/MT/args.out_ascii new file mode 100644 index 00000000000..05939dcb21d --- /dev/null +++ b/contrib/mandoc/regress/man/MT/args.out_ascii @@ -0,0 +1,23 @@ +MT-ARGS(1) General Commands Manual MT-ARGS(1) + + + +NNAAMMEE + MT-args - argument handling of the man-ext mailto macro + +DDEESSCCRRIIPPTTIIOONN + argument plus text: invalid address + + argument but no text: + + no argument, but text: some text <> + + two arguments plus text: some text + + two arguments, but no text: + + final text + + + +OpenBSD June 25, 2017 MT-ARGS(1) diff --git a/contrib/mandoc/regress/man/MT/args.out_lint b/contrib/mandoc/regress/man/MT/args.out_lint new file mode 100644 index 00000000000..e94e63de826 --- /dev/null +++ b/contrib/mandoc/regress/man/MT/args.out_lint @@ -0,0 +1,5 @@ +mandoc: args.in:22:11: ERROR: skipping excess arguments: MT ... second +mandoc: args.in:27:11: ERROR: skipping excess arguments: MT ... second +mandoc: args.in:13:2: WARNING: empty block: MT +mandoc: args.in:17:2: WARNING: missing resource identifier, using "": MT +mandoc: args.in:27:2: WARNING: empty block: MT diff --git a/contrib/mandoc/regress/man/MT/noME.in b/contrib/mandoc/regress/man/MT/noME.in new file mode 100644 index 00000000000..930433ab4b7 --- /dev/null +++ b/contrib/mandoc/regress/man/MT/noME.in @@ -0,0 +1,12 @@ +.\" $OpenBSD: noME.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH MT-NOME 1 "June 25, 2017" +.SH NAME +MT-noME \- unclosed mailto macro +.SH DESCRIPTION +lonely ME: +.ME +.PP +argument plus text: +.MT test@example.com +invalid +address diff --git a/contrib/mandoc/regress/man/MT/noME.out_ascii b/contrib/mandoc/regress/man/MT/noME.out_ascii new file mode 100644 index 00000000000..c6aee5db8ee --- /dev/null +++ b/contrib/mandoc/regress/man/MT/noME.out_ascii @@ -0,0 +1,15 @@ +MT-NOME(1) General Commands Manual MT-NOME(1) + + + +NNAAMMEE + MT-noME - unclosed mailto macro + +DDEESSCCRRIIPPTTIIOONN + lonely ME: + + argument plus text: invalid address + + + +OpenBSD June 25, 2017 MT-NOME(1) diff --git a/contrib/mandoc/regress/man/MT/noME.out_lint b/contrib/mandoc/regress/man/MT/noME.out_lint new file mode 100644 index 00000000000..70de6e2526d --- /dev/null +++ b/contrib/mandoc/regress/man/MT/noME.out_lint @@ -0,0 +1,2 @@ +mandoc: noME.in:7:2: ERROR: skipping end of block that is not open: ME +mandoc: noME.in:10:2: ERROR: appending missing end of block: MT diff --git a/contrib/mandoc/regress/man/Makefile b/contrib/mandoc/regress/man/Makefile new file mode 100644 index 00000000000..fb3e40bf620 --- /dev/null +++ b/contrib/mandoc/regress/man/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.17 2015/03/20 16:09:25 schwarze Exp $ + +SUBDIR = B BI EX HP IP MT OP PD PP RS SH SS TH TP TS UR nf blank + +.include "../Makefile.sub" +.include diff --git a/contrib/mandoc/regress/man/Makefile.inc b/contrib/mandoc/regress/man/Makefile.inc new file mode 100644 index 00000000000..9b05b274baf --- /dev/null +++ b/contrib/mandoc/regress/man/Makefile.inc @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile.inc,v 1.3 2015/02/03 19:37:25 schwarze Exp $ + +SKIP_TMAN ?= ALL +SKIP_MARKDOWN ?= ALL + +.include "../Makefile.inc" diff --git a/contrib/mandoc/regress/man/OP/Makefile b/contrib/mandoc/regress/man/OP/Makefile new file mode 100644 index 00000000000..fa4f7e9ce6a --- /dev/null +++ b/contrib/mandoc/regress/man/OP/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.1 2015/02/06 11:54:03 schwarze Exp $ + +REGRESS_TARGETS = args +LINT_TARGETS = args + +.include diff --git a/contrib/mandoc/regress/man/OP/args.in b/contrib/mandoc/regress/man/OP/args.in new file mode 100644 index 00000000000..b6f65503b72 --- /dev/null +++ b/contrib/mandoc/regress/man/OP/args.in @@ -0,0 +1,14 @@ +.\" $OpenBSD: args.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH OP-ARGS 1 "February 6, 2015" +.SH NAME +OP-args \- argument handling of the man-ext OP macro +.SH DESCRIPTION +no argument: +.OP +one argument: +.OP \-f +two arguments: +.OP \-f arg +three arguments: +.OP \-f arg bogus +final text diff --git a/contrib/mandoc/regress/man/OP/args.out_ascii b/contrib/mandoc/regress/man/OP/args.out_ascii new file mode 100644 index 00000000000..ca3e3c036a2 --- /dev/null +++ b/contrib/mandoc/regress/man/OP/args.out_ascii @@ -0,0 +1,14 @@ +OP-ARGS(1) General Commands Manual OP-ARGS(1) + + + +NNAAMMEE + OP-args - argument handling of the man-ext OP macro + +DDEESSCCRRIIPPTTIIOONN + no argument: [] one argument: [--ff] two arguments: [--ff _a_r_g] three + arguments: [--ff _a_r_g] final text + + + +OpenBSD February 6, 2015 OP-ARGS(1) diff --git a/contrib/mandoc/regress/man/OP/args.out_lint b/contrib/mandoc/regress/man/OP/args.out_lint new file mode 100644 index 00000000000..ae03588a0a5 --- /dev/null +++ b/contrib/mandoc/regress/man/OP/args.out_lint @@ -0,0 +1,2 @@ +mandoc: args.in:7:2: WARNING: missing option string, using "": OP +mandoc: args.in:13:13: ERROR: skipping excess arguments: OP ... bogus diff --git a/contrib/mandoc/regress/man/PD/Makefile b/contrib/mandoc/regress/man/PD/Makefile new file mode 100644 index 00000000000..049cbec41f4 --- /dev/null +++ b/contrib/mandoc/regress/man/PD/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.3 2015/03/20 14:47:20 schwarze Exp $ + +REGRESS_TARGETS = args nextline spacing +LINT_TARGETS = args + +.include diff --git a/contrib/mandoc/regress/man/PD/args.in b/contrib/mandoc/regress/man/PD/args.in new file mode 100644 index 00000000000..292462da197 --- /dev/null +++ b/contrib/mandoc/regress/man/PD/args.in @@ -0,0 +1,29 @@ +.\" $OpenBSD: args.in,v 1.4 2017/07/04 14:53:23 schwarze Exp $ +.TH PD-ARGS 1 "December 23, 2014" +.SH NAME +PD-args \- unusual arguments to the PD macro +.SH DESCRIPTION +initial text +.PP +default spacing +.PD 2 +.PP +argument(2) +.PD +.PP +no argument at all +.PD 2v +.PP +argument(2v) +.PD 2p +.PP +argument(2p) +.PD 1cx +.PP +argument(1cx) +.PD xxx +.PP +argument(xxx) +.PD 0 zzz +.PP +excessive argument diff --git a/contrib/mandoc/regress/man/PD/args.out_ascii b/contrib/mandoc/regress/man/PD/args.out_ascii new file mode 100644 index 00000000000..24f98d55d38 --- /dev/null +++ b/contrib/mandoc/regress/man/PD/args.out_ascii @@ -0,0 +1,31 @@ +PD-ARGS(1) General Commands Manual PD-ARGS(1) + + + +NNAAMMEE + PD-args - unusual arguments to the PD macro + +DDEESSCCRRIIPPTTIIOONN + initial text + + default spacing + + + argument(2) + + no argument at all + + + argument(2v) + argument(2p) + + + argument(1cx) + + + argument(xxx) + excessive argument + + + +OpenBSD December 23, 2014 PD-ARGS(1) diff --git a/contrib/mandoc/regress/man/PD/args.out_lint b/contrib/mandoc/regress/man/PD/args.out_lint new file mode 100644 index 00000000000..3409de2dac9 --- /dev/null +++ b/contrib/mandoc/regress/man/PD/args.out_lint @@ -0,0 +1 @@ +mandoc: args.in:27:7: ERROR: skipping excess arguments: PD ... zzz diff --git a/contrib/mandoc/regress/man/PD/nextline.in b/contrib/mandoc/regress/man/PD/nextline.in new file mode 100644 index 00000000000..68c20fec6e0 --- /dev/null +++ b/contrib/mandoc/regress/man/PD/nextline.in @@ -0,0 +1,43 @@ +.\" $OpenBSD: nextline.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH PD-NEXTLINE 1 "March 20, 2015" +.SH NAME +PD-nextline \- paragraph distance macro in next-line scope +.SH DESCRIPTION +some text +.SH +.PD 0v +NEXT SECTION +first paragraph +.PP +second paragraph +.PD 1v +.PP +third paragraph +.SS +.PD 0v +Subsection +first paragraph +.PP +second paragraph +.PD 1v +.PP +third paragraph +.TP 6n +.PD 0v +tag +list text +.TP +tag +list text +.PD 1v +.TP +tag +list text +.PP +normal text +.B +.PD 0v +bold text +normal text +.PP +final paragraph diff --git a/contrib/mandoc/regress/man/PD/nextline.out_ascii b/contrib/mandoc/regress/man/PD/nextline.out_ascii new file mode 100644 index 00000000000..f0e7332643f --- /dev/null +++ b/contrib/mandoc/regress/man/PD/nextline.out_ascii @@ -0,0 +1,33 @@ +PD-NEXTLINE(1) General Commands Manual PD-NEXTLINE(1) + + + +NNAAMMEE + PD-nextline - paragraph distance macro in next-line scope + +DDEESSCCRRIIPPTTIIOONN + some text + +NNEEXXTT SSEECCTTIIOONN + first paragraph + second paragraph + + third paragraph + + SSuubbsseeccttiioonn + first paragraph + second paragraph + + third paragraph + + tag list text + tag list text + + tag list text + + normal text bboolldd tteexxtt normal text + final paragraph + + + +OpenBSD March 20, 2015 PD-NEXTLINE(1) diff --git a/contrib/mandoc/regress/man/PD/spacing.in b/contrib/mandoc/regress/man/PD/spacing.in new file mode 100644 index 00000000000..01c3bf306bb --- /dev/null +++ b/contrib/mandoc/regress/man/PD/spacing.in @@ -0,0 +1,63 @@ +.\" $OpenBSD: spacing.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH PD-SPACING 1 "July 28, 2012" +.SH NAME +PD-spacing \- effect of the PD macro on vertical spacing +.SH DESCRIPTION +initial text +.PP +paragraph +.HP +hanged +paragraph +.IP indented +paragraph +.TP +tagged +paragraph +.SS subsection +subsection text +.PD 2 +.SH DOUBLE SPACING +initial text +.PP +paragraph +.HP +hanged +paragraph +.IP indented +paragraph +.TP +tagged +paragraph +.SS subsection +subsection text +.PD 0 +.SH NO SPACING +initial text +.PP +paragraph +.HP +hanged +paragraph +.IP indented +paragraph +.TP +tagged +paragraph +.SS subsection +subsection text +.PD 1 +.SH NORMAL SPACING +initial text +.PP +paragraph +.HP +hanged +paragraph +.IP indented +paragraph +.TP +tagged +paragraph +.SS subsection +subsection text diff --git a/contrib/mandoc/regress/man/PD/spacing.out_ascii b/contrib/mandoc/regress/man/PD/spacing.out_ascii new file mode 100644 index 00000000000..72612304ef2 --- /dev/null +++ b/contrib/mandoc/regress/man/PD/spacing.out_ascii @@ -0,0 +1,70 @@ +PD-SPACING(1) General Commands Manual PD-SPACING(1) + + + +NNAAMMEE + PD-spacing - effect of the PD macro on vertical spacing + +DDEESSCCRRIIPPTTIIOONN + initial text + + paragraph + + hanged paragraph + + indented + paragraph + + tagged paragraph + + ssuubbsseeccttiioonn + subsection text + + +DDOOUUBBLLEE SSPPAACCIINNGG + initial text + + + paragraph + + + hanged paragraph + + + indented + paragraph + + + tagged paragraph + + + ssuubbsseeccttiioonn + subsection text +NNOO SSPPAACCIINNGG + initial text + paragraph + hanged paragraph + indented + paragraph + tagged paragraph + ssuubbsseeccttiioonn + subsection text + +NNOORRMMAALL SSPPAACCIINNGG + initial text + + paragraph + + hanged paragraph + + indented + paragraph + + tagged paragraph + + ssuubbsseeccttiioonn + subsection text + + + +OpenBSD July 28, 2012 PD-SPACING(1) diff --git a/contrib/mandoc/regress/man/PP/Makefile b/contrib/mandoc/regress/man/PP/Makefile new file mode 100644 index 00000000000..7655d294203 --- /dev/null +++ b/contrib/mandoc/regress/man/PP/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.4 2014/07/04 16:11:41 schwarze Exp $ + +REGRESS_TARGETS = args empty +LINT_TARGETS = args empty + +.include diff --git a/contrib/mandoc/regress/man/PP/args.in b/contrib/mandoc/regress/man/PP/args.in new file mode 100644 index 00000000000..25ff2142fe1 --- /dev/null +++ b/contrib/mandoc/regress/man/PP/args.in @@ -0,0 +1,12 @@ +.\" $OpenBSD: args.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH PP-ARG 1 "July 4, 2014" +.SH NAME +PP-arg \- paragraphs macros with arguments +.SH DESCRIPTION +PP with argument: +.PP arg +LP with arguments: +.LP arg1 arg2 +P with argument: +.P arg +final text diff --git a/contrib/mandoc/regress/man/PP/args.out_ascii b/contrib/mandoc/regress/man/PP/args.out_ascii new file mode 100644 index 00000000000..10cb1774374 --- /dev/null +++ b/contrib/mandoc/regress/man/PP/args.out_ascii @@ -0,0 +1,19 @@ +PP-ARG(1) General Commands Manual PP-ARG(1) + + + +NNAAMMEE + PP-arg - paragraphs macros with arguments + +DDEESSCCRRIIPPTTIIOONN + PP with argument: + + LP with arguments: + + P with argument: + + final text + + + +OpenBSD July 4, 2014 PP-ARG(1) diff --git a/contrib/mandoc/regress/man/PP/args.out_lint b/contrib/mandoc/regress/man/PP/args.out_lint new file mode 100644 index 00000000000..c757d510823 --- /dev/null +++ b/contrib/mandoc/regress/man/PP/args.out_lint @@ -0,0 +1,3 @@ +mandoc: args.in:7:2: ERROR: skipping all arguments: PP arg +mandoc: args.in:9:2: ERROR: skipping all arguments: LP arg1 ... +mandoc: args.in:11:2: ERROR: skipping all arguments: P arg diff --git a/contrib/mandoc/regress/man/PP/empty.in b/contrib/mandoc/regress/man/PP/empty.in new file mode 100644 index 00000000000..7f5257fb2fa --- /dev/null +++ b/contrib/mandoc/regress/man/PP/empty.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: empty.in,v 1.4 2017/07/04 14:53:23 schwarze Exp $ +.TH PP-EMPTY 1 "May 24, 2010" +.SH NAME +PP-empty \- handling of empty paragraphs +.SH DESCRIPTION +.PP +empty PP between two PPs: +.PP +.PP +empty PP between PP and IP: +.PP +.IP head +empty PP between IP and PP: +.PP +.PP +the end diff --git a/contrib/mandoc/regress/man/PP/empty.out_ascii b/contrib/mandoc/regress/man/PP/empty.out_ascii new file mode 100644 index 00000000000..ec770f2d8e1 --- /dev/null +++ b/contrib/mandoc/regress/man/PP/empty.out_ascii @@ -0,0 +1,19 @@ +PP-EMPTY(1) General Commands Manual PP-EMPTY(1) + + + +NNAAMMEE + PP-empty - handling of empty paragraphs + +DDEESSCCRRIIPPTTIIOONN + empty PP between two PPs: + + empty PP between PP and IP: + + head empty PP between IP and PP: + + the end + + + +OpenBSD May 24, 2010 PP-EMPTY(1) diff --git a/contrib/mandoc/regress/man/PP/empty.out_lint b/contrib/mandoc/regress/man/PP/empty.out_lint new file mode 100644 index 00000000000..4c62912fadd --- /dev/null +++ b/contrib/mandoc/regress/man/PP/empty.out_lint @@ -0,0 +1,3 @@ +mandoc: empty.in:8:2: WARNING: skipping paragraph macro: PP empty +mandoc: empty.in:11:2: WARNING: skipping paragraph macro: PP empty +mandoc: empty.in:14:2: WARNING: skipping paragraph macro: PP empty diff --git a/contrib/mandoc/regress/man/RS/Makefile b/contrib/mandoc/regress/man/RS/Makefile new file mode 100644 index 00000000000..fda516e0409 --- /dev/null +++ b/contrib/mandoc/regress/man/RS/Makefile @@ -0,0 +1,7 @@ +# $OpenBSD: Makefile,v 1.11 2015/04/06 13:34:54 schwarze Exp $ + +REGRESS_TARGETS = an-margin breaking broken empty literal lonelyRE +REGRESS_TARGETS += nested noRE nowidth REarg width +LINT_TARGETS = empty lonelyRE noRE REarg + +.include diff --git a/contrib/mandoc/regress/man/RS/REarg.in b/contrib/mandoc/regress/man/RS/REarg.in new file mode 100644 index 00000000000..27af50174c1 --- /dev/null +++ b/contrib/mandoc/regress/man/RS/REarg.in @@ -0,0 +1,27 @@ +.\" $OpenBSD: REarg.in,v 1.3 2017/07/04 14:53:23 schwarze Exp $ +.TH RS-REARG 1 "January 24, 2015" +.SH NAME +RS-REarg \- arguments to the RE macro +.SH DESCRIPTION +level 1 +.RS 4n 2i +level 2 +.RS 2n +level 3 +.RE 2a +back to 2 +.RE 1b +back to 1 +.RS 4n +level 2 +.RS 2n +level 3 +.RE 1c +back to 1 +.RS 4n +level 2 +.RS 2n +level 3 +.RE 0d +back to 1 +.RE 1e diff --git a/contrib/mandoc/regress/man/RS/REarg.out_ascii b/contrib/mandoc/regress/man/RS/REarg.out_ascii new file mode 100644 index 00000000000..747e037be3a --- /dev/null +++ b/contrib/mandoc/regress/man/RS/REarg.out_ascii @@ -0,0 +1,23 @@ +RS-REARG(1) General Commands Manual RS-REARG(1) + + + +NNAAMMEE + RS-REarg - arguments to the RE macro + +DDEESSCCRRIIPPTTIIOONN + level 1 + level 2 + level 3 + back to 2 + back to 1 + level 2 + level 3 + back to 1 + level 2 + level 3 + back to 1 + + + +OpenBSD January 24, 2015 RS-REARG(1) diff --git a/contrib/mandoc/regress/man/RS/REarg.out_lint b/contrib/mandoc/regress/man/RS/REarg.out_lint new file mode 100644 index 00000000000..457ccb150bf --- /dev/null +++ b/contrib/mandoc/regress/man/RS/REarg.out_lint @@ -0,0 +1,7 @@ +mandoc: REarg.in:7:8: ERROR: skipping excess arguments: RS ... 2i +mandoc: REarg.in:11:6: ERROR: skipping excess arguments: RE ... a +mandoc: REarg.in:13:6: ERROR: skipping excess arguments: RE ... b +mandoc: REarg.in:19:6: ERROR: skipping excess arguments: RE ... c +mandoc: REarg.in:25:6: ERROR: skipping excess arguments: RE ... d +mandoc: REarg.in:27:6: ERROR: skipping excess arguments: RE ... e +mandoc: REarg.in:27:2: ERROR: fewer RS blocks open, skipping: RE 1 diff --git a/contrib/mandoc/regress/man/RS/an-margin.in b/contrib/mandoc/regress/man/RS/an-margin.in new file mode 100644 index 00000000000..6eee6b7c7e1 --- /dev/null +++ b/contrib/mandoc/regress/man/RS/an-margin.in @@ -0,0 +1,25 @@ +.\" $OpenBSD: an-margin.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH RS-AN-MARGIN 1 "June 13, 2017" +.SH NAME +RS-an-margin \- reStructuredText peeks at an internal register +.SH DESCRIPTION +regular +text +.RS 0.0 +zero +indent +\n[an-margin] +.RS 3.5 +non-zero +indent +\n[an-margin] +.RE +back to +zero +indent +\n[an-margin] +.RE +back to +regular +text +\n[an-margin] diff --git a/contrib/mandoc/regress/man/RS/an-margin.out_ascii b/contrib/mandoc/regress/man/RS/an-margin.out_ascii new file mode 100644 index 00000000000..be41d4ec616 --- /dev/null +++ b/contrib/mandoc/regress/man/RS/an-margin.out_ascii @@ -0,0 +1,17 @@ +RS-AN-MARGIN(1) General Commands Manual RS-AN-MARGIN(1) + + + +NNAAMMEE + RS-an-margin - reStructuredText peeks at an internal register + +DDEESSCCRRIIPPTTIIOONN + regular text + zero indent 168 + non-zero indent 252 + back to zero indent 168 + back to regular text 168 + + + +OpenBSD June 13, 2017 RS-AN-MARGIN(1) diff --git a/contrib/mandoc/regress/man/RS/breaking.in b/contrib/mandoc/regress/man/RS/breaking.in new file mode 100644 index 00000000000..c28faf762f6 --- /dev/null +++ b/contrib/mandoc/regress/man/RS/breaking.in @@ -0,0 +1,24 @@ +.\" $OpenBSD: breaking.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH RS-BREAKING 1 "7 July 2012" +.SH NAME +RS-breaking \- some block gets broken by an RS block +.SH DESCRIPTION +preceding text +.TP 4n +* +item +.RS 8n +indented text +.RE +middle text +.TP 4n +* +.RS 8n +indented text +.RE +.\" middle text +.\" .TP 4n +.\" .RS 8n +.\" indented text +.\" .RE +trailing text diff --git a/contrib/mandoc/regress/man/RS/breaking.out_ascii b/contrib/mandoc/regress/man/RS/breaking.out_ascii new file mode 100644 index 00000000000..687e299039c --- /dev/null +++ b/contrib/mandoc/regress/man/RS/breaking.out_ascii @@ -0,0 +1,21 @@ +RS-BREAKING(1) General Commands Manual RS-BREAKING(1) + + + +NNAAMMEE + RS-breaking - some block gets broken by an RS block + +DDEESSCCRRIIPPTTIIOONN + preceding text + + * item + indented text + middle text + + * + indented text + trailing text + + + +OpenBSD 7 July 2012 RS-BREAKING(1) diff --git a/contrib/mandoc/regress/man/RS/broken.in b/contrib/mandoc/regress/man/RS/broken.in new file mode 100644 index 00000000000..bc871b52514 --- /dev/null +++ b/contrib/mandoc/regress/man/RS/broken.in @@ -0,0 +1,46 @@ +.\" $OpenBSD: broken.in,v 1.4 2017/07/04 14:53:23 schwarze Exp $ +.TH RS-BROKEN 1 "January 24, 2015" +.SH NAME +RS-broken \- indented blocks broken by other blocks +.SH DESCRIPTION +broken by PP: +.RS 2n +indented +.PP +still indented +.RE +broken by IP: +.RS +indented +.IP tag 6n +first line +.br +second line +.PP +still indented +.RE +broken by TP: +.RS +indented +.TP 6n +tag +first line +.br +second line +.PP +still indented +.RE +broken by HP: +.RS +indented +.HP 2n +Let's have a longer text here such that we can see the line break. +.PP +still indented +.RE +trailing PP: +.RS +indented +.PP +.RE +final text diff --git a/contrib/mandoc/regress/man/RS/broken.out_ascii b/contrib/mandoc/regress/man/RS/broken.out_ascii new file mode 100644 index 00000000000..ab219ac1f49 --- /dev/null +++ b/contrib/mandoc/regress/man/RS/broken.out_ascii @@ -0,0 +1,41 @@ +RS-BROKEN(1) General Commands Manual RS-BROKEN(1) + + + +NNAAMMEE + RS-broken - indented blocks broken by other blocks + +DDEESSCCRRIIPPTTIIOONN + broken by PP: + indented + + still indented + broken by IP: + indented + + tag first line + second line + + still indented + broken by TP: + indented + + tag first line + second line + + still indented + broken by HP: + indented + + Let's have a longer text here such that we can see the line + break. + + still indented + trailing PP: + indented + + final text + + + +OpenBSD January 24, 2015 RS-BROKEN(1) diff --git a/contrib/mandoc/regress/man/RS/empty.in b/contrib/mandoc/regress/man/RS/empty.in new file mode 100644 index 00000000000..4511686ebda --- /dev/null +++ b/contrib/mandoc/regress/man/RS/empty.in @@ -0,0 +1,17 @@ +.\" $OpenBSD: empty.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH RS-EMPTY 1 "July 17, 2012" +.SH NAME +RS-empty \- empty margin reset blocks +.SH DESCRIPTION +regular +text +.RS 8n +.RE +regular +text +.RS 8n +indented +text +.RE +regular +text diff --git a/contrib/mandoc/regress/man/RS/empty.out_ascii b/contrib/mandoc/regress/man/RS/empty.out_ascii new file mode 100644 index 00000000000..7dee40c7807 --- /dev/null +++ b/contrib/mandoc/regress/man/RS/empty.out_ascii @@ -0,0 +1,16 @@ +RS-EMPTY(1) General Commands Manual RS-EMPTY(1) + + + +NNAAMMEE + RS-empty - empty margin reset blocks + +DDEESSCCRRIIPPTTIIOONN + regular text + regular text + indented text + regular text + + + +OpenBSD July 17, 2012 RS-EMPTY(1) diff --git a/contrib/mandoc/regress/man/RS/empty.out_lint b/contrib/mandoc/regress/man/RS/empty.out_lint new file mode 100644 index 00000000000..7ec48cba8da --- /dev/null +++ b/contrib/mandoc/regress/man/RS/empty.out_lint @@ -0,0 +1 @@ +mandoc: empty.in:8:2: WARNING: empty block: RS diff --git a/contrib/mandoc/regress/man/RS/literal.in b/contrib/mandoc/regress/man/RS/literal.in new file mode 100644 index 00000000000..c77e2aec351 --- /dev/null +++ b/contrib/mandoc/regress/man/RS/literal.in @@ -0,0 +1,19 @@ +.\" $OpenBSD: literal.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH RS-LITERAL 1 "January 5, 2013" +.SH NAME +RS-literal \- indented literal text +.SH DESCRIPTION +regular +text +.nf +literal +text +.RS +This is a short line. +This is a very long line that would wrap if it weren't in literal context. +.RE +.PP +literal text +.fi +regular +text diff --git a/contrib/mandoc/regress/man/RS/literal.out_ascii b/contrib/mandoc/regress/man/RS/literal.out_ascii new file mode 100644 index 00000000000..a96741f32a7 --- /dev/null +++ b/contrib/mandoc/regress/man/RS/literal.out_ascii @@ -0,0 +1,20 @@ +RS-LITERAL(1) General Commands Manual RS-LITERAL(1) + + + +NNAAMMEE + RS-literal - indented literal text + +DDEESSCCRRIIPPTTIIOONN + regular text + literal + text + This is a short line. + This is a very long line that would wrap if it weren't in literal context. + + literal text + regular text + + + +OpenBSD January 5, 2013 RS-LITERAL(1) diff --git a/contrib/mandoc/regress/man/RS/lonelyRE.in b/contrib/mandoc/regress/man/RS/lonelyRE.in new file mode 100644 index 00000000000..b5203d1ff82 --- /dev/null +++ b/contrib/mandoc/regress/man/RS/lonelyRE.in @@ -0,0 +1,22 @@ +.\" $OpenBSD: lonelyRE.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH RS-LONELYRE 1 "November 10, 2013" +.SH NAME +RS-lonelyRE \- closing RS that is not open +.SH DESCRIPTION +.RS +indented text +.RE +.TP 6n +tag +body +.RE +out of body +.IP tag 6n +body +.RE +out of body +.HP 6n +Here we need some text that is long enough to span more than one +output line, such that we can see the hanging indentation. +.RE +out of body diff --git a/contrib/mandoc/regress/man/RS/lonelyRE.out_ascii b/contrib/mandoc/regress/man/RS/lonelyRE.out_ascii new file mode 100644 index 00000000000..1b062d10c26 --- /dev/null +++ b/contrib/mandoc/regress/man/RS/lonelyRE.out_ascii @@ -0,0 +1,23 @@ +RS-LONELYRE(1) General Commands Manual RS-LONELYRE(1) + + + +NNAAMMEE + RS-lonelyRE - closing RS that is not open + +DDEESSCCRRIIPPTTIIOONN + indented text + + tag body + out of body + + tag body + out of body + + Here we need some text that is long enough to span more than one output + line, such that we can see the hanging indentation. + out of body + + + +OpenBSD November 10, 2013 RS-LONELYRE(1) diff --git a/contrib/mandoc/regress/man/RS/lonelyRE.out_lint b/contrib/mandoc/regress/man/RS/lonelyRE.out_lint new file mode 100644 index 00000000000..7ee3f6e446f --- /dev/null +++ b/contrib/mandoc/regress/man/RS/lonelyRE.out_lint @@ -0,0 +1,3 @@ +mandoc: lonelyRE.in:12:2: ERROR: skipping end of block that is not open: RE +mandoc: lonelyRE.in:16:2: ERROR: skipping end of block that is not open: RE +mandoc: lonelyRE.in:21:2: ERROR: skipping end of block that is not open: RE diff --git a/contrib/mandoc/regress/man/RS/nested.in b/contrib/mandoc/regress/man/RS/nested.in new file mode 100644 index 00000000000..8b105f56f18 --- /dev/null +++ b/contrib/mandoc/regress/man/RS/nested.in @@ -0,0 +1,55 @@ +.\" $OpenBSD: nested.in,v 1.4 2017/07/04 14:53:23 schwarze Exp $ +.TH RS-NESTED 1 "April 4, 2015" +.SH NAME +RS-nested \- various blocks nested inside reset blocks +.SH DESCRIPTION +regular +text +.RS +outer +text (default indent) +.RS +inner +text (default indent) +.RE +outer +text +.RE +regular text +.IP tag 6n +tagged text (6n) +.RS +outer text (saved 6n) +.RS +inner text (default indent) +.RE +outer text +.RE +regular text +.RS 4n +outer text (4n) +.RS 2n +inner text (2n) +.RE +outer text +.IP indent 8n +text (8n) +.TP 6n +tag +text (6n) +.HP 12n +hanged +This is very long text. +Let's see where it will break the line, +and which indent the next line will have - hopefully 12n. +.PP +outer text +.RE +nesting HP and RS inside RS: +.RS +outer text +.HP 2n +.RS 4n +inner text +.RE +.RE diff --git a/contrib/mandoc/regress/man/RS/nested.out_ascii b/contrib/mandoc/regress/man/RS/nested.out_ascii new file mode 100644 index 00000000000..f64bc5afb6e --- /dev/null +++ b/contrib/mandoc/regress/man/RS/nested.out_ascii @@ -0,0 +1,41 @@ +RS-NESTED(1) General Commands Manual RS-NESTED(1) + + + +NNAAMMEE + RS-nested - various blocks nested inside reset blocks + +DDEESSCCRRIIPPTTIIOONN + regular text + outer text (default indent) + inner text (default indent) + outer text + regular text + + tag tagged text (6n) + outer text (saved 6n) + inner text (default indent) + outer text + regular text + outer text (4n) + inner text (2n) + outer text + + indent text (8n) + + tag text (6n) + + hanged This is very long text. Let's see where it will break the + line, and which indent the next line will have - + hopefully 12n. + + outer text + nesting HP and RS inside RS: + outer text + + + inner text + + + +OpenBSD April 4, 2015 RS-NESTED(1) diff --git a/contrib/mandoc/regress/man/RS/noRE.in b/contrib/mandoc/regress/man/RS/noRE.in new file mode 100644 index 00000000000..09415eb5ea6 --- /dev/null +++ b/contrib/mandoc/regress/man/RS/noRE.in @@ -0,0 +1,10 @@ +.\" $OpenBSD: noRE.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH RS-NORE 1 "June 20, 2014" +.SH NAME +RS-noRE \- unclosed indented block +.SH DESCRIPTION +regular +text +.RS 8n +indented +text diff --git a/contrib/mandoc/regress/man/RS/noRE.out_ascii b/contrib/mandoc/regress/man/RS/noRE.out_ascii new file mode 100644 index 00000000000..efd11787d6c --- /dev/null +++ b/contrib/mandoc/regress/man/RS/noRE.out_ascii @@ -0,0 +1,14 @@ +RS-NORE(1) General Commands Manual RS-NORE(1) + + + +NNAAMMEE + RS-noRE - unclosed indented block + +DDEESSCCRRIIPPTTIIOONN + regular text + indented text + + + +OpenBSD June 20, 2014 RS-NORE(1) diff --git a/contrib/mandoc/regress/man/RS/noRE.out_lint b/contrib/mandoc/regress/man/RS/noRE.out_lint new file mode 100644 index 00000000000..44460f925dd --- /dev/null +++ b/contrib/mandoc/regress/man/RS/noRE.out_lint @@ -0,0 +1 @@ +mandoc: noRE.in:8:2: ERROR: appending missing end of block: RS diff --git a/contrib/mandoc/regress/man/RS/nowidth.in b/contrib/mandoc/regress/man/RS/nowidth.in new file mode 100644 index 00000000000..47c657684cf --- /dev/null +++ b/contrib/mandoc/regress/man/RS/nowidth.in @@ -0,0 +1,21 @@ +.\" $OpenBSD: nowidth.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH RS-NESTED 1 "April 6, 2015" +.SH NAME +RS-nowidth \- indentation blocks not specifying a width +.SH DESCRIPTION +regular text +.RS +top-level indented list +.RE +regular text +.TP 2n +\(bu +bullet list +.RS +indented text +.RE +regular text +.RS +top-level indented list +.RE +regular text diff --git a/contrib/mandoc/regress/man/RS/nowidth.out_ascii b/contrib/mandoc/regress/man/RS/nowidth.out_ascii new file mode 100644 index 00000000000..c72f18f23e1 --- /dev/null +++ b/contrib/mandoc/regress/man/RS/nowidth.out_ascii @@ -0,0 +1,21 @@ +RS-NESTED(1) General Commands Manual RS-NESTED(1) + + + +NNAAMMEE + RS-nowidth - indentation blocks not specifying a width + +DDEESSCCRRIIPPTTIIOONN + regular text + top-level indented list + regular text + + +o bullet list + indented text + regular text + top-level indented list + regular text + + + +OpenBSD April 6, 2015 RS-NESTED(1) diff --git a/contrib/mandoc/regress/man/RS/width.in b/contrib/mandoc/regress/man/RS/width.in new file mode 100644 index 00000000000..bfd076e96f8 --- /dev/null +++ b/contrib/mandoc/regress/man/RS/width.in @@ -0,0 +1,31 @@ +.\" $OpenBSD: width.in,v 1.5 2017/07/04 14:53:23 schwarze Exp $ +.TH RS-WIDTH 1 "December 23, 2014" +.SH NAME +RS-width \- negative and excessive indentation +.SH DESCRIPTION +regular +text +.RS -14n +indented +text +.RE +regular +text +.RS -0.36i +indented +text +.RE +regular +text +.RS 0.36i +indented +text +.RE +regular +text +.RS 100n +indented +text +.RE +regular +text diff --git a/contrib/mandoc/regress/man/RS/width.out_ascii b/contrib/mandoc/regress/man/RS/width.out_ascii new file mode 100644 index 00000000000..12cd68245e2 --- /dev/null +++ b/contrib/mandoc/regress/man/RS/width.out_ascii @@ -0,0 +1,22 @@ +RS-WIDTH(1) General Commands Manual RS-WIDTH(1) + + + +NNAAMMEE + RS-width - negative and excessive indentation + +DDEESSCCRRIIPPTTIIOONN + regular text +indented text + regular text + indented text + regular text + indented text + regular text + indented + text + regular text + + + +OpenBSD December 23, 2014 RS-WIDTH(1) diff --git a/contrib/mandoc/regress/man/SH/Makefile b/contrib/mandoc/regress/man/SH/Makefile new file mode 100644 index 00000000000..6fff341fe90 --- /dev/null +++ b/contrib/mandoc/regress/man/SH/Makefile @@ -0,0 +1,17 @@ +# $OpenBSD: Makefile,v 1.4 2015/04/04 18:52:12 schwarze Exp $ + +REGRESS_TARGETS = broken broken_eline empty_before longarg noarg +LINT_TARGETS = broken broken_eline empty_before noarg + +# groff-1.22.3 defects: +# - .SH without args just before EOF causes two additional blank lines. +# - Empty .SH heads cause additional vertical spacing. +# - If .TP or .IP breaks .SH, the tag becomes bold. +# - If .HP breaks .SH, a line is broken after the next input line. +# - If .RS/RE/nf/fi breaks .SH, the next input line becomes bold. +# - .UR does not break .SH. +# - blank line in .SH next line scope causes blank lines and bogus indent + +SKIP_GROFF = broken broken_eline noarg + +.include diff --git a/contrib/mandoc/regress/man/SH/broken.in b/contrib/mandoc/regress/man/SH/broken.in new file mode 100644 index 00000000000..ae7c3492cba --- /dev/null +++ b/contrib/mandoc/regress/man/SH/broken.in @@ -0,0 +1,7 @@ +.\" $OpenBSD: broken.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH SH-BROKEN 1 "July 30, 2014" +.SH NAME +SH-broken \- section header line scope broken by end of file +.SH DESCRIPTION +some text +.SH diff --git a/contrib/mandoc/regress/man/SH/broken.out_ascii b/contrib/mandoc/regress/man/SH/broken.out_ascii new file mode 100644 index 00000000000..eec4694e070 --- /dev/null +++ b/contrib/mandoc/regress/man/SH/broken.out_ascii @@ -0,0 +1,13 @@ +SH-BROKEN(1) General Commands Manual SH-BROKEN(1) + + + +NNAAMMEE + SH-broken - section header line scope broken by end of file + +DDEESSCCRRIIPPTTIIOONN + some text + + + +OpenBSD July 30, 2014 SH-BROKEN(1) diff --git a/contrib/mandoc/regress/man/SH/broken.out_lint b/contrib/mandoc/regress/man/SH/broken.out_lint new file mode 100644 index 00000000000..eb5a72f1005 --- /dev/null +++ b/contrib/mandoc/regress/man/SH/broken.out_lint @@ -0,0 +1 @@ +mandoc: broken.in:7:2: WARNING: line scope broken: EOF breaks SH diff --git a/contrib/mandoc/regress/man/SH/broken_eline.in b/contrib/mandoc/regress/man/SH/broken_eline.in new file mode 100644 index 00000000000..f8fff8469da --- /dev/null +++ b/contrib/mandoc/regress/man/SH/broken_eline.in @@ -0,0 +1,8 @@ +.\" $OpenBSD: broken_eline.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH SH-BROKEN_ELINE 1 "July 30, 2014" +.SH NAME +SH-broken_eline \- section and element line scope broken by eof +.SH DESCRIPTION +some text +.SH +.B diff --git a/contrib/mandoc/regress/man/SH/broken_eline.out_ascii b/contrib/mandoc/regress/man/SH/broken_eline.out_ascii new file mode 100644 index 00000000000..6590e858229 --- /dev/null +++ b/contrib/mandoc/regress/man/SH/broken_eline.out_ascii @@ -0,0 +1,13 @@ +SH-BROKEN_ELINE(1) General Commands Manual SH-BROKEN_ELINE(1) + + + +NNAAMMEE + SH-broken_eline - section and element line scope broken by eof + +DDEESSCCRRIIPPTTIIOONN + some text + + + +OpenBSD July 30, 2014 SH-BROKEN_ELINE(1) diff --git a/contrib/mandoc/regress/man/SH/broken_eline.out_lint b/contrib/mandoc/regress/man/SH/broken_eline.out_lint new file mode 100644 index 00000000000..44493c93ee4 --- /dev/null +++ b/contrib/mandoc/regress/man/SH/broken_eline.out_lint @@ -0,0 +1,2 @@ +mandoc: broken_eline.in:8:2: WARNING: line scope broken: EOF breaks B +mandoc: broken_eline.in:7:2: WARNING: line scope broken: EOF breaks SH diff --git a/contrib/mandoc/regress/man/SH/empty_before.in b/contrib/mandoc/regress/man/SH/empty_before.in new file mode 100644 index 00000000000..15c9b0d2527 --- /dev/null +++ b/contrib/mandoc/regress/man/SH/empty_before.in @@ -0,0 +1,7 @@ +.\" $OpenBSD: empty_before.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH SH-EMPTY_BEFORE 1 "August 18, 2014" +.PP +.SH NAME +SH-empty_before \- empty paragraph before first section header +.SH DESCRIPTION +some text diff --git a/contrib/mandoc/regress/man/SH/empty_before.out_ascii b/contrib/mandoc/regress/man/SH/empty_before.out_ascii new file mode 100644 index 00000000000..14218a131f6 --- /dev/null +++ b/contrib/mandoc/regress/man/SH/empty_before.out_ascii @@ -0,0 +1,13 @@ +SH-EMPTY_BEFORE(1) General Commands Manual SH-EMPTY_BEFORE(1) + + + +NNAAMMEE + SH-empty_before - empty paragraph before first section header + +DDEESSCCRRIIPPTTIIOONN + some text + + + +OpenBSD August 18, 2014 SH-EMPTY_BEFORE(1) diff --git a/contrib/mandoc/regress/man/SH/empty_before.out_lint b/contrib/mandoc/regress/man/SH/empty_before.out_lint new file mode 100644 index 00000000000..f43a65d0686 --- /dev/null +++ b/contrib/mandoc/regress/man/SH/empty_before.out_lint @@ -0,0 +1 @@ +mandoc: empty_before.in:3:2: WARNING: skipping paragraph macro: PP empty diff --git a/contrib/mandoc/regress/man/SH/longarg.in b/contrib/mandoc/regress/man/SH/longarg.in new file mode 100644 index 00000000000..274b9de124c --- /dev/null +++ b/contrib/mandoc/regress/man/SH/longarg.in @@ -0,0 +1,10 @@ +.\" $OpenBSD: longarg.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ +.TH SH-LONGARG 1 "April 4, 2015" +.SH NAME +SH-longarg \- long section header lines +.SH +DESCRIPTION +initial text +.SH "This section has a really ridiculously long title\ + which won't even fit on the line." +custom section text diff --git a/contrib/mandoc/regress/man/SH/longarg.out_ascii b/contrib/mandoc/regress/man/SH/longarg.out_ascii new file mode 100644 index 00000000000..cb45e2a33c1 --- /dev/null +++ b/contrib/mandoc/regress/man/SH/longarg.out_ascii @@ -0,0 +1,17 @@ +SH-LONGARG(1) General Commands Manual SH-LONGARG(1) + + + +NNAAMMEE + SH-longarg - long section header lines + +DDEESSCCRRIIPPTTIIOONN + initial text + +TThhiiss sseeccttiioonn hhaass aa rreeaallllyy rriiddiiccuulloouussllyy lloonngg ttiittllee wwhhiicchh wwoonn''tt eevveenn ffiitt oonn tthhee + lliinnee.. + custom section text + + + +OpenBSD April 4, 2015 SH-LONGARG(1) diff --git a/contrib/mandoc/regress/man/SH/noarg.in b/contrib/mandoc/regress/man/SH/noarg.in new file mode 100644 index 00000000000..1fe96e5f571 --- /dev/null +++ b/contrib/mandoc/regress/man/SH/noarg.in @@ -0,0 +1,47 @@ +.\" $OpenBSD: noarg.in,v 1.5 2017/07/04 14:53:23 schwarze Exp $ +.TH SH-NOARG 1 "March 20, 2015" +.SH NAME +SH-noarg \- empty header lines +.SH +.SH +DESCRIPTION +initial text +.SH +.SS Subsection +subsection text +.SH +.TP 6n +tag +tagged list +.SH +.IP tag 6n +indented list +.SH +.HP 6n +This is a hanged paragraph. +A bit more text is needed to see the effect. +.SH +.PP +normal paragraph +.SH +.RS 6n +indented paragraph +.SH +.RE +after the end of the indented paragraph +.SH +.UR www.openbsd.org +hyperlink +.SH +.UE +after the end of the hyperlink +.SH +.nf +no-fill mode +.SH +.fi +back in fill mode +.SH + +SEE ALSO +broken(1) diff --git a/contrib/mandoc/regress/man/SH/noarg.out_ascii b/contrib/mandoc/regress/man/SH/noarg.out_ascii new file mode 100644 index 00000000000..903f85d8465 --- /dev/null +++ b/contrib/mandoc/regress/man/SH/noarg.out_ascii @@ -0,0 +1,35 @@ +SH-NOARG(1) General Commands Manual SH-NOARG(1) + + + +NNAAMMEE + SH-noarg - empty header lines + +DDEESSCCRRIIPPTTIIOONN + initial text + + SSuubbsseeccttiioonn + subsection text + + tag tagged list + + tag indented list + + This is a hanged paragraph. A bit more text is needed to see the + effect. + + normal paragraph + indented paragraph + after the end of the indented paragraph hyperlink + after the end of the hyperlink + + no-fill mode + + back in fill mode + +SSEEEE AALLSSOO + broken(1) + + + +OpenBSD March 20, 2015 SH-NOARG(1) diff --git a/contrib/mandoc/regress/man/SH/noarg.out_lint b/contrib/mandoc/regress/man/SH/noarg.out_lint new file mode 100644 index 00000000000..db76fa1c823 --- /dev/null +++ b/contrib/mandoc/regress/man/SH/noarg.out_lint @@ -0,0 +1,14 @@ +mandoc: noarg.in:5:2: WARNING: line scope broken: SH breaks SH +mandoc: noarg.in:9:2: WARNING: line scope broken: SS breaks SH +mandoc: noarg.in:12:2: WARNING: line scope broken: TP breaks SH +mandoc: noarg.in:16:2: WARNING: line scope broken: IP breaks SH +mandoc: noarg.in:19:2: WARNING: line scope broken: HP breaks SH +mandoc: noarg.in:23:2: WARNING: line scope broken: PP breaks SH +mandoc: noarg.in:26:2: WARNING: line scope broken: RS breaks SH +mandoc: noarg.in:29:2: WARNING: line scope broken: RE breaks SH +mandoc: noarg.in:30:2: ERROR: skipping end of block that is not open: RE +mandoc: noarg.in:32:2: WARNING: line scope broken: UR breaks SH +mandoc: noarg.in:35:2: WARNING: line scope broken: UE breaks SH +mandoc: noarg.in:36:2: ERROR: skipping end of block that is not open: UE +mandoc: noarg.in:42:2: STYLE: fill mode already enabled, skipping: fi +mandoc: noarg.in:45:1: WARNING: skipping blank line in line scope diff --git a/contrib/mandoc/regress/man/SS/Makefile b/contrib/mandoc/regress/man/SS/Makefile new file mode 100644 index 00000000000..01bd7edb512 --- /dev/null +++ b/contrib/mandoc/regress/man/SS/Makefile @@ -0,0 +1,17 @@ +# $OpenBSD: Makefile,v 1.2 2015/04/04 18:52:12 schwarze Exp $ + +REGRESS_TARGETS = broken broken_eline longarg noarg +LINT_TARGETS = broken broken_eline noarg + +# groff-1.22.3 defects: +# - .SS without args just before EOF causes two additional blank lines. +# - Empty .SS heads cause additional vertical spacing. +# - If .TP or .IP breaks .SS, the tag becomes bold. +# - If .HP breaks .SS, a line is broken after the next input line. +# - If .RS/RE/nf/fi breaks .SS, the next input line becomes bold. +# - .UR does not break .SS. +# - blank line in .SS next-line scope causes a blank line + +SKIP_GROFF = broken broken_eline noarg + +.include diff --git a/contrib/mandoc/regress/man/SS/broken.in b/contrib/mandoc/regress/man/SS/broken.in new file mode 100644 index 00000000000..42776e3111a --- /dev/null +++ b/contrib/mandoc/regress/man/SS/broken.in @@ -0,0 +1,7 @@ +.\" $OpenBSD: broken.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH SS-BROKEN 1 "July 30, 2014" +.SH NAME +SS-broken \- section header line scope broken by end of file +.SH DESCRIPTION +some text +.SS diff --git a/contrib/mandoc/regress/man/SS/broken.out_ascii b/contrib/mandoc/regress/man/SS/broken.out_ascii new file mode 100644 index 00000000000..948c0a939a6 --- /dev/null +++ b/contrib/mandoc/regress/man/SS/broken.out_ascii @@ -0,0 +1,13 @@ +SS-BROKEN(1) General Commands Manual SS-BROKEN(1) + + + +NNAAMMEE + SS-broken - section header line scope broken by end of file + +DDEESSCCRRIIPPTTIIOONN + some text + + + +OpenBSD July 30, 2014 SS-BROKEN(1) diff --git a/contrib/mandoc/regress/man/SS/broken.out_lint b/contrib/mandoc/regress/man/SS/broken.out_lint new file mode 100644 index 00000000000..222fe5cb227 --- /dev/null +++ b/contrib/mandoc/regress/man/SS/broken.out_lint @@ -0,0 +1 @@ +mandoc: broken.in:7:2: WARNING: line scope broken: EOF breaks SS diff --git a/contrib/mandoc/regress/man/SS/broken_eline.in b/contrib/mandoc/regress/man/SS/broken_eline.in new file mode 100644 index 00000000000..07f3f17e1a4 --- /dev/null +++ b/contrib/mandoc/regress/man/SS/broken_eline.in @@ -0,0 +1,8 @@ +.\" $OpenBSD: broken_eline.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH SS-BROKEN_ELINE 1 "July 30, 2014" +.SH NAME +SS-broken_eline \- subsection and element line scope broken by eof +.SH DESCRIPTION +some text +.SS +.B diff --git a/contrib/mandoc/regress/man/SS/broken_eline.out_ascii b/contrib/mandoc/regress/man/SS/broken_eline.out_ascii new file mode 100644 index 00000000000..79528f454e7 --- /dev/null +++ b/contrib/mandoc/regress/man/SS/broken_eline.out_ascii @@ -0,0 +1,13 @@ +SS-BROKEN_ELINE(1) General Commands Manual SS-BROKEN_ELINE(1) + + + +NNAAMMEE + SS-broken_eline - subsection and element line scope broken by eof + +DDEESSCCRRIIPPTTIIOONN + some text + + + +OpenBSD July 30, 2014 SS-BROKEN_ELINE(1) diff --git a/contrib/mandoc/regress/man/SS/broken_eline.out_lint b/contrib/mandoc/regress/man/SS/broken_eline.out_lint new file mode 100644 index 00000000000..34eeae53460 --- /dev/null +++ b/contrib/mandoc/regress/man/SS/broken_eline.out_lint @@ -0,0 +1,2 @@ +mandoc: broken_eline.in:8:2: WARNING: line scope broken: EOF breaks B +mandoc: broken_eline.in:7:2: WARNING: line scope broken: EOF breaks SS diff --git a/contrib/mandoc/regress/man/SS/longarg.in b/contrib/mandoc/regress/man/SS/longarg.in new file mode 100644 index 00000000000..183d033f14f --- /dev/null +++ b/contrib/mandoc/regress/man/SS/longarg.in @@ -0,0 +1,10 @@ +.\" $OpenBSD: longarg.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH SS-LONGARG 1 "April 4, 2015" +.SH NAME +SS-longarg \- long subsection header lines +.SH +DESCRIPTION +initial text +.SS +This subsection has a ridiculously long title which won't even fit on the line. +subsection text diff --git a/contrib/mandoc/regress/man/SS/longarg.out_ascii b/contrib/mandoc/regress/man/SS/longarg.out_ascii new file mode 100644 index 00000000000..0f4a2cb6e4e --- /dev/null +++ b/contrib/mandoc/regress/man/SS/longarg.out_ascii @@ -0,0 +1,17 @@ +SS-LONGARG(1) General Commands Manual SS-LONGARG(1) + + + +NNAAMMEE + SS-longarg - long subsection header lines + +DDEESSCCRRIIPPTTIIOONN + initial text + + TThhiiss ssuubbsseeccttiioonn hhaass aa rriiddiiccuulloouussllyy lloonngg ttiittllee wwhhiicchh wwoonn''tt eevveenn ffiitt oonn tthhee + lliinnee.. + subsection text + + + +OpenBSD April 4, 2015 SS-LONGARG(1) diff --git a/contrib/mandoc/regress/man/SS/noarg.in b/contrib/mandoc/regress/man/SS/noarg.in new file mode 100644 index 00000000000..2eda5b0e0cc --- /dev/null +++ b/contrib/mandoc/regress/man/SS/noarg.in @@ -0,0 +1,47 @@ +.\" $OpenBSD: noarg.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.TH SS-NOARG 1 "March 20, 2015" +.SH NAME +SS-noarg \- empty subsection header lines +.SS +.SH +DESCRIPTION +initial text +.SS +.SS Subsection +subsection text +.SS +.TP 6n +tag +tagged list +.SS +.IP tag 6n +indented list +.SS +.HP 6n +This is a hanged paragraph. +A bit more text is needed to see the effect. +.SS +.PP +normal paragraph +.SS +.RS 6n +indented paragraph +.SS +.RE +after the end of the indented paragraph +.SS +.UR www.openbsd.org +hyperlink +.SS +.UE +after the end of the hyperlink +.SS +.nf +no-fill mode +.SS +.fi +back in fill mode +.SS + +Subsection +with a blank line diff --git a/contrib/mandoc/regress/man/SS/noarg.out_ascii b/contrib/mandoc/regress/man/SS/noarg.out_ascii new file mode 100644 index 00000000000..20bafc63c57 --- /dev/null +++ b/contrib/mandoc/regress/man/SS/noarg.out_ascii @@ -0,0 +1,35 @@ +SS-NOARG(1) General Commands Manual SS-NOARG(1) + + + +NNAAMMEE + SS-noarg - empty subsection header lines + +DDEESSCCRRIIPPTTIIOONN + initial text + + SSuubbsseeccttiioonn + subsection text + + tag tagged list + + tag indented list + + This is a hanged paragraph. A bit more text is needed to see the + effect. + + normal paragraph + indented paragraph + after the end of the indented paragraph hyperlink + after the end of the hyperlink + + no-fill mode + + back in fill mode + + SSuubbsseeccttiioonn + with a blank line + + + +OpenBSD March 20, 2015 SS-NOARG(1) diff --git a/contrib/mandoc/regress/man/SS/noarg.out_lint b/contrib/mandoc/regress/man/SS/noarg.out_lint new file mode 100644 index 00000000000..e051dcae18a --- /dev/null +++ b/contrib/mandoc/regress/man/SS/noarg.out_lint @@ -0,0 +1,14 @@ +mandoc: noarg.in:5:2: WARNING: line scope broken: SH breaks SS +mandoc: noarg.in:9:2: WARNING: line scope broken: SS breaks SS +mandoc: noarg.in:12:2: WARNING: line scope broken: TP breaks SS +mandoc: noarg.in:16:2: WARNING: line scope broken: IP breaks SS +mandoc: noarg.in:19:2: WARNING: line scope broken: HP breaks SS +mandoc: noarg.in:23:2: WARNING: line scope broken: PP breaks SS +mandoc: noarg.in:26:2: WARNING: line scope broken: RS breaks SS +mandoc: noarg.in:29:2: WARNING: line scope broken: RE breaks SS +mandoc: noarg.in:30:2: ERROR: skipping end of block that is not open: RE +mandoc: noarg.in:32:2: WARNING: line scope broken: UR breaks SS +mandoc: noarg.in:35:2: WARNING: line scope broken: UE breaks SS +mandoc: noarg.in:36:2: ERROR: skipping end of block that is not open: UE +mandoc: noarg.in:42:2: STYLE: fill mode already enabled, skipping: fi +mandoc: noarg.in:45:1: WARNING: skipping blank line in line scope diff --git a/contrib/mandoc/regress/man/TH/Makefile b/contrib/mandoc/regress/man/TH/Makefile new file mode 100644 index 00000000000..b1647349682 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/Makefile @@ -0,0 +1,13 @@ +# $OpenBSD: Makefile,v 1.9 2015/02/06 11:54:03 schwarze Exp $ + +REGRESS_TARGETS = noTH noarg onearg twoargs sixargs case longtit longvol +REGRESS_TARGETS += emptydate onlyyear isodate mdocdate baddate longdate +REGRESS_TARGETS += nobody + +LINT_TARGETS = noTH noarg onearg twoargs sixargs case +LINT_TARGETS += emptydate baddate longdate nobody + +SKIP_GROFF = noTH longtit longvol longdate +SKIP_ASCII = noTH + +.include diff --git a/contrib/mandoc/regress/man/TH/baddate.in b/contrib/mandoc/regress/man/TH/baddate.in new file mode 100644 index 00000000000..d91302b8af3 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/baddate.in @@ -0,0 +1,6 @@ +.\" $OpenBSD: baddate.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH TH-BADDATE 1 "three bad words" source +.SH NAME +TH-baddate \- the date has three words, but bad ones +.SH DESCRIPTION +Some text. diff --git a/contrib/mandoc/regress/man/TH/baddate.out_ascii b/contrib/mandoc/regress/man/TH/baddate.out_ascii new file mode 100644 index 00000000000..5c14639bff9 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/baddate.out_ascii @@ -0,0 +1,13 @@ +TH-BADDATE(1) General Commands Manual TH-BADDATE(1) + + + +NNAAMMEE + TH-baddate - the date has three words, but bad ones + +DDEESSCCRRIIPPTTIIOONN + Some text. + + + +source three bad words TH-BADDATE(1) diff --git a/contrib/mandoc/regress/man/TH/baddate.out_lint b/contrib/mandoc/regress/man/TH/baddate.out_lint new file mode 100644 index 00000000000..6785463dfc7 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/baddate.out_lint @@ -0,0 +1 @@ +mandoc: baddate.in:2:18: WARNING: cannot parse date, using it verbatim: three bad words diff --git a/contrib/mandoc/regress/man/TH/case.in b/contrib/mandoc/regress/man/TH/case.in new file mode 100644 index 00000000000..88da2310e1f --- /dev/null +++ b/contrib/mandoc/regress/man/TH/case.in @@ -0,0 +1,6 @@ +.\" $OpenBSD: case.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH TH-case 1 "June 13, 2014" +.SH NAME +TH-case \- document title is not all caps +.SH DESCRIPTION +some text diff --git a/contrib/mandoc/regress/man/TH/case.out_ascii b/contrib/mandoc/regress/man/TH/case.out_ascii new file mode 100644 index 00000000000..1a8b59be817 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/case.out_ascii @@ -0,0 +1,13 @@ +TH-case(1) General Commands Manual TH-case(1) + + + +NNAAMMEE + TH-case - document title is not all caps + +DDEESSCCRRIIPPTTIIOONN + some text + + + +OpenBSD June 13, 2014 TH-case(1) diff --git a/contrib/mandoc/regress/man/TH/case.out_lint b/contrib/mandoc/regress/man/TH/case.out_lint new file mode 100644 index 00000000000..b62a714c0ba --- /dev/null +++ b/contrib/mandoc/regress/man/TH/case.out_lint @@ -0,0 +1 @@ +mandoc: case.in:2:8: STYLE: lower case character in document title: TH TH-case diff --git a/contrib/mandoc/regress/man/TH/emptydate.in b/contrib/mandoc/regress/man/TH/emptydate.in new file mode 100644 index 00000000000..587709fcd70 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/emptydate.in @@ -0,0 +1,6 @@ +.\" $OpenBSD: emptydate.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH TH-EMPTYDATE 1 "" source +.SH NAME +TH-emptydate \- an empty date string +.SH DESCRIPTION +Some text. diff --git a/contrib/mandoc/regress/man/TH/emptydate.out_ascii b/contrib/mandoc/regress/man/TH/emptydate.out_ascii new file mode 100644 index 00000000000..4eb1775d5ac --- /dev/null +++ b/contrib/mandoc/regress/man/TH/emptydate.out_ascii @@ -0,0 +1,13 @@ +TH-EMPTYDATE(1) General Commands Manual TH-EMPTYDATE(1) + + + +NNAAMMEE + TH-emptydate - an empty date string + +DDEESSCCRRIIPPTTIIOONN + Some text. + + + +source TH-EMPTYDATE(1) diff --git a/contrib/mandoc/regress/man/TH/emptydate.out_lint b/contrib/mandoc/regress/man/TH/emptydate.out_lint new file mode 100644 index 00000000000..dba0e545881 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/emptydate.out_lint @@ -0,0 +1 @@ +mandoc: emptydate.in:2:20: WARNING: missing date, using today's date: TH diff --git a/contrib/mandoc/regress/man/TH/isodate.in b/contrib/mandoc/regress/man/TH/isodate.in new file mode 100644 index 00000000000..cc86b3c37f6 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/isodate.in @@ -0,0 +1,6 @@ +.\" $OpenBSD: isodate.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH TH-ISODATE 1 "2011-07-02" source +.SH NAME +TH-isodate \- ISO date format +.SH DESCRIPTION +Some text. diff --git a/contrib/mandoc/regress/man/TH/isodate.out_ascii b/contrib/mandoc/regress/man/TH/isodate.out_ascii new file mode 100644 index 00000000000..b3ee850b544 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/isodate.out_ascii @@ -0,0 +1,13 @@ +TH-ISODATE(1) General Commands Manual TH-ISODATE(1) + + + +NNAAMMEE + TH-isodate - ISO date format + +DDEESSCCRRIIPPTTIIOONN + Some text. + + + +source 2011-07-02 TH-ISODATE(1) diff --git a/contrib/mandoc/regress/man/TH/longdate.in b/contrib/mandoc/regress/man/TH/longdate.in new file mode 100644 index 00000000000..8fab961fa64 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/longdate.in @@ -0,0 +1,6 @@ +.\" $OpenBSD: longdate.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH TH-LONGDATE 1 "1234567890123456789012345678901234567890123456789012345678901234567890123456789012" source +.SH NAME +TH-longdate \- the date is longer than the line length +.SH DESCRIPTION +Some text. diff --git a/contrib/mandoc/regress/man/TH/longdate.out_ascii b/contrib/mandoc/regress/man/TH/longdate.out_ascii new file mode 100644 index 00000000000..4578834bff3 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/longdate.out_ascii @@ -0,0 +1,15 @@ +TH-LONGDATE(1) General Commands Manual TH-LONGDATE(1) + + + +NNAAMMEE + TH-longdate - the date is longer than the line length + +DDEESSCCRRIIPPTTIIOONN + Some text. + + + +source +1234567890123456789012345678901234567890123456789012345678901234567890123456789012 + TH-LONGDATE(1) diff --git a/contrib/mandoc/regress/man/TH/longdate.out_lint b/contrib/mandoc/regress/man/TH/longdate.out_lint new file mode 100644 index 00000000000..3006dad3132 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/longdate.out_lint @@ -0,0 +1 @@ +mandoc: longdate.in:2:19: WARNING: cannot parse date, using it verbatim: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012 diff --git a/contrib/mandoc/regress/man/TH/longtit.in b/contrib/mandoc/regress/man/TH/longtit.in new file mode 100644 index 00000000000..7534da68243 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/longtit.in @@ -0,0 +1,6 @@ +.\" $OpenBSD: longtit.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH TH-LONGTIT-23456789012345678901234567890123456789012345678901234567890123456789 1 "November 20, 2014" source +.SH NAME +TH-longtit \- the title is longer than the line length +.SH DESCRIPTION +Some text. diff --git a/contrib/mandoc/regress/man/TH/longtit.out_ascii b/contrib/mandoc/regress/man/TH/longtit.out_ascii new file mode 100644 index 00000000000..00dbe254e67 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/longtit.out_ascii @@ -0,0 +1,15 @@ +TH-LONGTIT-23456789012345678901234567890123456789012345678901234567890123456789(1) + General Commands Manual + + + +NNAAMMEE + TH-longtit - the title is longer than the line length + +DDEESSCCRRIIPPTTIIOONN + Some text. + + + +source November 20, 2014 +TH-LONGTIT-23456789012345678901234567890123456789012345678901234567890123456789(1) diff --git a/contrib/mandoc/regress/man/TH/longvol.in b/contrib/mandoc/regress/man/TH/longvol.in new file mode 100644 index 00000000000..a32f9015ff2 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/longvol.in @@ -0,0 +1,6 @@ +.\" $OpenBSD: longvol.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH TH-LONGVOL 1 "November 20, 2014" source 1234567890123456789012345678901234567890123456789012345678901234567890123456789 +.SH NAME +TH-longvol \- the volume string is longer than the line length +.SH DESCRIPTION +Some text. diff --git a/contrib/mandoc/regress/man/TH/longvol.out_ascii b/contrib/mandoc/regress/man/TH/longvol.out_ascii new file mode 100644 index 00000000000..bdc881a8256 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/longvol.out_ascii @@ -0,0 +1,14 @@ +TH-LONGVOL(1) +1234567890123456789012345678901234567890123456789012345678901234567890123456789 + + + +NNAAMMEE + TH-longvol - the volume string is longer than the line length + +DDEESSCCRRIIPPTTIIOONN + Some text. + + + +source November 20, 2014 TH-LONGVOL(1) diff --git a/contrib/mandoc/regress/man/TH/mdocdate.in b/contrib/mandoc/regress/man/TH/mdocdate.in new file mode 100644 index 00000000000..7ceff01a03c --- /dev/null +++ b/contrib/mandoc/regress/man/TH/mdocdate.in @@ -0,0 +1,6 @@ +.\" $OpenBSD: mdocdate.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH TH-MDOCDATE 1 "July 2, 2011" source +.SH NAME +TH-mdocdate \- standard mdoc(7) date format +.SH DESCRIPTION +Some text. diff --git a/contrib/mandoc/regress/man/TH/mdocdate.out_ascii b/contrib/mandoc/regress/man/TH/mdocdate.out_ascii new file mode 100644 index 00000000000..538c4fca199 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/mdocdate.out_ascii @@ -0,0 +1,13 @@ +TH-MDOCDATE(1) General Commands Manual TH-MDOCDATE(1) + + + +NNAAMMEE + TH-mdocdate - standard mdoc(7) date format + +DDEESSCCRRIIPPTTIIOONN + Some text. + + + +source July 2, 2011 TH-MDOCDATE(1) diff --git a/contrib/mandoc/regress/man/TH/noTH.in b/contrib/mandoc/regress/man/TH/noTH.in new file mode 100644 index 00000000000..09536c7a66c --- /dev/null +++ b/contrib/mandoc/regress/man/TH/noTH.in @@ -0,0 +1,5 @@ +.\" $OpenBSD: noTH.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.SH NAME +TH-noTH \- TH macro missing +.SH DESCRIPTION +some text diff --git a/contrib/mandoc/regress/man/TH/noTH.out_lint b/contrib/mandoc/regress/man/TH/noTH.out_lint new file mode 100644 index 00000000000..01b7b045d95 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/noTH.out_lint @@ -0,0 +1,2 @@ +mandoc: noTH.in: WARNING: missing manual title, using "" +mandoc: noTH.in: WARNING: missing date, using today's date diff --git a/contrib/mandoc/regress/man/TH/noarg.in b/contrib/mandoc/regress/man/TH/noarg.in new file mode 100644 index 00000000000..598b8351557 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/noarg.in @@ -0,0 +1,6 @@ +.\" $OpenBSD: noarg.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH +.SH NAME +TH-noarg \- no arguments to the TH macro +.SH DESCRIPTION +some text diff --git a/contrib/mandoc/regress/man/TH/noarg.out_ascii b/contrib/mandoc/regress/man/TH/noarg.out_ascii new file mode 100644 index 00000000000..1fb35ffbb49 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/noarg.out_ascii @@ -0,0 +1,13 @@ +() () + + + +NNAAMMEE + TH-noarg - no arguments to the TH macro + +DDEESSCCRRIIPPTTIIOONN + some text + + + +OpenBSD () diff --git a/contrib/mandoc/regress/man/TH/noarg.out_lint b/contrib/mandoc/regress/man/TH/noarg.out_lint new file mode 100644 index 00000000000..f4273215b1c --- /dev/null +++ b/contrib/mandoc/regress/man/TH/noarg.out_lint @@ -0,0 +1,3 @@ +mandoc: noarg.in:2:2: WARNING: missing manual title, using "": TH +mandoc: noarg.in:2:2: WARNING: missing manual section, using "": TH +mandoc: noarg.in:2:2: WARNING: missing date, using today's date: TH diff --git a/contrib/mandoc/regress/man/TH/nobody.in b/contrib/mandoc/regress/man/TH/nobody.in new file mode 100644 index 00000000000..b24909ad661 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/nobody.in @@ -0,0 +1,2 @@ +.\" $OpenBSD: nobody.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH TH-NOBODY 1 "June 20, 2014" diff --git a/contrib/mandoc/regress/man/TH/nobody.out_ascii b/contrib/mandoc/regress/man/TH/nobody.out_ascii new file mode 100644 index 00000000000..c9f369d4e82 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/nobody.out_ascii @@ -0,0 +1,5 @@ +TH-NOBODY(1) General Commands Manual TH-NOBODY(1) + + + +OpenBSD June 20, 2014 TH-NOBODY(1) diff --git a/contrib/mandoc/regress/man/TH/nobody.out_lint b/contrib/mandoc/regress/man/TH/nobody.out_lint new file mode 100644 index 00000000000..f5439fcdc56 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/nobody.out_lint @@ -0,0 +1 @@ +mandoc: nobody.in: WARNING: no document body diff --git a/contrib/mandoc/regress/man/TH/onearg.in b/contrib/mandoc/regress/man/TH/onearg.in new file mode 100644 index 00000000000..9564a36b6f4 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/onearg.in @@ -0,0 +1,6 @@ +.\" $OpenBSD: onearg.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH TH-ONEARG +.SH NAME +TH-onearg \- only one argument to the TH macro +.SH DESCRIPTION +some text diff --git a/contrib/mandoc/regress/man/TH/onearg.out_ascii b/contrib/mandoc/regress/man/TH/onearg.out_ascii new file mode 100644 index 00000000000..490c8082c60 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/onearg.out_ascii @@ -0,0 +1,13 @@ +TH-ONEARG() TH-ONEARG() + + + +NNAAMMEE + TH-onearg - only one argument to the TH macro + +DDEESSCCRRIIPPTTIIOONN + some text + + + +OpenBSD TH-ONEARG() diff --git a/contrib/mandoc/regress/man/TH/onearg.out_lint b/contrib/mandoc/regress/man/TH/onearg.out_lint new file mode 100644 index 00000000000..65062684f17 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/onearg.out_lint @@ -0,0 +1,2 @@ +mandoc: onearg.in:2:2: WARNING: missing manual section, using "": TH TH-ONEARG +mandoc: onearg.in:2:2: WARNING: missing date, using today's date: TH diff --git a/contrib/mandoc/regress/man/TH/onlyyear.in b/contrib/mandoc/regress/man/TH/onlyyear.in new file mode 100644 index 00000000000..f1f2c42944d --- /dev/null +++ b/contrib/mandoc/regress/man/TH/onlyyear.in @@ -0,0 +1,6 @@ +.\" $OpenBSD: onlyyear.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH TH-ONLYYEAR 1 2011 source +.SH NAME +TH-onlyyear \- the date has only a year +.SH DESCRIPTION +Some text. diff --git a/contrib/mandoc/regress/man/TH/onlyyear.out_ascii b/contrib/mandoc/regress/man/TH/onlyyear.out_ascii new file mode 100644 index 00000000000..7b210a1213e --- /dev/null +++ b/contrib/mandoc/regress/man/TH/onlyyear.out_ascii @@ -0,0 +1,13 @@ +TH-ONLYYEAR(1) General Commands Manual TH-ONLYYEAR(1) + + + +NNAAMMEE + TH-onlyyear - the date has only a year + +DDEESSCCRRIIPPTTIIOONN + Some text. + + + +source 2011 TH-ONLYYEAR(1) diff --git a/contrib/mandoc/regress/man/TH/sixargs.in b/contrib/mandoc/regress/man/TH/sixargs.in new file mode 100644 index 00000000000..4350b816e2a --- /dev/null +++ b/contrib/mandoc/regress/man/TH/sixargs.in @@ -0,0 +1,6 @@ +.\" $OpenBSD: sixargs.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.TH TH-SIXARGS 1 "January 16, 2011" OpenBSD regress SIX +.SH NAME +TH-sixargs \- six arguments to the TH macro +.SH DESCRIPTION +some text diff --git a/contrib/mandoc/regress/man/TH/sixargs.out_ascii b/contrib/mandoc/regress/man/TH/sixargs.out_ascii new file mode 100644 index 00000000000..3e02362ed27 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/sixargs.out_ascii @@ -0,0 +1,13 @@ +TH-SIXARGS(1) regress TH-SIXARGS(1) + + + +NNAAMMEE + TH-sixargs - six arguments to the TH macro + +DDEESSCCRRIIPPTTIIOONN + some text + + + +OpenBSD January 16, 2011 TH-SIXARGS(1) diff --git a/contrib/mandoc/regress/man/TH/sixargs.out_lint b/contrib/mandoc/regress/man/TH/sixargs.out_lint new file mode 100644 index 00000000000..2a1c4a2803f --- /dev/null +++ b/contrib/mandoc/regress/man/TH/sixargs.out_lint @@ -0,0 +1 @@ +mandoc: sixargs.in:2:53: ERROR: skipping excess arguments: TH ... SIX diff --git a/contrib/mandoc/regress/man/TH/twoargs.in b/contrib/mandoc/regress/man/TH/twoargs.in new file mode 100644 index 00000000000..810a1c763b8 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/twoargs.in @@ -0,0 +1,6 @@ +.\" $OpenBSD: twoargs.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH TH-TWOARGS +.SH NAME +TH-twoargs \- only two arguments to the TH macro +.SH DESCRIPTION +some text diff --git a/contrib/mandoc/regress/man/TH/twoargs.out_ascii b/contrib/mandoc/regress/man/TH/twoargs.out_ascii new file mode 100644 index 00000000000..cb0fc6ed150 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/twoargs.out_ascii @@ -0,0 +1,13 @@ +TH-TWOARGS() TH-TWOARGS() + + + +NNAAMMEE + TH-twoargs - only two arguments to the TH macro + +DDEESSCCRRIIPPTTIIOONN + some text + + + +OpenBSD TH-TWOARGS() diff --git a/contrib/mandoc/regress/man/TH/twoargs.out_lint b/contrib/mandoc/regress/man/TH/twoargs.out_lint new file mode 100644 index 00000000000..3cd469f5865 --- /dev/null +++ b/contrib/mandoc/regress/man/TH/twoargs.out_lint @@ -0,0 +1,2 @@ +mandoc: twoargs.in:2:2: WARNING: missing manual section, using "": TH TH-TWOARGS +mandoc: twoargs.in:2:2: WARNING: missing date, using today's date: TH diff --git a/contrib/mandoc/regress/man/TP/Makefile b/contrib/mandoc/regress/man/TP/Makefile new file mode 100644 index 00000000000..b1763652d1b --- /dev/null +++ b/contrib/mandoc/regress/man/TP/Makefile @@ -0,0 +1,15 @@ +# $OpenBSD: Makefile,v 1.12 2015/09/21 13:24:32 schwarze Exp $ + +REGRESS_TARGETS = badarg broken double eof fill indent literal longhead +REGRESS_TARGETS += macrotag manyargs sameline spacing width + +LINT_TARGETS = broken double eof + +# groff-1.22.3 defects: +# - If .TP precedes .RE, the latter does not properly reset indentation. +# - If the last line of the file is .TP, groff does not print a page footer. +# - A blank line in .TP next line scope causes a blank line. + +SKIP_GROFF = broken eof + +.include diff --git a/contrib/mandoc/regress/man/TP/badarg.in b/contrib/mandoc/regress/man/TP/badarg.in new file mode 100644 index 00000000000..f4f92ce9de7 --- /dev/null +++ b/contrib/mandoc/regress/man/TP/badarg.in @@ -0,0 +1,21 @@ +.\" $OpenBSD: badarg.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH TP-BADARG 1 "November 18, 2012" +.SH NAME +TP-badarg \- invalid width specification for tagged paragraph +.SH DESCRIPTION +Non-numeric width specifications are ignored: +.TP x +tag +indented +.br +text +.TP xxxxx +tag +indented +.br +text +.TP xxxxxxxxxx +tag +indented +.br +text diff --git a/contrib/mandoc/regress/man/TP/badarg.out_ascii b/contrib/mandoc/regress/man/TP/badarg.out_ascii new file mode 100644 index 00000000000..f5b0a15a93a --- /dev/null +++ b/contrib/mandoc/regress/man/TP/badarg.out_ascii @@ -0,0 +1,22 @@ +TP-BADARG(1) General Commands Manual TP-BADARG(1) + + + +NNAAMMEE + TP-badarg - invalid width specification for tagged paragraph + +DDEESSCCRRIIPPTTIIOONN + Non-numeric width specifications are ignored: + + tag indented + text + + tag indented + text + + tag indented + text + + + +OpenBSD November 18, 2012 TP-BADARG(1) diff --git a/contrib/mandoc/regress/man/TP/broken.in b/contrib/mandoc/regress/man/TP/broken.in new file mode 100644 index 00000000000..686b5559294 --- /dev/null +++ b/contrib/mandoc/regress/man/TP/broken.in @@ -0,0 +1,18 @@ +.\" $OpenBSD: broken.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.TH TP-BROKEN 1 "December 16, 2014" +.SH NAME +TP-broken \- broken tagged paragraph +.SH DESCRIPTION +regular +text +.RS 4n +indented +text +.TP +.RE +regular +text +.TP + +head +body diff --git a/contrib/mandoc/regress/man/TP/broken.out_ascii b/contrib/mandoc/regress/man/TP/broken.out_ascii new file mode 100644 index 00000000000..68fab4f0ba0 --- /dev/null +++ b/contrib/mandoc/regress/man/TP/broken.out_ascii @@ -0,0 +1,17 @@ +TP-BROKEN(1) General Commands Manual TP-BROKEN(1) + + + +NNAAMMEE + TP-broken - broken tagged paragraph + +DDEESSCCRRIIPPTTIIOONN + regular text + indented text + regular text + + head body + + + +OpenBSD December 16, 2014 TP-BROKEN(1) diff --git a/contrib/mandoc/regress/man/TP/broken.out_lint b/contrib/mandoc/regress/man/TP/broken.out_lint new file mode 100644 index 00000000000..2539a6227ff --- /dev/null +++ b/contrib/mandoc/regress/man/TP/broken.out_lint @@ -0,0 +1,2 @@ +mandoc: broken.in:11:2: WARNING: line scope broken: RE breaks TP +mandoc: broken.in:16:1: WARNING: skipping blank line in line scope diff --git a/contrib/mandoc/regress/man/TP/double.in b/contrib/mandoc/regress/man/TP/double.in new file mode 100644 index 00000000000..f81339ebf71 --- /dev/null +++ b/contrib/mandoc/regress/man/TP/double.in @@ -0,0 +1,41 @@ +.\" $OpenBSD: double.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.TH TP-DOUBLE 1 2013-06-23 +.SH NAME +TP-double \- effect of double tagged paragraph +.SH DESCRIPTION +leading text: +This is a rather long text because we want to test the text width; +at which point will this text wrap to the next line? +.TP 16n +first TP +This is a rather long text because we want to test the text width; +at which point will this text wrap to the next line? +.TP 16n +second TP +This is a rather long text because we want to test the text width; +at which point will this text wrap to the next line? +.PP +normal paragraph: +This is a rather long text because we want to test the text width; +at which point will this text wrap to the next line? +.PP +.TP 16n +.TP 16n +double TP +This is a rather long text because we want to test the text width; +at which point will this text wrap to the next line? +.PP +normal paragraph: +This is a rather long text because we want to test the text width; +at which point will this text wrap to the next line? +.B +.PP +.TP 16n +.TP 16n +double TP +This is a rather long text because we want to test the text width; +at which point will this text wrap to the next line? +.PP +normal paragraph: +This is a rather long text because we want to test the text width; +at which point will this text wrap to the next line? diff --git a/contrib/mandoc/regress/man/TP/double.out_ascii b/contrib/mandoc/regress/man/TP/double.out_ascii new file mode 100644 index 00000000000..63c5e9dbc81 --- /dev/null +++ b/contrib/mandoc/regress/man/TP/double.out_ascii @@ -0,0 +1,39 @@ +TP-DOUBLE(1) General Commands Manual TP-DOUBLE(1) + + + +NNAAMMEE + TP-double - effect of double tagged paragraph + +DDEESSCCRRIIPPTTIIOONN + leading text: This is a rather long text because we want to test the + text width; at which point will this text wrap to the next line? + + first TP This is a rather long text because we want to test the + text width; at which point will this text wrap to the + next line? + + second TP This is a rather long text because we want to test the + text width; at which point will this text wrap to the + next line? + + normal paragraph: This is a rather long text because we want to test + the text width; at which point will this text wrap to the next line? + + double TP This is a rather long text because we want to test the + text width; at which point will this text wrap to the + next line? + + normal paragraph: This is a rather long text because we want to test + the text width; at which point will this text wrap to the next line? + + double TP This is a rather long text because we want to test the + text width; at which point will this text wrap to the + next line? + + normal paragraph: This is a rather long text because we want to test + the text width; at which point will this text wrap to the next line? + + + +OpenBSD 2013-06-23 TP-DOUBLE(1) diff --git a/contrib/mandoc/regress/man/TP/double.out_lint b/contrib/mandoc/regress/man/TP/double.out_lint new file mode 100644 index 00000000000..f5cada43d24 --- /dev/null +++ b/contrib/mandoc/regress/man/TP/double.out_lint @@ -0,0 +1,5 @@ +mandoc: double.in:22:2: WARNING: line scope broken: TP breaks TP +mandoc: double.in:31:2: WARNING: line scope broken: PP breaks B +mandoc: double.in:33:2: WARNING: line scope broken: TP breaks TP +mandoc: double.in:21:2: WARNING: skipping paragraph macro: PP empty +mandoc: double.in:32:2: WARNING: skipping paragraph macro: PP empty diff --git a/contrib/mandoc/regress/man/TP/eof.in b/contrib/mandoc/regress/man/TP/eof.in new file mode 100644 index 00000000000..e073f7db76f --- /dev/null +++ b/contrib/mandoc/regress/man/TP/eof.in @@ -0,0 +1,7 @@ +.\" $OpenBSD: eof.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH TP-EOF 1 "July 7, 2014" +.SH NAME +TP-eof \- indented paragraph macro at the end of the file +.SH DESCRIPTION +The last line of the file is TP: +.TP diff --git a/contrib/mandoc/regress/man/TP/eof.out_ascii b/contrib/mandoc/regress/man/TP/eof.out_ascii new file mode 100644 index 00000000000..30e2cb76037 --- /dev/null +++ b/contrib/mandoc/regress/man/TP/eof.out_ascii @@ -0,0 +1,13 @@ +TP-EOF(1) General Commands Manual TP-EOF(1) + + + +NNAAMMEE + TP-eof - indented paragraph macro at the end of the file + +DDEESSCCRRIIPPTTIIOONN + The last line of the file is TP: + + + +OpenBSD July 7, 2014 TP-EOF(1) diff --git a/contrib/mandoc/regress/man/TP/eof.out_lint b/contrib/mandoc/regress/man/TP/eof.out_lint new file mode 100644 index 00000000000..84b5a3fbf66 --- /dev/null +++ b/contrib/mandoc/regress/man/TP/eof.out_lint @@ -0,0 +1 @@ +mandoc: eof.in:7:2: WARNING: line scope broken: EOF breaks TP diff --git a/contrib/mandoc/regress/man/TP/fill.in b/contrib/mandoc/regress/man/TP/fill.in new file mode 100644 index 00000000000..dfcf62a57ea --- /dev/null +++ b/contrib/mandoc/regress/man/TP/fill.in @@ -0,0 +1,17 @@ +.\" $OpenBSD: fill.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH TP-FILL 1 "September 4, 2015" +.SH NAME +TP-fill \- interaction of tagged paragraphs and fill mode +.SH DESCRIPTION +Switching off fill mode: +.TP +.nf +tag +indented +text +Switching it back on: +.fi +.TP +This is an extremely long tag that will certainly wrap the line and continue onto the next one. +indented +text diff --git a/contrib/mandoc/regress/man/TP/fill.out_ascii b/contrib/mandoc/regress/man/TP/fill.out_ascii new file mode 100644 index 00000000000..6af000b31f1 --- /dev/null +++ b/contrib/mandoc/regress/man/TP/fill.out_ascii @@ -0,0 +1,21 @@ +TP-FILL(1) General Commands Manual TP-FILL(1) + + + +NNAAMMEE + TP-fill - interaction of tagged paragraphs and fill mode + +DDEESSCCRRIIPPTTIIOONN + Switching off fill mode: + + tag indented + text + Switching it back on: + + This is an extremely long tag that will certainly wrap the line and + continue onto the next one. + indented text + + + +OpenBSD September 4, 2015 TP-FILL(1) diff --git a/contrib/mandoc/regress/man/TP/indent.in b/contrib/mandoc/regress/man/TP/indent.in new file mode 100644 index 00000000000..a046ef805d1 --- /dev/null +++ b/contrib/mandoc/regress/man/TP/indent.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: indent.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH TP-INDENT 1 "June 17, 2017" +.SH NAME +TP-indent \- indent request inside TP head +.SH DESCRIPTION +initial text +.TP 2n +tag +indented +.TP 8n +.in 3n +tag +indented +.PP +final text diff --git a/contrib/mandoc/regress/man/TP/indent.out_ascii b/contrib/mandoc/regress/man/TP/indent.out_ascii new file mode 100644 index 00000000000..9e015b21b51 --- /dev/null +++ b/contrib/mandoc/regress/man/TP/indent.out_ascii @@ -0,0 +1,20 @@ +TP-INDENT(1) General Commands Manual TP-INDENT(1) + + + +NNAAMMEE + TP-indent - indent request inside TP head + +DDEESSCCRRIIPPTTIIOONN + initial text + + tag + indented + + tag indented + + final text + + + +OpenBSD June 17, 2017 TP-INDENT(1) diff --git a/contrib/mandoc/regress/man/TP/literal.in b/contrib/mandoc/regress/man/TP/literal.in new file mode 100644 index 00000000000..4fa30fd1a58 --- /dev/null +++ b/contrib/mandoc/regress/man/TP/literal.in @@ -0,0 +1,27 @@ +.\" $OpenBSD: literal.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.TH TP-LITERAL 1 "January 4, 2011" +.SH NAME +TP-literal \- indented paragraphs in literal context +.SH DESCRIPTION +regular +text +.TP 10n +tag +indented +text +.PP +regular +text +.nf +literal +text +.TP 10n +tag +indented +text +.PP +literal +text +.fi +regular +text diff --git a/contrib/mandoc/regress/man/TP/literal.out_ascii b/contrib/mandoc/regress/man/TP/literal.out_ascii new file mode 100644 index 00000000000..b8dddb7b39d --- /dev/null +++ b/contrib/mandoc/regress/man/TP/literal.out_ascii @@ -0,0 +1,26 @@ +TP-LITERAL(1) General Commands Manual TP-LITERAL(1) + + + +NNAAMMEE + TP-literal - indented paragraphs in literal context + +DDEESSCCRRIIPPTTIIOONN + regular text + + tag indented text + + regular text + literal + text + + tag indented + text + + literal + text + regular text + + + +OpenBSD January 4, 2011 TP-LITERAL(1) diff --git a/contrib/mandoc/regress/man/TP/longhead.in b/contrib/mandoc/regress/man/TP/longhead.in new file mode 100644 index 00000000000..98b5264a7e8 --- /dev/null +++ b/contrib/mandoc/regress/man/TP/longhead.in @@ -0,0 +1,12 @@ +.\" $OpenBSD: longhead.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH TP-LONGHEAD 1 "April 8, 2014" +.SH NAME +TP-longhead \- tagged paragraph with a long head +.SH DESCRIPTION +normal text +.TP 6n +.B "This tagged paragraph has ridiculously long text \ +in its head, such that it doesn't even fit on the line" +paragraph body +.PP +normal text diff --git a/contrib/mandoc/regress/man/TP/longhead.out_ascii b/contrib/mandoc/regress/man/TP/longhead.out_ascii new file mode 100644 index 00000000000..f0de1ee5e47 --- /dev/null +++ b/contrib/mandoc/regress/man/TP/longhead.out_ascii @@ -0,0 +1,19 @@ +TP-LONGHEAD(1) General Commands Manual TP-LONGHEAD(1) + + + +NNAAMMEE + TP-longhead - tagged paragraph with a long head + +DDEESSCCRRIIPPTTIIOONN + normal text + + TThhiiss ttaaggggeedd ppaarraaggrraapphh hhaass rriiddiiccuulloouussllyy lloonngg tteexxtt iinn iittss hheeaadd,, ssuucchh tthhaatt + iitt ddooeessnn''tt eevveenn ffiitt oonn tthhee lliinnee + paragraph body + + normal text + + + +OpenBSD April 8, 2014 TP-LONGHEAD(1) diff --git a/contrib/mandoc/regress/man/TP/macrotag.in b/contrib/mandoc/regress/man/TP/macrotag.in new file mode 100644 index 00000000000..ec214f41ca8 --- /dev/null +++ b/contrib/mandoc/regress/man/TP/macrotag.in @@ -0,0 +1,14 @@ +.\" $OpenBSD: macrotag.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.TH TP-MACROTAG 1 "September 20, 2011" +.SH NAME +TP-macrotag \- macro in the head of a tagged paragraph +.SH DESCRIPTION +regular +text +.TP +.B longindent +indented +text +.PP +regular +text diff --git a/contrib/mandoc/regress/man/TP/macrotag.out_ascii b/contrib/mandoc/regress/man/TP/macrotag.out_ascii new file mode 100644 index 00000000000..e466adcf142 --- /dev/null +++ b/contrib/mandoc/regress/man/TP/macrotag.out_ascii @@ -0,0 +1,18 @@ +TP-MACROTAG(1) General Commands Manual TP-MACROTAG(1) + + + +NNAAMMEE + TP-macrotag - macro in the head of a tagged paragraph + +DDEESSCCRRIIPPTTIIOONN + regular text + + lloonnggiinnddeenntt + indented text + + regular text + + + +OpenBSD September 20, 2011 TP-MACROTAG(1) diff --git a/contrib/mandoc/regress/man/TP/manyargs.in b/contrib/mandoc/regress/man/TP/manyargs.in new file mode 100644 index 00000000000..9736690b1e5 --- /dev/null +++ b/contrib/mandoc/regress/man/TP/manyargs.in @@ -0,0 +1,46 @@ +.\" $OpenBSD: manyargs.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.TH TP-MANYARGS 1 "January 4, 2011" +.SH NAME +TP-manyargs \- too many header args for indented blocks +.SH DESCRIPTION +regular +text +.TP 10n +tag1 +indented +text +.PP +regular +text +.TP 10n tag1 +tag2 +indented +text +.PP +regular +text +.TP 10n tag2 tag1 +tag3 +indented +text +.nf +literal +text +.TP 10n +tag1 +indented +text +.PP +literal +text +.TP 10n tag1 +tag2 +indented +text +.PP +literal +text +.TP 10n tag2 tag1 +tag3 +indented +text diff --git a/contrib/mandoc/regress/man/TP/manyargs.out_ascii b/contrib/mandoc/regress/man/TP/manyargs.out_ascii new file mode 100644 index 00000000000..a88b8d5b800 --- /dev/null +++ b/contrib/mandoc/regress/man/TP/manyargs.out_ascii @@ -0,0 +1,40 @@ +TP-MANYARGS(1) General Commands Manual TP-MANYARGS(1) + + + +NNAAMMEE + TP-manyargs - too many header args for indented blocks + +DDEESSCCRRIIPPTTIIOONN + regular text + + tag1 indented text + + regular text + + tag2 indented text + + regular text + + tag3 indented text + literal + text + + tag1 indented + text + + literal + text + + tag2 indented + text + + literal + text + + tag3 indented + text + + + +OpenBSD January 4, 2011 TP-MANYARGS(1) diff --git a/contrib/mandoc/regress/man/TP/sameline.in b/contrib/mandoc/regress/man/TP/sameline.in new file mode 100644 index 00000000000..5fa1cac78c1 --- /dev/null +++ b/contrib/mandoc/regress/man/TP/sameline.in @@ -0,0 +1,31 @@ +.\" $OpenBSD: sameline.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH TP-SAMELINE 1 "March 8, 2014" +.SH NAME +TP-sameline \- test sameline logic of indented paragraphs +.SH DESCRIPTION +.SS without user-defined macros +with width: +.TP 6n +tag +text +.PP +without width: +.TP +20n +text +.SS with user-defined macros +.de mylist +with width: +.TP 6n +tag +text +.. +.mylist +.PP +.de mylist +without width: +.TP +20n +text +.. +.mylist diff --git a/contrib/mandoc/regress/man/TP/sameline.out_ascii b/contrib/mandoc/regress/man/TP/sameline.out_ascii new file mode 100644 index 00000000000..767f46cc131 --- /dev/null +++ b/contrib/mandoc/regress/man/TP/sameline.out_ascii @@ -0,0 +1,29 @@ +TP-SAMELINE(1) General Commands Manual TP-SAMELINE(1) + + + +NNAAMMEE + TP-sameline - test sameline logic of indented paragraphs + +DDEESSCCRRIIPPTTIIOONN + wwiitthhoouutt uusseerr--ddeeffiinneedd mmaaccrrooss + with width: + + tag text + + without width: + + 20n text + + wwiitthh uusseerr--ddeeffiinneedd mmaaccrrooss + with width: + + tag text + + without width: + + 20n text + + + +OpenBSD March 8, 2014 TP-SAMELINE(1) diff --git a/contrib/mandoc/regress/man/TP/spacing.in b/contrib/mandoc/regress/man/TP/spacing.in new file mode 100644 index 00000000000..181dec6377e --- /dev/null +++ b/contrib/mandoc/regress/man/TP/spacing.in @@ -0,0 +1,43 @@ +.\" $OpenBSD: spacing.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH TP-SPACING 1 "September 21, 2015" +.SH NAME +TP-spacing \- spacing in tagged paragraphs +.SH DESCRIPTION +Normal text. +.TP +tag +Indented text. +.TP +four +Indented text. +.TP +ffive +Indented text. +.TP +sixsix +Indented text. +.TP +seseven +Indented text. +.TP +a much longer tag +Indented text. +.LP +Tags with trailing space: +.TP +tag\ \& +Three plus one makes four. +.TP +tag\ \ \& +Three plus two makes five. +.TP +tag\ \ \ \& +Three plus three makes six. +.TP +tag\ \ \ \ \ \& +Three plus four makes seven. +.TP +tag\ \ \ \ \ \ \& +Three plus five makes eight. +.LP +Normal text. diff --git a/contrib/mandoc/regress/man/TP/spacing.out_ascii b/contrib/mandoc/regress/man/TP/spacing.out_ascii new file mode 100644 index 00000000000..247b25f903f --- /dev/null +++ b/contrib/mandoc/regress/man/TP/spacing.out_ascii @@ -0,0 +1,43 @@ +TP-SPACING(1) General Commands Manual TP-SPACING(1) + + + +NNAAMMEE + TP-spacing - spacing in tagged paragraphs + +DDEESSCCRRIIPPTTIIOONN + Normal text. + + tag Indented text. + + four Indented text. + + ffive Indented text. + + sixsix Indented text. + + seseven + Indented text. + + a much longer tag + Indented text. + + Tags with trailing space: + + tag Three plus one makes four. + + tag Three plus two makes five. + + tag Three plus three makes six. + + tag + Three plus four makes seven. + + tag + Three plus five makes eight. + + Normal text. + + + +OpenBSD September 21, 2015 TP-SPACING(1) diff --git a/contrib/mandoc/regress/man/TP/width.in b/contrib/mandoc/regress/man/TP/width.in new file mode 100644 index 00000000000..794392b6796 --- /dev/null +++ b/contrib/mandoc/regress/man/TP/width.in @@ -0,0 +1,90 @@ +.\" $OpenBSD: width.in,v 1.6 2017/07/04 14:53:24 schwarze Exp $ +.TH TP-WIDTH 1 "December 23, 2014" +.SH NAME +TP-width \- indentation width of indented paragraphs +.SH DESCRIPTION +Regular mode: +.TP -10n +tag +indented +.br +text +.TP -0.36i +tag +indented +.br +text +.TP 0n +tag +indented +.br +text +.TP 1n +tag +indented +.br +text +.TP 0.16i +tag +indented +.br +text +.TP 3n +tag +indented +.br +text +.TP 4n +tag +indented +.br +text +.TP 5n +tag +indented +.br +text +.TP 100n +tag +indented +.br +text +.PP +Literal mode: +.nf +.TP -0.96i +tag +indented +text +.TP -4n +tag +indented +text +.TP 0n +tag +indented +text +.TP 1n +tag +indented +text +.TP 2n +tag +indented +text +.TP 0.26i +tag +indented +text +.TP 4n +tag +indented +text +.TP 5n +tag +indented +text +.TP 100n +tag +indented +text diff --git a/contrib/mandoc/regress/man/TP/width.out_ascii b/contrib/mandoc/regress/man/TP/width.out_ascii new file mode 100644 index 00000000000..fea6388394f --- /dev/null +++ b/contrib/mandoc/regress/man/TP/width.out_ascii @@ -0,0 +1,81 @@ +TP-WIDTH(1) General Commands Manual TP-WIDTH(1) + + + +NNAAMMEE + TP-width - indentation width of indented paragraphs + +DDEESSCCRRIIPPTTIIOONN + Regular mode: + + tag +indented +text + + tag + indented + text + + tag + indented + text + + tag + indented + text + + tag + indented + text + + tag + indented + text + + tag indented + text + + tag indented + text + + tag indented + text + + Literal mode: + + tag +indented +text + + tag + indented + text + + tag + indented + text + + tag + indented + text + + tag + indented + text + + tag + indented + text + + tag indented + text + + tag indented + text + + tag indented + text + + + +OpenBSD December 23, 2014 TP-WIDTH(1) diff --git a/contrib/mandoc/regress/man/TS/Makefile b/contrib/mandoc/regress/man/TS/Makefile new file mode 100644 index 00000000000..1d20dc84dab --- /dev/null +++ b/contrib/mandoc/regress/man/TS/Makefile @@ -0,0 +1,22 @@ +# $OpenBSD: Makefile,v 1.3 2015/01/30 21:28:21 schwarze Exp $ + +REGRESS_TARGETS = break vspace +LINT_TARGETS = break + +# groff-1.22.3 defect: +# - Starting a table in next-line scope confuses font handling, +# and in the case of .TP indentation as well. + +SKIP_GROFF = break + + +# OpenBSD only: maintainer targets + +TBL=/usr/local/bin/tbl + +.for t in ${REGRESS_TARGETS} +${t}.out_ascii: ${t}.in + ${TBL} ${.ALLSRC} | ${NROFF} ${NOPTS} -Tascii > ${.TARGET} +.endfor + +.include diff --git a/contrib/mandoc/regress/man/TS/break.in b/contrib/mandoc/regress/man/TS/break.in new file mode 100644 index 00000000000..3c910311417 --- /dev/null +++ b/contrib/mandoc/regress/man/TS/break.in @@ -0,0 +1,34 @@ +.\" $OpenBSD: break.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH TBL-BREAK 1 "January 30, 2015" +.SH NAME +tbl-break \- tables breaking blocks +.SH DESCRIPTION +tagged paragraph: +.TP 6n +.TS +l. +first line +second line +.TE +section: +.SH +.TS +l. +first line +second line +.TE +subsection: +.SS +.TS +l. +first line +second line +.TE +bold: +.B +.TS +l. +first line +second line +.TE +final text diff --git a/contrib/mandoc/regress/man/TS/break.out_ascii b/contrib/mandoc/regress/man/TS/break.out_ascii new file mode 100644 index 00000000000..57634e020f5 --- /dev/null +++ b/contrib/mandoc/regress/man/TS/break.out_ascii @@ -0,0 +1,29 @@ +TBL-BREAK(1) General Commands Manual TBL-BREAK(1) + + + +NNAAMMEE + tbl-break - tables breaking blocks + +DDEESSCCRRIIPPTTIIOONN + tagged paragraph: + + first line + second line + section: + + first line + second line + subsection: + + first line + second line + bold: + + first line + second line + final text + + + +OpenBSD January 30, 2015 TBL-BREAK(1) diff --git a/contrib/mandoc/regress/man/TS/break.out_lint b/contrib/mandoc/regress/man/TS/break.out_lint new file mode 100644 index 00000000000..5d32f3e09d7 --- /dev/null +++ b/contrib/mandoc/regress/man/TS/break.out_lint @@ -0,0 +1,4 @@ +mandoc: break.in:7:2: WARNING: line scope broken: TS breaks TP +mandoc: break.in:14:2: WARNING: line scope broken: TS breaks SH +mandoc: break.in:21:2: WARNING: line scope broken: TS breaks SS +mandoc: break.in:28:2: WARNING: line scope broken: TS breaks B diff --git a/contrib/mandoc/regress/man/TS/vspace.in b/contrib/mandoc/regress/man/TS/vspace.in new file mode 100644 index 00000000000..226a71afe00 --- /dev/null +++ b/contrib/mandoc/regress/man/TS/vspace.in @@ -0,0 +1,49 @@ +.\" $OpenBSD: vspace.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.TH TBL-VSPACE 1 "May 27, 2012" +.SH NAME +tbl-vspace \- vertical spacing around tables +.SH DESCRIPTION +normal text before table +.TS +L . +table without box +.TE +normal text after table without box +.TS +box; +L . +table with box +.TE +.\" at least one vertical space is required here +.\" or groff will clobber the box +.sp 1v +normal text after table with box +.TS +doublebox; +L . +table with double box +.TE +.\" at least two vertical spaces are required here +.\" or groff will clobber the box +.sp 2v +normal text after table with double box +.TS +L . +table without box +.TE +.TS +box; +L . +table with box +.TE +.sp 1v +.TS +doublebox; +L . +table with double box +.TE +.sp 2v +.TS +L . +table without box +.TE diff --git a/contrib/mandoc/regress/man/TS/vspace.out_ascii b/contrib/mandoc/regress/man/TS/vspace.out_ascii new file mode 100644 index 00000000000..b0122b912c8 --- /dev/null +++ b/contrib/mandoc/regress/man/TS/vspace.out_ascii @@ -0,0 +1,42 @@ +TBL-VSPACE(1) General Commands Manual TBL-VSPACE(1) + + + +NNAAMMEE + tbl-vspace - vertical spacing around tables + +DDEESSCCRRIIPPTTIIOONN + normal text before table + + table without box + normal text after table without box + + +---------------+ + |table with box | + +---------------+ + normal text after table with box + + +----------------------+ + +----------------------+ + |table with double box | + +----------------------+ + +----------------------+ + normal text after table with double box + + table without box + + +---------------+ + |table with box | + +---------------+ + + +----------------------+ + +----------------------+ + |table with double box | + +----------------------+ + +----------------------+ + + table without box + + + +OpenBSD May 27, 2012 TBL-VSPACE(1) diff --git a/contrib/mandoc/regress/man/UR/Makefile b/contrib/mandoc/regress/man/UR/Makefile new file mode 100644 index 00000000000..11cafcdf145 --- /dev/null +++ b/contrib/mandoc/regress/man/UR/Makefile @@ -0,0 +1,12 @@ +# $OpenBSD: Makefile,v 1.3 2015/02/06 11:54:03 schwarze Exp $ + +REGRESS_TARGETS = args noUE +LINT_TARGETS = args noUE + +# groff-1.22.3 defects: +# - Without .UE, .UR does not print the URI. +# - But .UE prints <> even without .UR. + +SKIP_GROFF = noUE + +.include diff --git a/contrib/mandoc/regress/man/UR/args.in b/contrib/mandoc/regress/man/UR/args.in new file mode 100644 index 00000000000..183269e854a --- /dev/null +++ b/contrib/mandoc/regress/man/UR/args.in @@ -0,0 +1,30 @@ +.\" $OpenBSD: args.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH UR-ARGS 1 "October 17, 2013" +.SH NAME +UR-basic \- argument handling of the man-ext URI macro +.SH DESCRIPTION +argument plus text: +.UR http://www.openbsd.org/ +OpenBSD +homepage +.UE +.PP +argument but no text: +.UR http://www.netbsd.org/ +.UE +.PP +no argument, but text: +.UR +some text +.UE +.PP +two arguments plus text: +.UR first second +some text +.UE +.PP +two arguments, but no text: +.UR first second +.UE +.PP +final text diff --git a/contrib/mandoc/regress/man/UR/args.out_ascii b/contrib/mandoc/regress/man/UR/args.out_ascii new file mode 100644 index 00000000000..9368974ad04 --- /dev/null +++ b/contrib/mandoc/regress/man/UR/args.out_ascii @@ -0,0 +1,23 @@ +UR-ARGS(1) General Commands Manual UR-ARGS(1) + + + +NNAAMMEE + UR-basic - argument handling of the man-ext URI macro + +DDEESSCCRRIIPPTTIIOONN + argument plus text: OpenBSD homepage + + argument but no text: + + no argument, but text: some text <> + + two arguments plus text: some text + + two arguments, but no text: + + final text + + + +OpenBSD October 17, 2013 UR-ARGS(1) diff --git a/contrib/mandoc/regress/man/UR/args.out_lint b/contrib/mandoc/regress/man/UR/args.out_lint new file mode 100644 index 00000000000..262c9886b35 --- /dev/null +++ b/contrib/mandoc/regress/man/UR/args.out_lint @@ -0,0 +1,5 @@ +mandoc: args.in:22:11: ERROR: skipping excess arguments: UR ... second +mandoc: args.in:27:11: ERROR: skipping excess arguments: UR ... second +mandoc: args.in:13:2: WARNING: empty block: UR +mandoc: args.in:17:2: WARNING: missing resource identifier, using "": UR +mandoc: args.in:27:2: WARNING: empty block: UR diff --git a/contrib/mandoc/regress/man/UR/noUE.in b/contrib/mandoc/regress/man/UR/noUE.in new file mode 100644 index 00000000000..780dcd9ec6e --- /dev/null +++ b/contrib/mandoc/regress/man/UR/noUE.in @@ -0,0 +1,12 @@ +.\" $OpenBSD: noUE.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH UR-NOUE 1 "July 7, 2014" +.SH NAME +UR-noUE \- unclosed URI macro +.SH DESCRIPTION +lonely UE: +.UE +.PP +argument plus text: +.UR http://www.openbsd.org/ +OpenBSD +homepage diff --git a/contrib/mandoc/regress/man/UR/noUE.out_ascii b/contrib/mandoc/regress/man/UR/noUE.out_ascii new file mode 100644 index 00000000000..19090f6bae8 --- /dev/null +++ b/contrib/mandoc/regress/man/UR/noUE.out_ascii @@ -0,0 +1,15 @@ +UR-NOUE(1) General Commands Manual UR-NOUE(1) + + + +NNAAMMEE + UR-noUE - unclosed URI macro + +DDEESSCCRRIIPPTTIIOONN + lonely UE: + + argument plus text: OpenBSD homepage + + + +OpenBSD July 7, 2014 UR-NOUE(1) diff --git a/contrib/mandoc/regress/man/UR/noUE.out_lint b/contrib/mandoc/regress/man/UR/noUE.out_lint new file mode 100644 index 00000000000..ecc56b0350f --- /dev/null +++ b/contrib/mandoc/regress/man/UR/noUE.out_lint @@ -0,0 +1,2 @@ +mandoc: noUE.in:7:2: ERROR: skipping end of block that is not open: UE +mandoc: noUE.in:10:2: ERROR: appending missing end of block: UR diff --git a/contrib/mandoc/regress/man/blank/Makefile b/contrib/mandoc/regress/man/blank/Makefile new file mode 100644 index 00000000000..f4759d32563 --- /dev/null +++ b/contrib/mandoc/regress/man/blank/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.3 2014/07/02 05:51:49 schwarze Exp $ + +REGRESS_TARGETS = line afterSH afterSS +LINT_TARGETS = line afterSH afterSS + +.include diff --git a/contrib/mandoc/regress/man/blank/afterSH.in b/contrib/mandoc/regress/man/blank/afterSH.in new file mode 100644 index 00000000000..01bea3e422e --- /dev/null +++ b/contrib/mandoc/regress/man/blank/afterSH.in @@ -0,0 +1,78 @@ +.\" $OpenBSD: afterSH.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH BLANK-AFTERSH 1 "November 10, 2013" +.SH NAME +blank-afterSH \- handling of blank lines right after a section heading +.SH DESCRIPTION + +blank line before text +.SH DESCRIPTION 2 + +.PP +blank line before PP +.SH DESCRIPTION 3 + +.RS 6n +blank line before RS +.RE +.SH DESCRIPTION 4 + +.IP TAG +blank line before an indented paragraph +.SH DESCRIPTION 5 + +.TP +TAG +blank line before a tagged paragraph +.SH DESCRIPTION 6 + +.HP +blank line before a hanged paragraph +.SH DESCRIPTION 7 + +.br +blank line before br +.SH DESCRIPTION 8 + +.sp +blank line before sp +.SH DESCRIPTION 10 + + +double blank line before text +.SH DESCRIPTION 12 + + +.PP +double blank line before PP +.SH DESCRIPTION 13 + + +.RS 6n +double blank line before RS +.RE +.SH DESCRIPTION 14 + + +.IP TAG +double blank line before an indented paragraph +.SH DESCRIPTION 15 + + +.TP +TAG +double blank line before a tagged paragraph +.SH DESCRIPTION 16 + + +.HP +double blank line before a hanged paragraph +.SH DESCRIPTION 17 + + +.br +double blank line before br +.SH DESCRIPTION 18 + + +.sp +double blank line before sp diff --git a/contrib/mandoc/regress/man/blank/afterSH.out_ascii b/contrib/mandoc/regress/man/blank/afterSH.out_ascii new file mode 100644 index 00000000000..aac7abab3d1 --- /dev/null +++ b/contrib/mandoc/regress/man/blank/afterSH.out_ascii @@ -0,0 +1,58 @@ +BLANK-AFTERSH(1) General Commands Manual BLANK-AFTERSH(1) + + + +NNAAMMEE + blank-afterSH - handling of blank lines right after a section heading + +DDEESSCCRRIIPPTTIIOONN + blank line before text + +DDEESSCCRRIIPPTTIIOONN 22 + blank line before PP + +DDEESSCCRRIIPPTTIIOONN 33 + blank line before RS + +DDEESSCCRRIIPPTTIIOONN 44 + TAG blank line before an indented paragraph + +DDEESSCCRRIIPPTTIIOONN 55 + TAG blank line before a tagged paragraph + +DDEESSCCRRIIPPTTIIOONN 66 + blank line before a hanged paragraph + +DDEESSCCRRIIPPTTIIOONN 77 + blank line before br + +DDEESSCCRRIIPPTTIIOONN 88 + blank line before sp + +DDEESSCCRRIIPPTTIIOONN 1100 + double blank line before text + +DDEESSCCRRIIPPTTIIOONN 1122 + double blank line before PP + +DDEESSCCRRIIPPTTIIOONN 1133 + double blank line before RS + +DDEESSCCRRIIPPTTIIOONN 1144 + TAG double blank line before an indented paragraph + +DDEESSCCRRIIPPTTIIOONN 1155 + TAG double blank line before a tagged paragraph + +DDEESSCCRRIIPPTTIIOONN 1166 + double blank line before a hanged paragraph + +DDEESSCCRRIIPPTTIIOONN 1177 + double blank line before br + +DDEESSCCRRIIPPTTIIOONN 1188 + double blank line before sp + + + +OpenBSD November 10, 2013 BLANK-AFTERSH(1) diff --git a/contrib/mandoc/regress/man/blank/afterSH.out_lint b/contrib/mandoc/regress/man/blank/afterSH.out_lint new file mode 100644 index 00000000000..4f641b3c433 --- /dev/null +++ b/contrib/mandoc/regress/man/blank/afterSH.out_lint @@ -0,0 +1,4 @@ +mandoc: afterSH.in:32:2: WARNING: skipping paragraph macro: br after SH +mandoc: afterSH.in:36:2: WARNING: skipping paragraph macro: sp after SH +mandoc: afterSH.in:72:2: WARNING: skipping paragraph macro: br after SH +mandoc: afterSH.in:77:2: WARNING: skipping paragraph macro: sp after SH diff --git a/contrib/mandoc/regress/man/blank/afterSS.in b/contrib/mandoc/regress/man/blank/afterSS.in new file mode 100644 index 00000000000..163e1199ad5 --- /dev/null +++ b/contrib/mandoc/regress/man/blank/afterSS.in @@ -0,0 +1,79 @@ +.\" $OpenBSD: afterSS.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH BLANK-AFTERSS 1 "November 10, 2013" +.SH NAME +blank-afterSS \- handling of blank lines right after a subsection heading +.SH DESCRIPTION +.SS 1 + +blank line before text +.SS 2 + +.PP +blank line before PP +.SS 3 + +.RS 6n +blank line before RS +.RE +.SS 4 + +.IP TAG +blank line before an indented paragraph +.SS 5 + +.TP +TAG +blank line before a tagged paragraph +.SS 6 + +.HP +blank line before a hanged paragraph +.SS 7 + +.br +blank line before br +.SS 8 + +.sp +blank line before sp +.SS 10 + + +double blank line before text +.SS 12 + + +.PP +double blank line before PP +.SS 13 + + +.RS 6n +double blank line before RS +.RE +.SS 14 + + +.IP TAG +double blank line before an indented paragraph +.SS 15 + + +.TP +TAG +double blank line before a tagged paragraph +.SS 16 + + +.HP +double blank line before a hanged paragraph +.SS 17 + + +.br +double blank line before br +.SS 18 + + +.sp +double blank line before sp diff --git a/contrib/mandoc/regress/man/blank/afterSS.out_ascii b/contrib/mandoc/regress/man/blank/afterSS.out_ascii new file mode 100644 index 00000000000..1b30721e4c1 --- /dev/null +++ b/contrib/mandoc/regress/man/blank/afterSS.out_ascii @@ -0,0 +1,60 @@ +BLANK-AFTERSS(1) General Commands Manual BLANK-AFTERSS(1) + + + +NNAAMMEE + blank-afterSS - handling of blank lines right after a subsection + heading + +DDEESSCCRRIIPPTTIIOONN + 11 + blank line before text + + 22 + blank line before PP + + 33 + blank line before RS + + 44 + TAG blank line before an indented paragraph + + 55 + TAG blank line before a tagged paragraph + + 66 + blank line before a hanged paragraph + + 77 + blank line before br + + 88 + blank line before sp + + 1100 + double blank line before text + + 1122 + double blank line before PP + + 1133 + double blank line before RS + + 1144 + TAG double blank line before an indented paragraph + + 1155 + TAG double blank line before a tagged paragraph + + 1166 + double blank line before a hanged paragraph + + 1177 + double blank line before br + + 1188 + double blank line before sp + + + +OpenBSD November 10, 2013 BLANK-AFTERSS(1) diff --git a/contrib/mandoc/regress/man/blank/afterSS.out_lint b/contrib/mandoc/regress/man/blank/afterSS.out_lint new file mode 100644 index 00000000000..e5f5bc47476 --- /dev/null +++ b/contrib/mandoc/regress/man/blank/afterSS.out_lint @@ -0,0 +1,4 @@ +mandoc: afterSS.in:33:2: WARNING: skipping paragraph macro: br after SS +mandoc: afterSS.in:37:2: WARNING: skipping paragraph macro: sp after SS +mandoc: afterSS.in:73:2: WARNING: skipping paragraph macro: br after SS +mandoc: afterSS.in:78:2: WARNING: skipping paragraph macro: sp after SS diff --git a/contrib/mandoc/regress/man/blank/line.in b/contrib/mandoc/regress/man/blank/line.in new file mode 100644 index 00000000000..8293e12b212 --- /dev/null +++ b/contrib/mandoc/regress/man/blank/line.in @@ -0,0 +1,87 @@ +.\" $OpenBSD: line.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.TH BLANK-LINE 1 "July 14, 2012" +.SH NAME +blank-line \- handling of blank lines +.SH DESCRIPTION +.sp +.PP +Single br: +.br +Single PP: +.PP +Single sp: +.sp +Single blank: + +Double br: +.br +.br +br PP: +.br +.PP +PP br: +.PP +.br +Double PP: +.PP +.PP +br sp: +.br +.sp +sp br: +.sp +.br +PP sp: +.PP +.sp +PP sp 2v: +.PP +.sp 2v +sp PP: +.sp +.PP +Double sp: +.sp +.sp +br blank: +.br + +blank br: + +.br +PP blank: +.PP + +blank PP: + +.PP +sp blank: +.sp + +blank sp: + +.sp +Double blank: + + +RS sp 2v: +.RS 6n +.sp 2v +RE sp 2v: +.RE +.sp 2v +IP sp 2v: +.IP tag 6n +.sp 2v +TP sp 2v: +.TP 6n +tag +.sp 2v +SH sp 2v: +.SH CUSTOM +.sp 2v +SS sp PP: +.SS subsection +.sp +.PP +End. diff --git a/contrib/mandoc/regress/man/blank/line.out_ascii b/contrib/mandoc/regress/man/blank/line.out_ascii new file mode 100644 index 00000000000..2aa6fa6ed01 --- /dev/null +++ b/contrib/mandoc/regress/man/blank/line.out_ascii @@ -0,0 +1,81 @@ +BLANK-LINE(1) General Commands Manual BLANK-LINE(1) + + + +NNAAMMEE + blank-line - handling of blank lines + +DDEESSCCRRIIPPTTIIOONN + Single br: + Single PP: + + Single sp: + + Single blank: + + Double br: + br PP: + + PP br: + + Double PP: + + br sp: + + sp br: + + PP sp: + + PP sp 2v: + + sp PP: + + + Double sp: + + + br blank: + + blank br: + + PP blank: + + blank PP: + + + sp blank: + + + blank sp: + + + Double blank: + + + RS sp 2v: + + + RE sp 2v: + + + IP sp 2v: + + tag + + + TP sp 2v: + + tag + + + SH sp 2v: + +CCUUSSTTOOMM + SS sp PP: + + ssuubbsseeccttiioonn + End. + + + +OpenBSD July 14, 2012 BLANK-LINE(1) diff --git a/contrib/mandoc/regress/man/blank/line.out_lint b/contrib/mandoc/regress/man/blank/line.out_lint new file mode 100644 index 00000000000..30de6f49f9c --- /dev/null +++ b/contrib/mandoc/regress/man/blank/line.out_lint @@ -0,0 +1,8 @@ +mandoc: line.in:6:2: WARNING: skipping paragraph macro: sp after SH +mandoc: line.in:24:2: WARNING: skipping paragraph macro: br after PP +mandoc: line.in:26:2: WARNING: skipping paragraph macro: PP empty +mandoc: line.in:36:2: WARNING: skipping paragraph macro: sp after PP +mandoc: line.in:39:2: WARNING: skipping paragraph macro: sp after PP +mandoc: line.in:54:1: WARNING: skipping paragraph macro: sp after PP +mandoc: line.in:82:2: WARNING: skipping paragraph macro: sp after SH +mandoc: line.in:85:2: WARNING: skipping paragraph macro: sp after SS diff --git a/contrib/mandoc/regress/man/nf/Makefile b/contrib/mandoc/regress/man/nf/Makefile new file mode 100644 index 00000000000..3f984661dc1 --- /dev/null +++ b/contrib/mandoc/regress/man/nf/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.7 2015/02/06 08:28:04 schwarze Exp $ + +REGRESS_TARGETS = indent args vert dupe userdef +LINT_TARGETS = args dupe + +.include diff --git a/contrib/mandoc/regress/man/nf/args.in b/contrib/mandoc/regress/man/nf/args.in new file mode 100644 index 00000000000..d52135200ee --- /dev/null +++ b/contrib/mandoc/regress/man/nf/args.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: args.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.TH NF-ARGS 1 "January 16, 2011" +.SH NAME +nf-args \- filling macros with arguments +.SH DESCRIPTION +regular +text +.nf arg1 arg2 arg3 +literal +text +.fi arg1 arg2 arg3 +regular +text diff --git a/contrib/mandoc/regress/man/nf/args.out_ascii b/contrib/mandoc/regress/man/nf/args.out_ascii new file mode 100644 index 00000000000..114d2fb8f76 --- /dev/null +++ b/contrib/mandoc/regress/man/nf/args.out_ascii @@ -0,0 +1,16 @@ +NF-ARGS(1) General Commands Manual NF-ARGS(1) + + + +NNAAMMEE + nf-args - filling macros with arguments + +DDEESSCCRRIIPPTTIIOONN + regular text + literal + text + regular text + + + +OpenBSD January 16, 2011 NF-ARGS(1) diff --git a/contrib/mandoc/regress/man/nf/args.out_lint b/contrib/mandoc/regress/man/nf/args.out_lint new file mode 100644 index 00000000000..64c41f669e4 --- /dev/null +++ b/contrib/mandoc/regress/man/nf/args.out_lint @@ -0,0 +1,2 @@ +mandoc: args.in:8:5: ERROR: skipping all arguments: nf arg1 arg2 arg3 +mandoc: args.in:11:5: ERROR: skipping all arguments: fi arg1 arg2 arg3 diff --git a/contrib/mandoc/regress/man/nf/dupe.in b/contrib/mandoc/regress/man/nf/dupe.in new file mode 100644 index 00000000000..5d35c278a6c --- /dev/null +++ b/contrib/mandoc/regress/man/nf/dupe.in @@ -0,0 +1,18 @@ +.\" $OpenBSD: dupe.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH NF-DUPE 1 "July 2, 2014" +.SH NAME +nf-dupe \- duplicate filling macros +.SH DESCRIPTION +regular +text +.fi +still +regular +text +.nf +literal +text +.nf +still +literal +text diff --git a/contrib/mandoc/regress/man/nf/dupe.out_ascii b/contrib/mandoc/regress/man/nf/dupe.out_ascii new file mode 100644 index 00000000000..ce7f153de27 --- /dev/null +++ b/contrib/mandoc/regress/man/nf/dupe.out_ascii @@ -0,0 +1,19 @@ +NF-DUPE(1) General Commands Manual NF-DUPE(1) + + + +NNAAMMEE + nf-dupe - duplicate filling macros + +DDEESSCCRRIIPPTTIIOONN + regular text + still regular text + literal + text + still + literal + text + + + +OpenBSD July 2, 2014 NF-DUPE(1) diff --git a/contrib/mandoc/regress/man/nf/dupe.out_lint b/contrib/mandoc/regress/man/nf/dupe.out_lint new file mode 100644 index 00000000000..cbb1070a2ae --- /dev/null +++ b/contrib/mandoc/regress/man/nf/dupe.out_lint @@ -0,0 +1,2 @@ +mandoc: dupe.in:8:2: STYLE: fill mode already enabled, skipping: fi +mandoc: dupe.in:15:2: STYLE: fill mode already disabled, skipping: nf diff --git a/contrib/mandoc/regress/man/nf/indent.in b/contrib/mandoc/regress/man/nf/indent.in new file mode 100644 index 00000000000..aaf7e90520e --- /dev/null +++ b/contrib/mandoc/regress/man/nf/indent.in @@ -0,0 +1,22 @@ +.\" $OpenBSD: indent.in,v 1.4 2017/07/04 14:53:24 schwarze Exp $ +.TH NF-INDENT 1 "January 4, 2011" +.SH NAME +nf-indent \- indentation of literal blocks +.SH DESCRIPTION +Here comes +an indented block: +.nf +oneword +two words +and three words +This is a very long line; because it is indented, it is a bit too long to fit. +blank line: + +line with only a zero-width space: +\& +line with only a normal space character: + +end of literal +.fi +He is some more +regular text. diff --git a/contrib/mandoc/regress/man/nf/indent.out_ascii b/contrib/mandoc/regress/man/nf/indent.out_ascii new file mode 100644 index 00000000000..4c63327bbcf --- /dev/null +++ b/contrib/mandoc/regress/man/nf/indent.out_ascii @@ -0,0 +1,25 @@ +NF-INDENT(1) General Commands Manual NF-INDENT(1) + + + +NNAAMMEE + nf-indent - indentation of literal blocks + +DDEESSCCRRIIPPTTIIOONN + Here comes an indented block: + oneword + two words + and three words + This is a very long line; because it is indented, it is a bit too long to fit. + blank line: + + line with only a zero-width space: + + line with only a normal space character: + + end of literal + He is some more regular text. + + + +OpenBSD January 4, 2011 NF-INDENT(1) diff --git a/contrib/mandoc/regress/man/nf/userdef.in b/contrib/mandoc/regress/man/nf/userdef.in new file mode 100644 index 00000000000..5201cd49ecd --- /dev/null +++ b/contrib/mandoc/regress/man/nf/userdef.in @@ -0,0 +1,22 @@ +.\" $OpenBSD: userdef.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH NF-USERDEF 1 "March 8, 2014" +.SH NAME +nf-userdef \- setting unfilled mode via user-defined macros +.SH DESCRIPTION +filled +text +.nf +unfilled +text +.fi +filled +text +.de MYBLOCK +.nf +unfilled +text +.fi +filled +text +.. +.MYBLOCK diff --git a/contrib/mandoc/regress/man/nf/userdef.out_ascii b/contrib/mandoc/regress/man/nf/userdef.out_ascii new file mode 100644 index 00000000000..8b7c42ffb0e --- /dev/null +++ b/contrib/mandoc/regress/man/nf/userdef.out_ascii @@ -0,0 +1,19 @@ +NF-USERDEF(1) General Commands Manual NF-USERDEF(1) + + + +NNAAMMEE + nf-userdef - setting unfilled mode via user-defined macros + +DDEESSCCRRIIPPTTIIOONN + filled text + unfilled + text + filled text + unfilled + text + filled text + + + +OpenBSD March 8, 2014 NF-USERDEF(1) diff --git a/contrib/mandoc/regress/man/nf/vert.in b/contrib/mandoc/regress/man/nf/vert.in new file mode 100644 index 00000000000..bfa25a8fb3e --- /dev/null +++ b/contrib/mandoc/regress/man/nf/vert.in @@ -0,0 +1,29 @@ +.\" $OpenBSD: vert.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.TH NF-VERT 1 "June 2, 2012" +.SH NAME +nf-vert \- spacing around filling macros +.SH DESCRIPTION +regular +text +.nf +literal +text +.fi +regular +text +.br +.nf +literal +text +.br +.fi +regular +text +.sp +.nf +literal +text +.sp +.fi +regular +text diff --git a/contrib/mandoc/regress/man/nf/vert.out_ascii b/contrib/mandoc/regress/man/nf/vert.out_ascii new file mode 100644 index 00000000000..2f8732c941b --- /dev/null +++ b/contrib/mandoc/regress/man/nf/vert.out_ascii @@ -0,0 +1,24 @@ +NF-VERT(1) General Commands Manual NF-VERT(1) + + + +NNAAMMEE + nf-vert - spacing around filling macros + +DDEESSCCRRIIPPTTIIOONN + regular text + literal + text + regular text + literal + text + regular text + + literal + text + + regular text + + + +OpenBSD June 2, 2012 NF-VERT(1) diff --git a/contrib/mandoc/regress/mdoc/Ad/Makefile b/contrib/mandoc/regress/mdoc/Ad/Makefile new file mode 100644 index 00000000000..0e043ab244b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ad/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.4 2014/07/02 20:18:42 schwarze Exp $ + +REGRESS_TARGETS = noarg font +LINT_TARGETS = noarg + +.include diff --git a/contrib/mandoc/regress/mdoc/Ad/font.in b/contrib/mandoc/regress/mdoc/Ad/font.in new file mode 100644 index 00000000000..5da97524c04 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ad/font.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: font.in,v 1.4 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt AD-FONT 1 +.Os +.Sh NAME +.Nm Ad-font +.Nd changing fonts inside the address macro +.Sh DESCRIPTION +normal text +.Ad emphasis\\fBbold\\fPback | after ":" punctuation "Sy" bold +trailing text diff --git a/contrib/mandoc/regress/mdoc/Ad/font.out_ascii b/contrib/mandoc/regress/mdoc/Ad/font.out_ascii new file mode 100644 index 00000000000..28ea4f6dc5f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ad/font.out_ascii @@ -0,0 +1,9 @@ +AD-FONT(1) General Commands Manual AD-FONT(1) + +NNAAMMEE + AAdd--ffoonntt - changing fonts inside the address macro + +DDEESSCCRRIIPPTTIIOONN + normal text _e_m_p_h_a_s_i_sbboolldd_b_a_c_k | _a_f_t_e_r: _p_u_n_c_t_u_a_t_i_o_n bboolldd trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ad/font.out_markdown b/contrib/mandoc/regress/mdoc/Ad/font.out_markdown new file mode 100644 index 00000000000..bff314940bb --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ad/font.out_markdown @@ -0,0 +1,13 @@ +AD-FONT(1) - General Commands Manual + +# NAME + +**Ad-font** - changing fonts inside the address macro + +# DESCRIPTION + +normal text +*emphasis**bold**back* | *after*: *punctuation* **bold** +trailing text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Ad/noarg.in b/contrib/mandoc/regress/mdoc/Ad/noarg.in new file mode 100644 index 00000000000..5e62eeb8e77 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ad/noarg.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: noarg.in,v 1.4 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt AD-NOARG 1 +.Os +.Sh NAME +.Nm Ad-noarg +.Nd address macro without an argument +.Sh DESCRIPTION +with address: +.Ad 0x3bc. +no address: +.Ad +end of test document diff --git a/contrib/mandoc/regress/mdoc/Ad/noarg.out_ascii b/contrib/mandoc/regress/mdoc/Ad/noarg.out_ascii new file mode 100644 index 00000000000..242500136ec --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ad/noarg.out_ascii @@ -0,0 +1,9 @@ +AD-NOARG(1) General Commands Manual AD-NOARG(1) + +NNAAMMEE + AAdd--nnooaarrgg - address macro without an argument + +DDEESSCCRRIIPPTTIIOONN + with address: _0_x_3_b_c_. no address: end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ad/noarg.out_lint b/contrib/mandoc/regress/mdoc/Ad/noarg.out_lint new file mode 100644 index 00000000000..688951b32fb --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ad/noarg.out_lint @@ -0,0 +1,2 @@ +mandoc: noarg.in:12:2: WARNING: skipping empty macro: Ad +mandoc: noarg.in:10:10: STYLE: no blank before trailing delimiter: Ad 0x3bc. diff --git a/contrib/mandoc/regress/mdoc/Ad/noarg.out_markdown b/contrib/mandoc/regress/mdoc/Ad/noarg.out_markdown new file mode 100644 index 00000000000..26307bb8f6b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ad/noarg.out_markdown @@ -0,0 +1,14 @@ +AD-NOARG(1) - General Commands Manual + +# NAME + +**Ad-noarg** - address macro without an argument + +# DESCRIPTION + +with address: +*0x3bc.* +no address: +end of test document + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/An/Makefile b/contrib/mandoc/regress/mdoc/An/Makefile new file mode 100644 index 00000000000..b061bf761bf --- /dev/null +++ b/contrib/mandoc/regress/mdoc/An/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.2 2014/08/14 02:00:52 schwarze Exp $ + +REGRESS_TARGETS = break +LINT_TARGETS = break + +.include diff --git a/contrib/mandoc/regress/mdoc/An/break.in b/contrib/mandoc/regress/mdoc/An/break.in new file mode 100644 index 00000000000..de457f8fd57 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/An/break.in @@ -0,0 +1,50 @@ +.\" $OpenBSD: break.in,v 1.7 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt AN-BREAK 1 +.Os +.Sh NAME +.Nm An-break +.Nd line breaking of the author macro +.Sh DESCRIPTION +inline is the default: +.An Kristaps , +.An Ingo "," +and +.An Joerg . +empty +.An +trailing +.An . +.Pp +.An -split -nosplit bogus +split mode: +.An Kristaps +.An Ingo +.An Joerg +.Pp +empty +.An +trailing +.An . +.An -nosplit +.Sh AUTHORS +split mode is the default: +.An Kristaps +.An Ingo +.An Joerg +.Pp +empty +.An +trailing +.An . +.An -nosplit -split bogus +.Pp +inline: +.An Kristaps "," +.An Ingo, +and +.An Joerg . +empty +.An +trailing +.An . diff --git a/contrib/mandoc/regress/mdoc/An/break.out_ascii b/contrib/mandoc/regress/mdoc/An/break.out_ascii new file mode 100644 index 00000000000..3aeaf53c68f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/An/break.out_ascii @@ -0,0 +1,29 @@ +AN-BREAK(1) General Commands Manual AN-BREAK(1) + +NNAAMMEE + AAnn--bbrreeaakk - line breaking of the author macro + +DDEESSCCRRIIPPTTIIOONN + inline is the default: Kristaps, Ingo, and Joerg. empty trailing . + + split mode: + Kristaps + Ingo + Joerg + + empty + trailing + . + +AAUUTTHHOORRSS + split mode is the default: Kristaps + Ingo + Joerg + + empty + trailing + . + + inline: Kristaps, Ingo, and Joerg. empty trailing . + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/An/break.out_lint b/contrib/mandoc/regress/mdoc/An/break.out_lint new file mode 100644 index 00000000000..1f181e19011 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/An/break.out_lint @@ -0,0 +1,13 @@ +mandoc: break.in:15:2: WARNING: skipping empty macro: An +mandoc: break.in:17:2: WARNING: skipping empty macro: An +mandoc: break.in:19:12: WARNING: skipping duplicate argument: An -nosplit +mandoc: break.in:19:21: ERROR: skipping excess arguments: An ... bogus +mandoc: break.in:26:2: WARNING: skipping empty macro: An +mandoc: break.in:28:2: WARNING: skipping empty macro: An +mandoc: break.in:37:2: WARNING: skipping empty macro: An +mandoc: break.in:39:2: WARNING: skipping empty macro: An +mandoc: break.in:40:14: WARNING: skipping duplicate argument: An -split +mandoc: break.in:40:21: ERROR: skipping excess arguments: An ... bogus +mandoc: break.in:44:9: STYLE: no blank before trailing delimiter: An Ingo, +mandoc: break.in:48:2: WARNING: skipping empty macro: An +mandoc: break.in:50:2: WARNING: skipping empty macro: An diff --git a/contrib/mandoc/regress/mdoc/An/break.out_markdown b/contrib/mandoc/regress/mdoc/An/break.out_markdown new file mode 100644 index 00000000000..ce40aa68502 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/An/break.out_markdown @@ -0,0 +1,47 @@ +AN-BREAK(1) - General Commands Manual + +# NAME + +**An-break** - line breaking of the author macro + +# DESCRIPTION + +inline is the default: +Kristaps, +Ingo, +and +Joerg. +empty +trailing +. + +split mode: +Kristaps +Ingo +Joerg + +empty +trailing +. + +# AUTHORS + +split mode is the default: +Kristaps +Ingo +Joerg + +empty +trailing +. + +inline: +Kristaps, +Ingo, +and +Joerg. +empty +trailing +. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Ap/Makefile b/contrib/mandoc/regress/mdoc/Ap/Makefile new file mode 100644 index 00000000000..4ee492534dc --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ap/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.2 2012/11/16 18:40:39 schwarze Exp $ + +REGRESS_TARGETS = middle eos + +.include diff --git a/contrib/mandoc/regress/mdoc/Ap/eos.in b/contrib/mandoc/regress/mdoc/Ap/eos.in new file mode 100644 index 00000000000..559adc7bd4d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ap/eos.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: eos.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt AP-EOS 1 +.Os +.Sh NAME +.Nm Ap-eos +.Nd end of sentence handling after the apostrophe macro +.Sh DESCRIPTION +The first sentence is +.An Ingo Ap s . +The second is +.An Kristaps Ap . +No idea about the third. diff --git a/contrib/mandoc/regress/mdoc/Ap/eos.out_ascii b/contrib/mandoc/regress/mdoc/Ap/eos.out_ascii new file mode 100644 index 00000000000..dcdb4834c8c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ap/eos.out_ascii @@ -0,0 +1,10 @@ +AP-EOS(1) General Commands Manual AP-EOS(1) + +NNAAMMEE + AApp--eeooss - end of sentence handling after the apostrophe macro + +DDEESSCCRRIIPPTTIIOONN + The first sentence is Ingo's. The second is Kristaps'. No idea about + the third. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ap/eos.out_markdown b/contrib/mandoc/regress/mdoc/Ap/eos.out_markdown new file mode 100644 index 00000000000..4f0791bea1a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ap/eos.out_markdown @@ -0,0 +1,15 @@ +AP-EOS(1) - General Commands Manual + +# NAME + +**Ap-eos** - end of sentence handling after the apostrophe macro + +# DESCRIPTION + +The first sentence is +Ingo's. +The second is +Kristaps'. +No idea about the third. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Ap/middle.in b/contrib/mandoc/regress/mdoc/Ap/middle.in new file mode 100644 index 00000000000..1c82506dc64 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ap/middle.in @@ -0,0 +1,12 @@ +.\" $OpenBSD: middle.in,v 1.4 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt AP-MIDDLE 1 +.Os +.Sh NAME +.Nm Ap-middle +.Nd apostrophe in the middle of a macro line +.Sh DESCRIPTION +.Xr mandoc 1 Ap s +.Pp +punctuation and called macros: +.Sy bold Ap ( "Sy" bold diff --git a/contrib/mandoc/regress/mdoc/Ap/middle.out_ascii b/contrib/mandoc/regress/mdoc/Ap/middle.out_ascii new file mode 100644 index 00000000000..44047bb1589 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ap/middle.out_ascii @@ -0,0 +1,11 @@ +AP-MIDDLE(1) General Commands Manual AP-MIDDLE(1) + +NNAAMMEE + AApp--mmiiddddllee - apostrophe in the middle of a macro line + +DDEESSCCRRIIPPTTIIOONN + mandoc(1)'s + + punctuation and called macros: bboolldd'(bboolldd + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ap/middle.out_markdown b/contrib/mandoc/regress/mdoc/Ap/middle.out_markdown new file mode 100644 index 00000000000..d97fb608d3b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ap/middle.out_markdown @@ -0,0 +1,14 @@ +AP-MIDDLE(1) - General Commands Manual + +# NAME + +**Ap-middle** - apostrophe in the middle of a macro line + +# DESCRIPTION + +mandoc(1)'s + +punctuation and called macros: +**bold**'(**bold** + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Aq/Makefile b/contrib/mandoc/regress/mdoc/Aq/Makefile new file mode 100644 index 00000000000..e51ca408261 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Aq/Makefile @@ -0,0 +1,7 @@ +# $OpenBSD: Makefile,v 1.2 2014/11/19 21:59:20 schwarze Exp $ + +REGRESS_TARGETS = author empty +UTF8_TARGETS = author empty +LINT_TARGETS = empty + +.include diff --git a/contrib/mandoc/regress/mdoc/Aq/author.in b/contrib/mandoc/regress/mdoc/Aq/author.in new file mode 100644 index 00000000000..777415c96b7 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Aq/author.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: author.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt AQ-AUTHOR 1 +.Os +.Sh NAME +.Nm Aq-author +.Nd angle brackets after an author name macro +.Sh DESCRIPTION +.An Name Ao Mt addr Ac An Name Aq Mt addr +.Sh AUTHORS +.An Name Ao Mt addr Ac An Name Aq Mt addr diff --git a/contrib/mandoc/regress/mdoc/Aq/author.out_ascii b/contrib/mandoc/regress/mdoc/Aq/author.out_ascii new file mode 100644 index 00000000000..27527e96d72 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Aq/author.out_ascii @@ -0,0 +1,13 @@ +AQ-AUTHOR(1) General Commands Manual AQ-AUTHOR(1) + +NNAAMMEE + AAqq--aauutthhoorr - angle brackets after an author name macro + +DDEESSCCRRIIPPTTIIOONN + Name <_a_d_d_r> Name <_a_d_d_r> + +AAUUTTHHOORRSS + Name <_a_d_d_r> + Name <_a_d_d_r> + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Aq/author.out_markdown b/contrib/mandoc/regress/mdoc/Aq/author.out_markdown new file mode 100644 index 00000000000..65df81658e9 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Aq/author.out_markdown @@ -0,0 +1,16 @@ +AQ-AUTHOR(1) - General Commands Manual + +# NAME + +**Aq-author** - angle brackets after an author name macro + +# DESCRIPTION + +Name <[addr](mailto:addr)> Name <[addr](mailto:addr)> + +# AUTHORS + +Name <[addr](mailto:addr)> +Name <[addr](mailto:addr)> + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Aq/author.out_utf8 b/contrib/mandoc/regress/mdoc/Aq/author.out_utf8 new file mode 100644 index 00000000000..5d5eee2f4c7 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Aq/author.out_utf8 @@ -0,0 +1,13 @@ +AQ-AUTHOR(1) General Commands Manual AQ-AUTHOR(1) + +NNAAMMEE + AAqq--aauutthhoorr – angle brackets after an author name macro + +DDEESSCCRRIIPPTTIIOONN + Name <_a_d_d_r> Name <_a_d_d_r> + +AAUUTTHHOORRSS + Name <_a_d_d_r> + Name <_a_d_d_r> + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Aq/empty.in b/contrib/mandoc/regress/mdoc/Aq/empty.in new file mode 100644 index 00000000000..3dcabe84746 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Aq/empty.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: empty.in,v 1.5 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt AQ-EMPTY 1 +.Os +.Sh NAME +.Nm Aq-empty +.Nd empty implicit enclosure macros +.Sh DESCRIPTION +An empty +.Aq +and a full +.Aq user@host: +return path. +And another +.Ao full: Ac one "Sy" bold . diff --git a/contrib/mandoc/regress/mdoc/Aq/empty.out_ascii b/contrib/mandoc/regress/mdoc/Aq/empty.out_ascii new file mode 100644 index 00000000000..c000c83ee33 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Aq/empty.out_ascii @@ -0,0 +1,10 @@ +AQ-EMPTY(1) General Commands Manual AQ-EMPTY(1) + +NNAAMMEE + AAqq--eemmppttyy - empty implicit enclosure macros + +DDEESSCCRRIIPPTTIIOONN + An empty <> and a full return path. And another one + bboolldd. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Aq/empty.out_lint b/contrib/mandoc/regress/mdoc/Aq/empty.out_lint new file mode 100644 index 00000000000..d0d8401aade --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Aq/empty.out_lint @@ -0,0 +1,2 @@ +mandoc: empty.in:12:14: STYLE: no blank before trailing delimiter: Aq user@host: +mandoc: empty.in:15:9: STYLE: no blank before trailing delimiter: Ao full: diff --git a/contrib/mandoc/regress/mdoc/Aq/empty.out_markdown b/contrib/mandoc/regress/mdoc/Aq/empty.out_markdown new file mode 100644 index 00000000000..2860cc38afe --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Aq/empty.out_markdown @@ -0,0 +1,17 @@ +AQ-EMPTY(1) - General Commands Manual + +# NAME + +**Aq-empty** - empty implicit enclosure macros + +# DESCRIPTION + +An empty +<> +and a full +<user@host:> +return path. +And another +<full:> one **bold**. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Aq/empty.out_utf8 b/contrib/mandoc/regress/mdoc/Aq/empty.out_utf8 new file mode 100644 index 00000000000..ea146d6811c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Aq/empty.out_utf8 @@ -0,0 +1,10 @@ +AQ-EMPTY(1) General Commands Manual AQ-EMPTY(1) + +NNAAMMEE + AAqq--eemmppttyy – empty implicit enclosure macros + +DDEESSCCRRIIPPTTIIOONN + An empty ⟨⟩ and a full ⟨user@host:⟩ return path. And another ⟨full:⟩ one + bboolldd. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ar/Makefile b/contrib/mandoc/regress/mdoc/Ar/Makefile new file mode 100644 index 00000000000..0acd2e05e9a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ar/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.3 2012/07/09 17:52:09 schwarze Exp $ + +REGRESS_TARGETS = punct font +LINT_TARGETS = punct + +.include diff --git a/contrib/mandoc/regress/mdoc/Ar/font.in b/contrib/mandoc/regress/mdoc/Ar/font.in new file mode 100644 index 00000000000..541ba72e59c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ar/font.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: font.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt AR-FONT 1 +.Os +.Sh NAME +.Nm Ar-font +.Nd changing fonts inside the argument macro +.Sh DESCRIPTION +normal text +.Ar emphasis\\fBbold\\fPback +trailing text diff --git a/contrib/mandoc/regress/mdoc/Ar/font.out_ascii b/contrib/mandoc/regress/mdoc/Ar/font.out_ascii new file mode 100644 index 00000000000..0bd3323a84c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ar/font.out_ascii @@ -0,0 +1,9 @@ +AR-FONT(1) General Commands Manual AR-FONT(1) + +NNAAMMEE + AArr--ffoonntt - changing fonts inside the argument macro + +DDEESSCCRRIIPPTTIIOONN + normal text _e_m_p_h_a_s_i_sbboolldd_b_a_c_k trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ar/font.out_markdown b/contrib/mandoc/regress/mdoc/Ar/font.out_markdown new file mode 100644 index 00000000000..ab7b3921fdc --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ar/font.out_markdown @@ -0,0 +1,13 @@ +AR-FONT(1) - General Commands Manual + +# NAME + +**Ar-font** - changing fonts inside the argument macro + +# DESCRIPTION + +normal text +*emphasis**bold**back* +trailing text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Ar/punct.in b/contrib/mandoc/regress/mdoc/Ar/punct.in new file mode 100644 index 00000000000..3ea68c6bd7c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ar/punct.in @@ -0,0 +1,46 @@ +.\" $OpenBSD: punct.in,v 1.6 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt AR-PUNCT 1 +.Os +.Sh NAME +.Nm Ar-punct +.Nd punctuation handling by the Ar macro +.Sh DESCRIPTION +closing punctuation +.Ar a ) +only one +.Ar ) +only more than one +.Ar ) ) +middle +.Ar a ) z +start +.Ar ) z +dot +.Ar . z +comma +.Ar , z +semicolon +.Ar ; z +colon +.Ar : z +quest +.Ar ? z +excl +.Ar ! z +paren +.Ar ) z +bracket +.Ar ] z +bar +.Ar | m +op paren +.Ar ( a +op bracket +.Ar [ a +.Pp +quoted punctuation: +.Ar a "(" b "|" c ")" d "," "Sy" bold . +.Pp +missing blank: +.Ar arg. diff --git a/contrib/mandoc/regress/mdoc/Ar/punct.out_ascii b/contrib/mandoc/regress/mdoc/Ar/punct.out_ascii new file mode 100644 index 00000000000..96ce0c22fcd --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ar/punct.out_ascii @@ -0,0 +1,16 @@ +AR-PUNCT(1) General Commands Manual AR-PUNCT(1) + +NNAAMMEE + AArr--ppuunncctt - punctuation handling by the Ar macro + +DDEESSCCRRIIPPTTIIOONN + closing punctuation _a) only one _f_i_l_e _._._.) only more than one _f_i_l_e _._._.)) + middle _a) _z start _f_i_l_e _._._.) _z dot _f_i_l_e _._._.. _z comma _f_i_l_e _._._., _z semicolon + _f_i_l_e _._._.; _z colon _f_i_l_e _._._.: _z quest _f_i_l_e _._._.? _z excl _f_i_l_e _._._.! _z paren + _f_i_l_e _._._.) _z bracket _f_i_l_e _._._.] _z bar | _m op paren (_a op bracket [_a + + quoted punctuation: _a (_b | _c) _d, bboolldd. + + missing blank: _a_r_g_. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ar/punct.out_lint b/contrib/mandoc/regress/mdoc/Ar/punct.out_lint new file mode 100644 index 00000000000..537ecf9c30b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ar/punct.out_lint @@ -0,0 +1 @@ +mandoc: punct.in:46:8: STYLE: no blank before trailing delimiter: Ar arg. diff --git a/contrib/mandoc/regress/mdoc/Ar/punct.out_markdown b/contrib/mandoc/regress/mdoc/Ar/punct.out_markdown new file mode 100644 index 00000000000..21920c605b4 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ar/punct.out_markdown @@ -0,0 +1,48 @@ +AR-PUNCT(1) - General Commands Manual + +# NAME + +**Ar-punct** - punctuation handling by the Ar macro + +# DESCRIPTION + +closing punctuation +*a*) +only one +*file ...*) +only more than one +*file ...*)) +middle +*a*) *z* +start +*file ...*) *z* +dot +*file ...*. *z* +comma +*file ...*, *z* +semicolon +*file ...*; *z* +colon +*file ...*: *z* +quest +*file ...*? *z* +excl +*file ...*! *z* +paren +*file ...*) *z* +bracket +*file ...*] *z* +bar +| *m* +op paren +(*a* +op bracket +\[*a* + +quoted punctuation: +*a* (*b* | *c*) *d*, **bold**. + +missing blank: +*arg.* + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/At/Makefile b/contrib/mandoc/regress/mdoc/At/Makefile new file mode 100644 index 00000000000..6c3629959d3 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/At/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.2 2014/07/05 12:33:54 schwarze Exp $ + +REGRESS_TARGETS = invalid +LINT_TARGETS = invalid + +.include diff --git a/contrib/mandoc/regress/mdoc/At/invalid.in b/contrib/mandoc/regress/mdoc/At/invalid.in new file mode 100644 index 00000000000..e65d480714d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/At/invalid.in @@ -0,0 +1,18 @@ +.\" $OpenBSD: invalid.in,v 1.4 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt AT-INVALID 1 +.Os +.Sh NAME +.Nm At-invalid +.Nd handling of an invalid AT&T UNIX argument +.Sh DESCRIPTION +no argument: +.At +.Pp +valid argument: +.At v7 +.Pp +invalid argument: +.At murks "Sy" bold +.Pp +end of file diff --git a/contrib/mandoc/regress/mdoc/At/invalid.out_ascii b/contrib/mandoc/regress/mdoc/At/invalid.out_ascii new file mode 100644 index 00000000000..1f63ade5cb8 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/At/invalid.out_ascii @@ -0,0 +1,15 @@ +AT-INVALID(1) General Commands Manual AT-INVALID(1) + +NNAAMMEE + AAtt--iinnvvaalliidd - handling of an invalid AT&T UNIX argument + +DDEESSCCRRIIPPTTIIOONN + no argument: AT&T UNIX + + valid argument: Version 7 AT&T UNIX + + invalid argument: AT&T UNIX murks bboolldd + + end of file + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/At/invalid.out_lint b/contrib/mandoc/regress/mdoc/At/invalid.out_lint new file mode 100644 index 00000000000..95542f4ac1b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/At/invalid.out_lint @@ -0,0 +1 @@ +mandoc: invalid.in:16:5: WARNING: unknown AT&T UNIX version: At murks diff --git a/contrib/mandoc/regress/mdoc/At/invalid.out_markdown b/contrib/mandoc/regress/mdoc/At/invalid.out_markdown new file mode 100644 index 00000000000..bbd962f4eba --- /dev/null +++ b/contrib/mandoc/regress/mdoc/At/invalid.out_markdown @@ -0,0 +1,20 @@ +AT-INVALID(1) - General Commands Manual + +# NAME + +**At-invalid** - handling of an invalid AT&T UNIX argument + +# DESCRIPTION + +no argument: +AT&T UNIX + +valid argument: +Version 7 AT&T UNIX + +invalid argument: +AT&T UNIX murks **bold** + +end of file + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bd/Makefile b/contrib/mandoc/regress/mdoc/Bd/Makefile new file mode 100644 index 00000000000..817d9fe71ad --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/Makefile @@ -0,0 +1,25 @@ +# $OpenBSD: Makefile,v 1.18 2014/12/24 23:31:59 schwarze Exp $ + +REGRESS_TARGETS = beforeNAME blank centered nested spacing +REGRESS_TARGETS += badargs empty offset-empty offset-neg +REGRESS_TARGETS += break broken unclosed + +LINT_TARGETS = beforeNAME blank nested badargs break broken unclosed + +SKIP_TMAN = beforeNAME centered + +# groff-1.22.3 defects: +# - a display breaking another block continues indefinitely +# - negative offsets take no effect, but advance the indention on exit + +SKIP_GROFF = break offset-neg + +# adjustment is disabled in groff for now + +SKIP_GROFF += centered + +# groff handles content before NAME differently + +SKIP_GROFF += beforeNAME + +.include diff --git a/contrib/mandoc/regress/mdoc/Bd/badargs.in b/contrib/mandoc/regress/mdoc/Bd/badargs.in new file mode 100644 index 00000000000..940bb03f4e5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/badargs.in @@ -0,0 +1,52 @@ +.\" $OpenBSD: badargs.in,v 1.6 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BD-BADARGS 1 +.Os +.Sh NAME +.Nm Bd-badargs +.Nd display block with bad arguments +.Sh DESCRIPTION +trailing -offset: +.Bd -ragged -offset +is +ignored +.Ed tail argument +double -compact and -offset: +.Bd -ragged -compact -offset 42n -compact -offset 6n +last +wins +.Ed +no type: +.Bd -offset 0n -bogus args +displayed +text +.Ed +double type: +.Bd -ragged -compact -unfilled +ragged +unfilled +.Ed +.Bd -unfilled -compact -ragged +unfilled +ragged +.Ed +file /dev/null: +.Bd -ragged -file /dev/null -offset indent +ragged +offset indent +.Ed +trailing -file: +.Bd -ragged -offset indent -file +ragged +offset indent +.Ed +missing -file argument: +.Bd -ragged -offset indent -file -compact +ragged +offset indent +.Ed +no argument whatsoever: +.Bd +no +argument +.Ed diff --git a/contrib/mandoc/regress/mdoc/Bd/badargs.out_ascii b/contrib/mandoc/regress/mdoc/Bd/badargs.out_ascii new file mode 100644 index 00000000000..2749d98dacd --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/badargs.out_ascii @@ -0,0 +1,30 @@ +BD-BADARGS(1) General Commands Manual BD-BADARGS(1) + +NNAAMMEE + BBdd--bbaaddaarrggss - display block with bad arguments + +DDEESSCCRRIIPPTTIIOONN + trailing -offset: + + is ignored + double -compact and -offset: + last wins + no type: + + displayed text + double type: + ragged unfilled + unfilled + ragged + file /dev/null: + + ragged offset indent + trailing -file: + + ragged offset indent + missing -file argument: + + ragged offset indent + no argument whatsoever: no argument + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bd/badargs.out_lint b/contrib/mandoc/regress/mdoc/Bd/badargs.out_lint new file mode 100644 index 00000000000..f113782264b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/badargs.out_lint @@ -0,0 +1,12 @@ +mandoc: badargs.in:13:2: ERROR: skipping all arguments: Ed tail argument +mandoc: badargs.in:20:16: ERROR: skipping excess arguments: Bd ... -bogus +mandoc: badargs.in:10:13: WARNING: empty argument, using 0n: Bd -offset +mandoc: badargs.in:15:34: WARNING: duplicate argument: Bd -compact +mandoc: badargs.in:15:43: WARNING: duplicate argument: Bd -offset 6n +mandoc: badargs.in:20:2: WARNING: missing display type, using -ragged: Bd +mandoc: badargs.in:25:2: WARNING: skipping duplicate display type: Bd -unfilled +mandoc: badargs.in:29:2: WARNING: skipping duplicate display type: Bd -ragged +mandoc: badargs.in:34:2: ERROR: NOT IMPLEMENTED: Bd -file +mandoc: badargs.in:39:2: ERROR: NOT IMPLEMENTED: Bd -file +mandoc: badargs.in:44:2: ERROR: NOT IMPLEMENTED: Bd -file +mandoc: badargs.in:49:2: ERROR: skipping display without arguments: Bd diff --git a/contrib/mandoc/regress/mdoc/Bd/badargs.out_markdown b/contrib/mandoc/regress/mdoc/Bd/badargs.out_markdown new file mode 100644 index 00000000000..93c1bc7db08 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/badargs.out_markdown @@ -0,0 +1,51 @@ +BD-BADARGS(1) - General Commands Manual + +# NAME + +**Bd-badargs** - display block with bad arguments + +# DESCRIPTION + +trailing -offset: + +> is +> ignored + +double -compact and -offset: + +> last +> wins + +no type: + +> displayed +> text + +double type: + +> ragged +> unfilled + + unfilled + ragged + +file /dev/null: + +> ragged +> offset indent + +trailing -file: + +> ragged +> offset indent + +missing -file argument: + +> ragged +> offset indent + +no argument whatsoever: +no +argument + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bd/beforeNAME.in b/contrib/mandoc/regress/mdoc/Bd/beforeNAME.in new file mode 100644 index 00000000000..b7ac8e5ffa0 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/beforeNAME.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: beforeNAME.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BD-BEFORENAME 1 +.Os +.Bd -centered +Building and Debugging NetBSD Kernels +.br +David A. Holland +.br +August 17, 2009 +.Ed +.Sh NAME +.Nm Bd-beforename +.Nd title and author block before the NAME section +.Sh DESCRIPTION +some text diff --git a/contrib/mandoc/regress/mdoc/Bd/beforeNAME.out_ascii b/contrib/mandoc/regress/mdoc/Bd/beforeNAME.out_ascii new file mode 100644 index 00000000000..8adc7f104db --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/beforeNAME.out_ascii @@ -0,0 +1,13 @@ +BD-BEFORENAME(1) General Commands Manual BD-BEFORENAME(1) + + Building and Debugging NetBSD Kernels + David A. Holland + August 17, 2009 + +NNAAMMEE + BBdd--bbeeffoorreennaammee - title and author block before the NAME section + +DDEESSCCRRIIPPTTIIOONN + some text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bd/beforeNAME.out_lint b/contrib/mandoc/regress/mdoc/Bd/beforeNAME.out_lint new file mode 100644 index 00000000000..39e0b7142aa --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/beforeNAME.out_lint @@ -0,0 +1 @@ +mandoc: beforeNAME.in:5:2: WARNING: content before first section header: Bd diff --git a/contrib/mandoc/regress/mdoc/Bd/beforeNAME.out_markdown b/contrib/mandoc/regress/mdoc/Bd/beforeNAME.out_markdown new file mode 100644 index 00000000000..08d737a86f8 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/beforeNAME.out_markdown @@ -0,0 +1,15 @@ +BD-BEFORENAME(1) - General Commands Manual + +> Building and Debugging NetBSD Kernels +> David A. Holland +> August 17, 2009 + +# NAME + +**Bd-beforename** - title and author block before the NAME section + +# DESCRIPTION + +some text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bd/blank.in b/contrib/mandoc/regress/mdoc/Bd/blank.in new file mode 100644 index 00000000000..c7e9b54cab6 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/blank.in @@ -0,0 +1,32 @@ +.\" $OpenBSD: blank.in,v 1.6 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BD-BLANK 1 +.Os +.Sh NAME +.Nm Bd-blank +.Nd handling of blank lines in literal displays +.Sh DESCRIPTION +.Bd -literal +completely blank line: + +line containing a blank character: + +line containing two blank characters: + +line containing space tab space: + +line starting with a blank character: + x +line starting with two blank characters: + x +line ending in one blank character: +line ending in two blank characters: +line ending in space tab space: +line containing a Pp macro: +.Pp +finally, a trailing blank line: + +.Ed +An empty one-line literal display: +.Dl +end of test document diff --git a/contrib/mandoc/regress/mdoc/Bd/blank.out_ascii b/contrib/mandoc/regress/mdoc/Bd/blank.out_ascii new file mode 100644 index 00000000000..116063cdb12 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/blank.out_ascii @@ -0,0 +1,29 @@ +BD-BLANK(1) General Commands Manual BD-BLANK(1) + +NNAAMMEE + BBdd--bbllaannkk - handling of blank lines in literal displays + +DDEESSCCRRIIPPTTIIOONN + completely blank line: + + line containing a blank character: + + line containing two blank characters: + + line containing space tab space: + + line starting with a blank character: + x + line starting with two blank characters: + x + line ending in one blank character: + line ending in two blank characters: + line ending in space tab space: + line containing a Pp macro: + + finally, a trailing blank line: + + An empty one-line literal display: + end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bd/blank.out_lint b/contrib/mandoc/regress/mdoc/Bd/blank.out_lint new file mode 100644 index 00000000000..b261432ca3e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/blank.out_lint @@ -0,0 +1,8 @@ +mandoc: blank.in:13:1: STYLE: whitespace at end of input line +mandoc: blank.in:15:1: STYLE: whitespace at end of input line +mandoc: blank.in:17:1: STYLE: whitespace at end of input line +mandoc: blank.in:22:36: STYLE: whitespace at end of input line +mandoc: blank.in:23:37: STYLE: whitespace at end of input line +mandoc: blank.in:24:32: STYLE: whitespace at end of input line +mandoc: blank.in:31:8: STYLE: whitespace at end of input line +mandoc: blank.in:31:2: WARNING: empty block: Dl diff --git a/contrib/mandoc/regress/mdoc/Bd/blank.out_markdown b/contrib/mandoc/regress/mdoc/Bd/blank.out_markdown new file mode 100644 index 00000000000..215d045c244 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/blank.out_markdown @@ -0,0 +1,33 @@ +BD-BLANK(1) - General Commands Manual + +# NAME + +**Bd-blank** - handling of blank lines in literal displays + +# DESCRIPTION + + completely blank line: + + line containing a blank character: + + line containing two blank characters: + + line containing space tab space: + + line starting with a blank character: + x + line starting with two blank characters: + x + line ending in one blank character: + line ending in two blank characters: + line ending in space tab space: + line containing a Pp macro: + + finally, a trailing blank line: + + +An empty one-line literal display: + +end of test document + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bd/break.in b/contrib/mandoc/regress/mdoc/Bd/break.in new file mode 100644 index 00000000000..967b9db3b1f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/break.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: break.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BD-BREAK 1 +.Os +.Sh NAME +.Nm Bd-break +.Nd display breaking another block +.Sh DESCRIPTION +before both +.Bd -ragged -offset indent +before bracket +.Bo inside both +.Ed +after display +.Bc +after both diff --git a/contrib/mandoc/regress/mdoc/Bd/break.out_ascii b/contrib/mandoc/regress/mdoc/Bd/break.out_ascii new file mode 100644 index 00000000000..a8579492f03 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/break.out_ascii @@ -0,0 +1,12 @@ +BD-BREAK(1) General Commands Manual BD-BREAK(1) + +NNAAMMEE + BBdd--bbrreeaakk - display breaking another block + +DDEESSCCRRIIPPTTIIOONN + before both + + before bracket [inside both + after display] after both + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bd/break.out_lint b/contrib/mandoc/regress/mdoc/Bd/break.out_lint new file mode 100644 index 00000000000..c11535ac6f7 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/break.out_lint @@ -0,0 +1 @@ +mandoc: break.in:13:2: WARNING: blocks badly nested: Bd breaks Bo diff --git a/contrib/mandoc/regress/mdoc/Bd/break.out_markdown b/contrib/mandoc/regress/mdoc/Bd/break.out_markdown new file mode 100644 index 00000000000..0d16a9b35a7 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/break.out_markdown @@ -0,0 +1,17 @@ +BD-BREAK(1) - General Commands Manual + +# NAME + +**Bd-break** - display breaking another block + +# DESCRIPTION + +before both + +> before bracket +> \[inside both + +after display] +after both + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bd/broken.in b/contrib/mandoc/regress/mdoc/Bd/broken.in new file mode 100644 index 00000000000..a050b756e08 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/broken.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: broken.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BD-BROKEN 1 +.Os +.Sh NAME +.Nm Bd-broken +.Nd display broken by another block +.Sh DESCRIPTION +before both +.Bo before display +.Bd -ragged -offset indent +inside both +.Bc +after bracket +.Ed diff --git a/contrib/mandoc/regress/mdoc/Bd/broken.out_ascii b/contrib/mandoc/regress/mdoc/Bd/broken.out_ascii new file mode 100644 index 00000000000..04025bfff9c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/broken.out_ascii @@ -0,0 +1,11 @@ +BD-BROKEN(1) General Commands Manual BD-BROKEN(1) + +NNAAMMEE + BBdd--bbrrookkeenn - display broken by another block + +DDEESSCCRRIIPPTTIIOONN + before both [before display + + inside both] after bracket + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bd/broken.out_lint b/contrib/mandoc/regress/mdoc/Bd/broken.out_lint new file mode 100644 index 00000000000..d78bb9f2869 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/broken.out_lint @@ -0,0 +1 @@ +mandoc: broken.in:13:2: WARNING: blocks badly nested: Bo breaks Bd diff --git a/contrib/mandoc/regress/mdoc/Bd/broken.out_markdown b/contrib/mandoc/regress/mdoc/Bd/broken.out_markdown new file mode 100644 index 00000000000..21be03e1704 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/broken.out_markdown @@ -0,0 +1,15 @@ +BD-BROKEN(1) - General Commands Manual + +# NAME + +**Bd-broken** - display broken by another block + +# DESCRIPTION + +before both +\[before display + +> inside both] +> after bracket + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bd/centered.in b/contrib/mandoc/regress/mdoc/Bd/centered.in new file mode 100644 index 00000000000..8b0d438f6d1 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/centered.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: centered.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BD-CENTERED 1 +.Os +.Sh NAME +.Nm Bd-centered +.Nd centered display blocks +.Sh DESCRIPTION +preceding text +.br +.Bd -centered -offset indent +first line of the block +.br +second line +.Ed +following text diff --git a/contrib/mandoc/regress/mdoc/Bd/centered.out_ascii b/contrib/mandoc/regress/mdoc/Bd/centered.out_ascii new file mode 100644 index 00000000000..9a183b3ad61 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/centered.out_ascii @@ -0,0 +1,13 @@ +BD-CENTERED(1) General Commands Manual BD-CENTERED(1) + +NNAAMMEE + BBdd--cceenntteerreedd - centered display blocks + +DDEESSCCRRIIPPTTIIOONN + preceding text + + first line of the block + second line + following text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bd/centered.out_markdown b/contrib/mandoc/regress/mdoc/Bd/centered.out_markdown new file mode 100644 index 00000000000..5eb0b5cc415 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/centered.out_markdown @@ -0,0 +1,16 @@ +BD-CENTERED(1) - General Commands Manual + +# NAME + +**Bd-centered** - centered display blocks + +# DESCRIPTION + +preceding text + +> first line of the block +> second line + +following text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bd/empty.in b/contrib/mandoc/regress/mdoc/Bd/empty.in new file mode 100644 index 00000000000..d0b680f0a09 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/empty.in @@ -0,0 +1,21 @@ +.\" $OpenBSD: empty.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BD-EMPTY 1 +.Os +.Sh NAME +.Nm Bd-empty +.Nd empty displays +.Sh DESCRIPTION +An empty filled display: +.Bd -filled +.Ed +An empty literal display: +.Bd -literal +.Ed +An empty ragged display: +.Bd -ragged +.Ed +An empty unfilled display: +.Bd -unfilled +.Ed +end of test document diff --git a/contrib/mandoc/regress/mdoc/Bd/empty.out_ascii b/contrib/mandoc/regress/mdoc/Bd/empty.out_ascii new file mode 100644 index 00000000000..2300e9ef4ef --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/empty.out_ascii @@ -0,0 +1,17 @@ +BD-EMPTY(1) General Commands Manual BD-EMPTY(1) + +NNAAMMEE + BBdd--eemmppttyy - empty displays + +DDEESSCCRRIIPPTTIIOONN + An empty filled display: + + An empty literal display: + + An empty ragged display: + + An empty unfilled display: + + end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bd/empty.out_markdown b/contrib/mandoc/regress/mdoc/Bd/empty.out_markdown new file mode 100644 index 00000000000..7d03b4facdc --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/empty.out_markdown @@ -0,0 +1,19 @@ +BD-EMPTY(1) - General Commands Manual + +# NAME + +**Bd-empty** - empty displays + +# DESCRIPTION + +An empty filled display: + +An empty literal display: + +An empty ragged display: + +An empty unfilled display: + +end of test document + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bd/nested.in b/contrib/mandoc/regress/mdoc/Bd/nested.in new file mode 100644 index 00000000000..4d12b2a326f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/nested.in @@ -0,0 +1,43 @@ +.\" $OpenBSD: nested.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BD-NESTED 1 +.Os +.Sh NAME +.Nm Bd-nested +.Nd nested displays and lists +.Sh DESCRIPTION +regular +text +.Bd -ragged -offset indent +outer +text (default indent) +.Bd -ragged -offset indent +inner +text (default indent) +.Ed +outer +text +.Ed +regular +text +.Bd -ragged -offset 4n +outer text (4n) +.Bd -ragged -offset 2n +inner text (2n) +.Ed +outer text +.Bl -tag -width 6n +.It tag +text +.El +outer text +.Ed +regular text +.Bl -tag -width 6n +.It tag +outer text +.Bd -ragged -offset 2n +inner text (2n) +.Ed +outer text +.El diff --git a/contrib/mandoc/regress/mdoc/Bd/nested.out_ascii b/contrib/mandoc/regress/mdoc/Bd/nested.out_ascii new file mode 100644 index 00000000000..58ee55ddee3 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/nested.out_ascii @@ -0,0 +1,29 @@ +BD-NESTED(1) General Commands Manual BD-NESTED(1) + +NNAAMMEE + BBdd--nneesstteedd - nested displays and lists + +DDEESSCCRRIIPPTTIIOONN + regular text + + outer text (default indent) + + inner text (default indent) + outer text + regular text + + outer text (4n) + + inner text (2n) + outer text + + tag text + outer text + regular text + + tag outer text + + inner text (2n) + outer text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bd/nested.out_lint b/contrib/mandoc/regress/mdoc/Bd/nested.out_lint new file mode 100644 index 00000000000..d6f7eda2f26 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/nested.out_lint @@ -0,0 +1,2 @@ +mandoc: nested.in:14:2: WARNING: nested displays are not portable: Bd in Bd +mandoc: nested.in:25:2: WARNING: nested displays are not portable: Bd in Bd diff --git a/contrib/mandoc/regress/mdoc/Bd/nested.out_markdown b/contrib/mandoc/regress/mdoc/Bd/nested.out_markdown new file mode 100644 index 00000000000..d936b9c09e1 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/nested.out_markdown @@ -0,0 +1,46 @@ +BD-NESTED(1) - General Commands Manual + +# NAME + +**Bd-nested** - nested displays and lists + +# DESCRIPTION + +regular +text + +> outer +> text (default indent) + +> > inner +> > text (default indent) + +> outer +> text + +regular +text + +> outer text (4n) + +> > inner text (2n) + +> outer text + +> tag + +> > text + +> outer text + +regular text + +tag + +> outer text + +> > inner text (2n) + +> outer text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bd/offset-empty.in b/contrib/mandoc/regress/mdoc/Bd/offset-empty.in new file mode 100644 index 00000000000..6433eacbada --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/offset-empty.in @@ -0,0 +1,32 @@ +.\" $OpenBSD: offset-empty.in,v 1.6 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BD-OFFSET-EMPTY 1 +.Os +.Sh NAME +.Nm Bd-offset-empty +.Nd no argument specified to Bd offset +.Sh DESCRIPTION +.Bd -literal -offset +Bd literal offset empty +.Ed +.Bd -literal -offset left +Bd literal offset left +.Ed +.Bd -literal -offset indent +Bd literal offset indent +.Ed +.Bd -literal -offset indent-two +Bd literal offset indent-two +.Ed +.Bd -literal -offset 4n +Bd literal offset 4n +.Ed +.Bd -literal -offset mystring +Bd literal offset mystring +.Ed +.Bd -literal -offset Ds +Bd literal offset Ds +.Ed +.Bd -literal -offset 78n +Bd literal offset 78n +.Ed diff --git a/contrib/mandoc/regress/mdoc/Bd/offset-empty.out_ascii b/contrib/mandoc/regress/mdoc/Bd/offset-empty.out_ascii new file mode 100644 index 00000000000..db4e007299a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/offset-empty.out_ascii @@ -0,0 +1,23 @@ +BD-OFFSET-EMPTY(1) General Commands Manual BD-OFFSET-EMPTY(1) + +NNAAMMEE + BBdd--ooffffsseett--eemmppttyy - no argument specified to Bd offset + +DDEESSCCRRIIPPTTIIOONN + Bd literal offset empty + + Bd literal offset left + + Bd literal offset indent + + Bd literal offset indent-two + + Bd literal offset 4n + + Bd literal offset mystring + + Bd literal offset Ds + + Bd literal offset 78n + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bd/offset-empty.out_markdown b/contrib/mandoc/regress/mdoc/Bd/offset-empty.out_markdown new file mode 100644 index 00000000000..74f0114c6d5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/offset-empty.out_markdown @@ -0,0 +1,25 @@ +BD-OFFSET-EMPTY(1) - General Commands Manual + +# NAME + +**Bd-offset-empty** - no argument specified to Bd offset + +# DESCRIPTION + + Bd literal offset empty + + Bd literal offset left + + Bd literal offset indent + + Bd literal offset indent-two + + Bd literal offset 4n + + Bd literal offset mystring + + Bd literal offset Ds + + Bd literal offset 78n + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bd/offset-neg.in b/contrib/mandoc/regress/mdoc/Bd/offset-neg.in new file mode 100644 index 00000000000..5daeb0c6a56 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/offset-neg.in @@ -0,0 +1,25 @@ +.\" $OpenBSD: offset-neg.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BD-INDENT 1 +.Os +.Sh NAME +.Nm Bd-indent +.Nd indenting display blocks +.Sh DESCRIPTION +regular text +.Bd -ragged -offset 0.76i +outer display +.Bd -ragged -offset -0.46i +inner display +.Ed +outer display +.Ed +regular text +.Bd -ragged -offset -3n +outer display +.Bd -ragged -offset 8n +inner display +.Ed +outer display +.Ed +regular text diff --git a/contrib/mandoc/regress/mdoc/Bd/offset-neg.out_ascii b/contrib/mandoc/regress/mdoc/Bd/offset-neg.out_ascii new file mode 100644 index 00000000000..3e2b510912a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/offset-neg.out_ascii @@ -0,0 +1,21 @@ +BD-INDENT(1) General Commands Manual BD-INDENT(1) + +NNAAMMEE + BBdd--iinnddeenntt - indenting display blocks + +DDEESSCCRRIIPPTTIIOONN + regular text + + outer display + + inner display + outer display + regular text + + outer display + + inner display + outer display + regular text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bd/offset-neg.out_markdown b/contrib/mandoc/regress/mdoc/Bd/offset-neg.out_markdown new file mode 100644 index 00000000000..017d223b893 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/offset-neg.out_markdown @@ -0,0 +1,27 @@ +BD-INDENT(1) - General Commands Manual + +# NAME + +**Bd-indent** - indenting display blocks + +# DESCRIPTION + +regular text + +> outer display + +> > inner display + +> outer display + +regular text + +> outer display + +> > inner display + +> outer display + +regular text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bd/spacing.in b/contrib/mandoc/regress/mdoc/Bd/spacing.in new file mode 100644 index 00000000000..b29f6da42d5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/spacing.in @@ -0,0 +1,17 @@ +.\" $OpenBSD: spacing.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BD-SPACING 1 +.Os +.Sh NAME +.Nm Bd-spacing +.Nd vertical spacing around display blocks +.Sh DESCRIPTION +preceding text +.Bd -ragged -offset indent +display block +.Ed +text between displays +.Bd -ragged -offset indent -compact +compact display block +.Ed +following text diff --git a/contrib/mandoc/regress/mdoc/Bd/spacing.out_ascii b/contrib/mandoc/regress/mdoc/Bd/spacing.out_ascii new file mode 100644 index 00000000000..8efa8b30d4f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/spacing.out_ascii @@ -0,0 +1,14 @@ +BD-SPACING(1) General Commands Manual BD-SPACING(1) + +NNAAMMEE + BBdd--ssppaacciinngg - vertical spacing around display blocks + +DDEESSCCRRIIPPTTIIOONN + preceding text + + display block + text between displays + compact display block + following text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bd/spacing.out_markdown b/contrib/mandoc/regress/mdoc/Bd/spacing.out_markdown new file mode 100644 index 00000000000..766dda3b46e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/spacing.out_markdown @@ -0,0 +1,19 @@ +BD-SPACING(1) - General Commands Manual + +# NAME + +**Bd-spacing** - vertical spacing around display blocks + +# DESCRIPTION + +preceding text + +> display block + +text between displays + +> compact display block + +following text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bd/unclosed.in b/contrib/mandoc/regress/mdoc/Bd/unclosed.in new file mode 100644 index 00000000000..bacc57b2394 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/unclosed.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: unclosed.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BD-UNCLOSED 1 +.Os +.Sh NAME +.Nm Bd-unclosed +.Nd display still open at the end of the file +.Sh DESCRIPTION +before display +.Bd -ragged -offset indent +inside display diff --git a/contrib/mandoc/regress/mdoc/Bd/unclosed.out_ascii b/contrib/mandoc/regress/mdoc/Bd/unclosed.out_ascii new file mode 100644 index 00000000000..429cb6ea4e5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/unclosed.out_ascii @@ -0,0 +1,11 @@ +BD-UNCLOSED(1) General Commands Manual BD-UNCLOSED(1) + +NNAAMMEE + BBdd--uunncclloosseedd - display still open at the end of the file + +DDEESSCCRRIIPPTTIIOONN + before display + + inside display + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bd/unclosed.out_lint b/contrib/mandoc/regress/mdoc/Bd/unclosed.out_lint new file mode 100644 index 00000000000..9ec05980df4 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/unclosed.out_lint @@ -0,0 +1 @@ +mandoc: unclosed.in:10:2: ERROR: appending missing end of block: Bd diff --git a/contrib/mandoc/regress/mdoc/Bd/unclosed.out_markdown b/contrib/mandoc/regress/mdoc/Bd/unclosed.out_markdown new file mode 100644 index 00000000000..fbb8fb47a1d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bd/unclosed.out_markdown @@ -0,0 +1,13 @@ +BD-UNCLOSED(1) - General Commands Manual + +# NAME + +**Bd-unclosed** - display still open at the end of the file + +# DESCRIPTION + +before display + +> inside display + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bf/Makefile b/contrib/mandoc/regress/mdoc/Bf/Makefile new file mode 100644 index 00000000000..eb845e95ce8 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bf/Makefile @@ -0,0 +1,20 @@ +# $OpenBSD: Makefile,v 1.4 2014/07/04 16:11:42 schwarze Exp $ + +REGRESS_TARGETS = nest multiargs badargs break broken +LINT_TARGETS = multiargs badargs break broken + +# mandoc -T markdown ignores .Bf, at least for now + +SKIP_MARKDOWN ?= ALL + +# groff-1.22.2 defects: +# - If the first argument to .Bf is a bad one, +# no block is opened at all and the .Ef causes another error. +# - If a font block breaks another block, +# fonts get mixed up when the other block finally ends. + +SKIP_GROFF = badargs break + +SKIP_TMAN = break broken + +.include diff --git a/contrib/mandoc/regress/mdoc/Bf/badargs.in b/contrib/mandoc/regress/mdoc/Bf/badargs.in new file mode 100644 index 00000000000..46bfd9e536d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bf/badargs.in @@ -0,0 +1,21 @@ +.\" $OpenBSD: badargs.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BF-BADARGS 1 +.Os +.Sh NAME +.Nm Bf-badargs +.Nd font blocks with bad arguments +.Sh DESCRIPTION +normal text +.Bf -emphasis +emphasis +.Bf +no argument +.Ef +back to emphasis +.Bf badarg +bad argument +.Ef tail argument +back to emphasis +.Ef +back to normal diff --git a/contrib/mandoc/regress/mdoc/Bf/badargs.out_ascii b/contrib/mandoc/regress/mdoc/Bf/badargs.out_ascii new file mode 100644 index 00000000000..51a003abb90 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bf/badargs.out_ascii @@ -0,0 +1,10 @@ +BF-BADARGS(1) General Commands Manual BF-BADARGS(1) + +NNAAMMEE + BBff--bbaaddaarrggss - font blocks with bad arguments + +DDEESSCCRRIIPPTTIIOONN + normal text _e_m_p_h_a_s_i_s no argument _b_a_c_k _t_o _e_m_p_h_a_s_i_s bad argument _b_a_c_k _t_o + _e_m_p_h_a_s_i_s back to normal + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bf/badargs.out_lint b/contrib/mandoc/regress/mdoc/Bf/badargs.out_lint new file mode 100644 index 00000000000..0dc79df52fd --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bf/badargs.out_lint @@ -0,0 +1,3 @@ +mandoc: badargs.in:18:2: ERROR: skipping all arguments: Ef tail argument +mandoc: badargs.in:12:2: WARNING: missing font type, using \fR: Bf +mandoc: badargs.in:16:5: WARNING: unknown font type, using \fR: Bf badarg diff --git a/contrib/mandoc/regress/mdoc/Bf/break.in b/contrib/mandoc/regress/mdoc/Bf/break.in new file mode 100644 index 00000000000..a171920a0f9 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bf/break.in @@ -0,0 +1,17 @@ +.\" $OpenBSD: break.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BF-BREAK 1 +.Os +.Sh NAME +.Nm Bf-break +.Nd font block breaking another block +.Sh DESCRIPTION +before both +.Bf Em +before bracket +.Bo +inside both +.Ef +after font block +.Bc +after both diff --git a/contrib/mandoc/regress/mdoc/Bf/break.out_ascii b/contrib/mandoc/regress/mdoc/Bf/break.out_ascii new file mode 100644 index 00000000000..c2a08e21f58 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bf/break.out_ascii @@ -0,0 +1,9 @@ +BF-BREAK(1) General Commands Manual BF-BREAK(1) + +NNAAMMEE + BBff--bbrreeaakk - font block breaking another block + +DDEESSCCRRIIPPTTIIOONN + before both _b_e_f_o_r_e _b_r_a_c_k_e_t _[_i_n_s_i_d_e _b_o_t_h after font block] after both + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bf/break.out_lint b/contrib/mandoc/regress/mdoc/Bf/break.out_lint new file mode 100644 index 00000000000..cabc5065717 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bf/break.out_lint @@ -0,0 +1 @@ +mandoc: break.in:14:2: WARNING: blocks badly nested: Bf breaks Bo diff --git a/contrib/mandoc/regress/mdoc/Bf/broken.in b/contrib/mandoc/regress/mdoc/Bf/broken.in new file mode 100644 index 00000000000..3be9149c049 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bf/broken.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: broken.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BF-BROKEN 1 +.Os +.Sh NAME +.Nm Bf-broken +.Nd font block broken by another block +.Sh DESCRIPTION +before both +.Bo before font block +.Bf Em +inside both +.Bc +after bracket +.Ef +after both diff --git a/contrib/mandoc/regress/mdoc/Bf/broken.out_ascii b/contrib/mandoc/regress/mdoc/Bf/broken.out_ascii new file mode 100644 index 00000000000..b24a54a0177 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bf/broken.out_ascii @@ -0,0 +1,9 @@ +BF-BROKEN(1) General Commands Manual BF-BROKEN(1) + +NNAAMMEE + BBff--bbrrookkeenn - font block broken by another block + +DDEESSCCRRIIPPTTIIOONN + before both [before font block _i_n_s_i_d_e _b_o_t_h] after bracket after both + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bf/broken.out_lint b/contrib/mandoc/regress/mdoc/Bf/broken.out_lint new file mode 100644 index 00000000000..74f4c4e122c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bf/broken.out_lint @@ -0,0 +1 @@ +mandoc: broken.in:13:2: WARNING: blocks badly nested: Bo breaks Bf diff --git a/contrib/mandoc/regress/mdoc/Bf/multiargs.in b/contrib/mandoc/regress/mdoc/Bf/multiargs.in new file mode 100644 index 00000000000..cf3a173ca1f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bf/multiargs.in @@ -0,0 +1,33 @@ +.\" $OpenBSD: multiargs.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BF-MULTIARGS 1 +.Os +.Sh NAME +.Nm Bf-multiargs +.Nd font blocks with multiple arguments +.Sh DESCRIPTION +normal text +.Bf -symbolic -emphasis +symbolic emphasis +.Ef +back to normal +.Bf -symbolic Em +symbolic Em +.Ef +back to normal +.Bf -symbolic badarg +symbolic badarg +.Ef +back to normal +.Bf Sy -emphasis +Sy -emphasis +.Ef +back to normal +.Bf Sy Em +Sy Em +.Ef +back to normal +.Bf Sy badarg +Sy Em +.Ef +back to normal diff --git a/contrib/mandoc/regress/mdoc/Bf/multiargs.out_ascii b/contrib/mandoc/regress/mdoc/Bf/multiargs.out_ascii new file mode 100644 index 00000000000..a4ef4348e20 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bf/multiargs.out_ascii @@ -0,0 +1,11 @@ +BF-MULTIARGS(1) General Commands Manual BF-MULTIARGS(1) + +NNAAMMEE + BBff--mmuullttiiaarrggss - font blocks with multiple arguments + +DDEESSCCRRIIPPTTIIOONN + normal text ssyymmbboolliicc eemmpphhaassiiss back to normal ssyymmbboolliicc EEmm back to normal + ssyymmbboolliicc bbaaddaarrgg back to normal SSyy --eemmpphhaassiiss back to normal SSyy EEmm back to + normal SSyy EEmm back to normal + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bf/multiargs.out_lint b/contrib/mandoc/regress/mdoc/Bf/multiargs.out_lint new file mode 100644 index 00000000000..6e0fa48ef45 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bf/multiargs.out_lint @@ -0,0 +1,5 @@ +mandoc: multiargs.in:14:15: ERROR: skipping excess arguments: Bf ... Em +mandoc: multiargs.in:18:15: ERROR: skipping excess arguments: Bf ... badarg +mandoc: multiargs.in:22:8: ERROR: skipping excess arguments: Bf ... -emphasis +mandoc: multiargs.in:26:8: ERROR: skipping excess arguments: Bf ... Em +mandoc: multiargs.in:30:8: ERROR: skipping excess arguments: Bf ... badarg diff --git a/contrib/mandoc/regress/mdoc/Bf/nest.in b/contrib/mandoc/regress/mdoc/Bf/nest.in new file mode 100644 index 00000000000..f1640450c6a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bf/nest.in @@ -0,0 +1,34 @@ +.\" $OpenBSD: nest.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BF-NEST 1 +.Os +.Sh NAME +.Nm Bf-nest +.Nd nesting font blocks +.Sh DESCRIPTION +normal text +.Bf -emphasis +emphasis +.Bf -literal +literal +.Bf -symbolic +symbolic +.Bf Em +Em +.Bf Li +Li +.Bf Sy +Sy +.Em in-line \&Em \\fRroman\\fP again \&Em +.Ef +back to Li +.Ef +back to Em +.Ef +back to symbolic +.Ef +back to literal +.Ef +back to emphasis +.Ef +back to normal diff --git a/contrib/mandoc/regress/mdoc/Bf/nest.out_ascii b/contrib/mandoc/regress/mdoc/Bf/nest.out_ascii new file mode 100644 index 00000000000..7abc21cff5f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bf/nest.out_ascii @@ -0,0 +1,11 @@ +BF-NEST(1) General Commands Manual BF-NEST(1) + +NNAAMMEE + BBff--nneesstt - nesting font blocks + +DDEESSCCRRIIPPTTIIOONN + normal text _e_m_p_h_a_s_i_s literal ssyymmbboolliicc _E_m Li SSyy _i_n_-_l_i_n_e _E_m roman _a_g_a_i_n _E_m + back to Li _b_a_c_k _t_o _E_m bbaacckk ttoo ssyymmbboolliicc back to literal _b_a_c_k _t_o _e_m_p_h_a_s_i_s + back to normal + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bk/Makefile b/contrib/mandoc/regress/mdoc/Bk/Makefile new file mode 100644 index 00000000000..bc82e0a4732 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bk/Makefile @@ -0,0 +1,13 @@ +# $OpenBSD: Makefile,v 1.7 2015/02/07 16:39:44 schwarze Exp $ + +REGRESS_TARGETS = badarg break broken inputlines lines synopsis +LINT_TARGETS = badarg broken + +SKIP_TMAN ?= badarg + +# mandoc -T markdown output of .Bk is quite ugly, +# so refrain from testing it for now + +SKIP_MARKDOWN ?= ALL + +.include diff --git a/contrib/mandoc/regress/mdoc/Bk/badarg.in b/contrib/mandoc/regress/mdoc/Bk/badarg.in new file mode 100644 index 00000000000..4e80cc16092 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bk/badarg.in @@ -0,0 +1,57 @@ +.\" $OpenBSD: badarg.in,v 1.6 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BK-BADARG 1 +.Os +.Sh NAME +.Nm Bk-badarg +.Nd bad arguments after Bk +.Sh SYNOPSIS +.Nm +.Ar x x x x x x x x +.Ar x x x x x x x x +.Ar x x x x x x x x +.Ar x x x x x x +.Bk -badarg +.Op o Ar a +.Ek +.Pp +.Nm +.Ar x x x x x x x x +.Ar x x x x x x x x +.Ar x x x x x x x x +.Ar x x x x x x +.Bk -lines +.Op o Ar a +.Ek tail argument +.Pp +.Nm +.Ar x x x x x x x x +.Ar x x x x x x x x +.Ar x x x x x x x x +.Ar x x x x x x +.Bk -line +.Op o Ar a +.Ek +.Pp +.Nm +.Ar x x x x x x x x +.Ar x x x x x x x x +.Ar x x x x x x x x +.Ar x x x x x x +.Bk +.Op o Ar a +.Ek +.Pp +.Nm +.Ar x x x x x x x x +.Ar x x x x x x x x +.Ar x x x x x x x x +.Ar x x x x x x +.Bk -words -murks bogus +.Op o Ar a +.Ek +.Sh DESCRIPTION +Here is an empty keep: +.Bk -words +.Ek +End of test document. diff --git a/contrib/mandoc/regress/mdoc/Bk/badarg.out_ascii b/contrib/mandoc/regress/mdoc/Bk/badarg.out_ascii new file mode 100644 index 00000000000..e3b49331f9e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bk/badarg.out_ascii @@ -0,0 +1,25 @@ +BK-BADARG(1) General Commands Manual BK-BADARG(1) + +NNAAMMEE + BBkk--bbaaddaarrgg - bad arguments after Bk + +SSYYNNOOPPSSIISS + BBkk--bbaaddaarrgg _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x + [o _a] + + BBkk--bbaaddaarrgg _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x + [o _a] + + BBkk--bbaaddaarrgg _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x + [o _a] + + BBkk--bbaaddaarrgg _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x + [o _a] + + BBkk--bbaaddaarrgg _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x + [o _a] + +DDEESSCCRRIIPPTTIIOONN + Here is an empty keep: End of test document. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bk/badarg.out_lint b/contrib/mandoc/regress/mdoc/Bk/badarg.out_lint new file mode 100644 index 00000000000..468ffa2e149 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bk/badarg.out_lint @@ -0,0 +1,6 @@ +mandoc: badarg.in:14:5: ERROR: skipping excess arguments: Bk ... -badarg +mandoc: badarg.in:23:5: ERROR: skipping excess arguments: Bk ... -lines +mandoc: badarg.in:25:2: ERROR: skipping all arguments: Ek tail argument +mandoc: badarg.in:32:5: ERROR: skipping excess arguments: Bk ... -line +mandoc: badarg.in:50:12: ERROR: skipping excess arguments: Bk ... -murks +mandoc: badarg.in:55:2: WARNING: empty block: Bk diff --git a/contrib/mandoc/regress/mdoc/Bk/break.in b/contrib/mandoc/regress/mdoc/Bk/break.in new file mode 100644 index 00000000000..c0fcf3722ea --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bk/break.in @@ -0,0 +1,54 @@ +.\" $OpenBSD: break.in,v 1.7 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BK-BREAK 1 +.Os +.Sh NAME +.Nm Bk-break +.Nd handling of word keeps +.Sh DESCRIPTION +Even though it is called a word keep, +.Bk -words +it will not keep words together in free-form text. +.Ek +However, even the noop macro +.Bk -words +.No is sufficient to let the keep take effect . +.Ek +Even text generated in pre-handlers must be kept together with +the text following it: +.Bk -words +.Xr one 1 No and Xr two 2 +.Ek +should be on the same line. +.Pp +Including the whole output line into the keep is not required, +including just the macros to be kept together is sufficient: +.Pp +.Nm +.Ar x x x x x x x x +.Ar x x x x x x x x +.Ar x x x x x x x x +.Ar x x x x x x +.Bk -words +.Op o Ar a +.Ek +.Pp +.Bk -words +.Nm +.Ar x x x x x x x x +.Ar x x x x x x x x +.Ar x x x x x x x x +.Ar x x x x x x +.Op o Ar a +.Ek +.Pp +Even text printed without spacing must be kept together +with the text following it: +.Pp +.Bk -words +.Fn xxxxxxxxxxxxxxxxxxxx "xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx" xxxxxxxxxxxxxxxxxxxx +.Pp +.Fo xxxxxxxxxxxxxxxxxxxx +.Fa "xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx" xxxxxxxxxxxxxxxxxxxx +.Fc +.Ek diff --git a/contrib/mandoc/regress/mdoc/Bk/break.out_ascii b/contrib/mandoc/regress/mdoc/Bk/break.out_ascii new file mode 100644 index 00000000000..5eb3ef7d0f4 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bk/break.out_ascii @@ -0,0 +1,30 @@ +BK-BREAK(1) General Commands Manual BK-BREAK(1) + +NNAAMMEE + BBkk--bbrreeaakk - handling of word keeps + +DDEESSCCRRIIPPTTIIOONN + Even though it is called a word keep, it will not keep words together in + free-form text. However, even the noop macro + is sufficient to let the keep take effect. Even text generated in pre- + handlers must be kept together with the text following it: + one(1) and two(2) should be on the same line. + + Including the whole output line into the keep is not required, including + just the macros to be kept together is sufficient: + + BBkk--bbrreeaakk _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x + [o _a] + + BBkk--bbrreeaakk _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x + [o _a] + + Even text printed without spacing must be kept together with the text + following it: + + xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x + _x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x, _x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x) + + xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x _x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x, _x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x) + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bk/broken.in b/contrib/mandoc/regress/mdoc/Bk/broken.in new file mode 100644 index 00000000000..e5b0d32cbc2 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bk/broken.in @@ -0,0 +1,12 @@ +.\" $OpenBSD: broken.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BK-BROKEN 1 +.Os +.Sh NAME +.Nm Bk-broken +.Nd word keep broken by another block +.Sh DESCRIPTION +before keep +.Bk -words +.Sh CAVEATS +next section diff --git a/contrib/mandoc/regress/mdoc/Bk/broken.out_ascii b/contrib/mandoc/regress/mdoc/Bk/broken.out_ascii new file mode 100644 index 00000000000..6ff56c0cd6f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bk/broken.out_ascii @@ -0,0 +1,12 @@ +BK-BROKEN(1) General Commands Manual BK-BROKEN(1) + +NNAAMMEE + BBkk--bbrrookkeenn - word keep broken by another block + +DDEESSCCRRIIPPTTIIOONN + before keep + +CCAAVVEEAATTSS + next section + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bk/broken.out_lint b/contrib/mandoc/regress/mdoc/Bk/broken.out_lint new file mode 100644 index 00000000000..bb1e2e8822d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bk/broken.out_lint @@ -0,0 +1,2 @@ +mandoc: broken.in:11:2: ERROR: inserting missing end of block: Sh breaks Bk +mandoc: broken.in:10:2: WARNING: empty block: Bk diff --git a/contrib/mandoc/regress/mdoc/Bk/inputlines.in b/contrib/mandoc/regress/mdoc/Bk/inputlines.in new file mode 100644 index 00000000000..59499c510d8 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bk/inputlines.in @@ -0,0 +1,74 @@ +.\" $OpenBSD: inputlines.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BK-INPUTLINES 1 +.Os +.Sh NAME +.Nm Bk-inputlines +.Nd effect of input lines breaks on word keeps +.Sh SYNOPSIS +.Nm +.Ar x x x x x x x x x x x x x x x x x x x x x x x x x x x +.Bk -words +.Oo Oo No a Oc Oo No b Oc Oc Pq one line +.Ek +.Pp +.Nm +.Ar x x x x x x x x x x x x x x x x x x x x x x x x x x x +.Bk -words +.Oo +.Oo No a Oc Oo No b Oc Oc Pq "break after first Oo" +.Ek +.Pp +.Nm +.Ar x x x x x x x x x x x x x x x x x x x x x x x x x x x +.Bk -words +.Oo Oo +.No a Oc Oo b Oc Oc Pq "break after second Oo" +.Ek +.Pp +.Nm +.Ar x x x x x x x x x x x x x x x x x x x x x x x x x x x +.Bk -words +.Oo Oo No a +.Oc Oo No b Oc Oc Pq "break before first Oc" +.Ek +.Pp +.Nm +.Ar x x x x x x x x x x x x x x x x x x x x x x x x x x x +.Bk -words +.Oo Oo No a Oc +.Oo No b Oc Oc Pq "break after first Oc" +.Ek +.Pp +.Nm +.Ar x x x x x x x x x x x x x x x x x x x x x x x x x x x +.Bk -words +.Oo Oo No a Oc Oo +.No b Oc Oc Pq "break after third Oo" +.Ek +.Pp +.Nm +.Ar x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.Bk -words +.Oo a No b Oc +.Ek +.Pp +.Nm +.Ar x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.Bk -words +.Oo a +.No b Oc +.Ek +.Pp +.Nm +.Ar x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.Bk -words +.Oo a Oc No b +.Ek +.Pp +.Nm +.Ar x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.Bk -words +.Oo a Oc +.No b +.Ek diff --git a/contrib/mandoc/regress/mdoc/Bk/inputlines.out_ascii b/contrib/mandoc/regress/mdoc/Bk/inputlines.out_ascii new file mode 100644 index 00000000000..de28a507352 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bk/inputlines.out_ascii @@ -0,0 +1,37 @@ +BK-INPUTLINES(1) General Commands Manual BK-INPUTLINES(1) + +NNAAMMEE + BBkk--iinnppuuttlliinneess - effect of input lines breaks on word keeps + +SSYYNNOOPPSSIISS + BBkk--iinnppuuttlliinneess _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x + [[a] [b]] (one line) + + BBkk--iinnppuuttlliinneess _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x + [[a] [b]] (break after first Oo) + + BBkk--iinnppuuttlliinneess _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x + [[a] [b]] (break after second Oo) + + BBkk--iinnppuuttlliinneess _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x + [[a] [b]] (break before first Oc) + + BBkk--iinnppuuttlliinneess _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x [[a] + [b]] (break after first Oc) + + BBkk--iinnppuuttlliinneess _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x + [[a] [b]] (break after third Oo) + + BBkk--iinnppuuttlliinneess _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x + [a b] + + BBkk--iinnppuuttlliinneess _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x [a + b] + + BBkk--iinnppuuttlliinneess _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x + [a] b + + BBkk--iinnppuuttlliinneess _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x _x [a] + b + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bk/lines.in b/contrib/mandoc/regress/mdoc/Bk/lines.in new file mode 100644 index 00000000000..ab5d737bf6f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bk/lines.in @@ -0,0 +1,89 @@ +.\" $OpenBSD: lines.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BK-LINES 1 +.Os +.Sh NAME +.Nm Bk-lines +.Nd handling of line keeps +.Sh DESCRIPTION +.Bd -literal +1 +2 +3 +4 +5 +6 +7 +8 +9 +11 +12 +13 +14 +15 +16 +17 +18 +19 +21 +22 +23 +24 +25 +26 +27 +28 +29 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +.Ed +.Ss with keep +.Bk -lines +.Bd -literal +1 +2 +3 +4 +5 +6 +7 +8 +9 +11 +12 +13 +14 +15 +16 +17 +18 +19 +21 +22 +23 +24 +25 +26 +27 +28 +29 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +.Ed +.Ek diff --git a/contrib/mandoc/regress/mdoc/Bk/lines.out_ascii b/contrib/mandoc/regress/mdoc/Bk/lines.out_ascii new file mode 100644 index 00000000000..eaab6b5c66d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bk/lines.out_ascii @@ -0,0 +1,84 @@ +BK-LINES(1) General Commands Manual BK-LINES(1) + +NNAAMMEE + BBkk--lliinneess - handling of line keeps + +DDEESSCCRRIIPPTTIIOONN + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 31 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + 39 + 40 + + wwiitthh kkeeeepp + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 31 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + 39 + 40 + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bk/synopsis.in b/contrib/mandoc/regress/mdoc/Bk/synopsis.in new file mode 100644 index 00000000000..010d41a4021 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bk/synopsis.in @@ -0,0 +1,33 @@ +.\" $OpenBSD: synopsis.in,v 1.7 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BK-SYNOPSIS 1 +.Os +.Sh NAME +.Nm Bk-synopsis +.Nd automatic keeps in the synopsis +.Sh SYNOPSIS +In the synopsis, almost all macros do not show +.No the word keep effect they would get in a \&Bk block. +.Pp +.Fn xxxxxxxxxxxxxxxxxxxx "xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx" xxxxxxxxxxxxxxxxxxxx +.Fo xxxxxxxxxxxxxxxxxxxx +.Fa "xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx" xxxxxxxxxxxxxxxxxxxx +.Fc +.Pp +Only \&Nm, used as a block macro, does: +.Pp +.Nm ksh +.Op Fl +abCefhiklmnpruvXx +.Op Fl +o Ar option +.Op Fl c Ar string \*(Ba Fl s \*(Ba Ar file Op Ar argument ... +.Bk -words +.Ek +.Nm ksh +.Op Fl +abCefhiklmnpruvXx +.Op Fl +o Ar option +.Op Fl c Ar string \*(Ba Fl s \*(Ba Ar file Op Ar argument ... +.Sh DESCRIPTION +.Nm ksh +.Op Fl +abCefhiklmnpruvXx +.Op Fl +o Ar option +.Op Fl c Ar string \*(Ba Fl s \*(Ba Ar file Op Ar argument ... diff --git a/contrib/mandoc/regress/mdoc/Bk/synopsis.out_ascii b/contrib/mandoc/regress/mdoc/Bk/synopsis.out_ascii new file mode 100644 index 00000000000..de3577169a6 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bk/synopsis.out_ascii @@ -0,0 +1,27 @@ +BK-SYNOPSIS(1) General Commands Manual BK-SYNOPSIS(1) + +NNAAMMEE + BBkk--ssyynnooppssiiss - automatic keeps in the synopsis + +SSYYNNOOPPSSIISS + In the synopsis, almost all macros do not show the word keep effect they + would get in a Bk block. + + xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x _x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x, + _x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x); + + xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x _x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x, + _x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x); + + Only Nm, used as a block macro, does: + + kksshh [--++aabbCCeeffhhiikkllmmnnpprruuvvXXxx] [--++oo _o_p_t_i_o_n] + [--cc _s_t_r_i_n_g | --ss | _f_i_l_e [_a_r_g_u_m_e_n_t _._._.]] + kksshh [--++aabbCCeeffhhiikkllmmnnpprruuvvXXxx] [--++oo _o_p_t_i_o_n] + [--cc _s_t_r_i_n_g | --ss | _f_i_l_e [_a_r_g_u_m_e_n_t _._._.]] + +DDEESSCCRRIIPPTTIIOONN + kksshh [--++aabbCCeeffhhiikkllmmnnpprruuvvXXxx] [--++oo _o_p_t_i_o_n] [--cc _s_t_r_i_n_g | --ss | _f_i_l_e [_a_r_g_u_m_e_n_t + _._._.]] + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/Makefile b/contrib/mandoc/regress/mdoc/Bl/Makefile new file mode 100644 index 00000000000..aeb6bd56504 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/Makefile @@ -0,0 +1,50 @@ +# $OpenBSD: Makefile,v 1.31 2016/10/17 19:00:16 schwarze Exp $ + +REGRESS_TARGETS = item inset diag ohang bullet dash enum hang tag +REGRESS_TARGETS += column column_nogroff colNoIt +REGRESS_TARGETS += extend nested offset secstart + +REGRESS_TARGETS += notype multitype badargs +REGRESS_TARGETS += empty noIt emptyhead emptytag emptyitem multitag +REGRESS_TARGETS += bareIt bareTa unclosed break breakingIt breakingTa broken + +UTF8_TARGETS = dash + +LINT_TARGETS = inset diag column column_nogroff notype badargs tag +LINT_TARGETS += empty noIt emptyhead emptytag emptyitem +LINT_TARGETS += bareIt bareTa break breakingIt broken + +# groff-mandoc differences: +# - groff allows enclosures to span Ta, mandoc does not + +SKIP_GROFF ?= breakingTa + +# groff-1.22.3 defects: +# - column list items with no args but multiple lines cause bogus breaks +# - in column lists, the tab macro cannot be a line macro +# - lists with missing or late type ruin indentation +# - empty lists ruin indentation and sometimes cause empty lines +# - breaking lists continue indefinitely +# - breaking items sometimes ruin indentation, sometimes abort processing +# - breaking a list aborts processing +# - empty -tag item heads lose the blank line and the indentation + +SKIP_GROFF += column_nogroff notype empty emptytag break breakingIt broken + +SKIP_TMAN ?= column colNoIt multitype multitag bareTa break breakingTa broken + +# Fixing the indentation in long .IP and .TP tags in -man -Tascii +# caused a minor regression in -Tman that is not trivial to fix, +# so disable the related test for now. + +SKIP_TMAN += tag + +# Empty heads are still mishandled by -Tman. + +SKIP_TMAN += column_nogroff emptyhead emptytag + +# mandoc -T markdown still has issues with badly nested lists + +SKIP_MARKDOWN ?= break + +.include diff --git a/contrib/mandoc/regress/mdoc/Bl/badargs.in b/contrib/mandoc/regress/mdoc/Bl/badargs.in new file mode 100644 index 00000000000..464d5900dda --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/badargs.in @@ -0,0 +1,79 @@ +.\" $OpenBSD: badargs.in,v 1.4 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-BADARGS 1 +.Os +.Sh NAME +.Nm Bl-badargs +.Nd list with bad arguments +.Sh DESCRIPTION +trailing -offset: +.Bl -bullet -offset +.It +is ignored +.El +trailing -width: +.Bl -bullet -width +.It +bullet +.El +.Bl -dash -width +.It +dash +.El +.\" XXX Doesn't work with -Tman yet. +.\" .Bl -enum -width +.\" .It +.\" enum +.\" .El +.Bl -hyphen -width +.It +hyphen +.El +.Bl -hang -width +.It hang +item +.El +.Bl -tag -width +.It tag +Here we need a very long line. +It must be sufficiently long such that it wraps the line. +.El +double type: +.Bl -bullet -compact -enum +.It +bullet enum +.El +.Bl -enum -compact -bullet +.It +enum bullet +.El +unknown arguments: +.Bl -bullet -bogus args +.It +bullet text +.El +.Bl -enum -bogus args +.It +enum text +.El +.Bl -inset -bogus args +.It inset +text +.El +.Bl -item -bogus args +.It +item text +.El +.Bl -ohang -bogus args +.It ohang +text +.El +.Bl -tag -width Ds -bogus args +.It tag +text +.El +double arguments: +.Bl -tag -compact -offset 20n -width 20n -compact -offset 2n -width 6n +.It last +wins +.El tail argument diff --git a/contrib/mandoc/regress/mdoc/Bl/badargs.out_ascii b/contrib/mandoc/regress/mdoc/Bl/badargs.out_ascii new file mode 100644 index 00000000000..16d99fb04a2 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/badargs.out_ascii @@ -0,0 +1,43 @@ +BL-BADARGS(1) General Commands Manual BL-BADARGS(1) + +NNAAMMEE + BBll--bbaaddaarrggss - list with bad arguments + +DDEESSCCRRIIPPTTIIOONN + trailing -offset: + + ++oo is ignored + trailing -width: + + ++oo bullet + + -- dash + + -- hyphen + + hang item + + tag + Here we need a very long line. It must be sufficiently long such that + it wraps the line. + double type: + ++oo bullet enum + 1. enum bullet + unknown arguments: + + ++oo bullet text + + 1. enum text + + inset text + + item text + + ohang + text + + tag text + double arguments: + last wins + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/badargs.out_lint b/contrib/mandoc/regress/mdoc/Bl/badargs.out_lint new file mode 100644 index 00000000000..8d51123f6a0 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/badargs.out_lint @@ -0,0 +1,18 @@ +mandoc: badargs.in:79:2: ERROR: skipping all arguments: El tail argument +mandoc: badargs.in:10:13: WARNING: empty argument, using 0n: Bl -offset +mandoc: badargs.in:15:13: WARNING: empty argument, using 0n: Bl -width +mandoc: badargs.in:19:11: WARNING: empty argument, using 0n: Bl -width +mandoc: badargs.in:28:13: WARNING: empty argument, using 0n: Bl -width +mandoc: badargs.in:32:11: WARNING: empty argument, using 0n: Bl -width +mandoc: badargs.in:36:10: WARNING: empty argument, using 0n: Bl -width +mandoc: badargs.in:42:2: WARNING: skipping duplicate list type: Bl -enum +mandoc: badargs.in:46:2: WARNING: skipping duplicate list type: Bl -bullet +mandoc: badargs.in:51:13: ERROR: skipping excess arguments: Bl ... -bogus +mandoc: badargs.in:55:11: ERROR: skipping excess arguments: Bl ... -bogus +mandoc: badargs.in:59:12: ERROR: skipping excess arguments: Bl ... -bogus +mandoc: badargs.in:63:11: ERROR: skipping excess arguments: Bl ... -bogus +mandoc: badargs.in:67:12: ERROR: skipping excess arguments: Bl ... -bogus +mandoc: badargs.in:71:20: ERROR: skipping excess arguments: Bl ... -bogus +mandoc: badargs.in:76:42: WARNING: duplicate argument: Bl -compact +mandoc: badargs.in:76:51: WARNING: duplicate argument: Bl -offset 2n +mandoc: badargs.in:76:62: WARNING: duplicate argument: Bl -width 6n diff --git a/contrib/mandoc/regress/mdoc/Bl/badargs.out_markdown b/contrib/mandoc/regress/mdoc/Bl/badargs.out_markdown new file mode 100644 index 00000000000..624a870c79a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/badargs.out_markdown @@ -0,0 +1,60 @@ +BL-BADARGS(1) - General Commands Manual + +# NAME + +**Bl-badargs** - list with bad arguments + +# DESCRIPTION + +trailing -offset: + +* is ignored + +trailing -width: + +* bullet + +- dash + +- hyphen + +hang + +> item + +tag + +> Here we need a very long line. +> It must be sufficiently long such that it wraps the line. + +double type: + +* bullet enum + +1. enum bullet + +unknown arguments: + +* bullet text + +1. enum text + +inset +text + +item text + +ohang +text + +tag + +> text + +double arguments: + +last + +> wins + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/bareIt.in b/contrib/mandoc/regress/mdoc/Bl/bareIt.in new file mode 100644 index 00000000000..b9becc63697 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/bareIt.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: bareIt.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-BAREIT 1 +.Os +.Sh NAME +.Nm Bl-bareIt +.Nd item macro outside list +.Sh DESCRIPTION +initial text +.It argument +.Bl -dash +.It +item +.El +.It argument +final text diff --git a/contrib/mandoc/regress/mdoc/Bl/bareIt.out_ascii b/contrib/mandoc/regress/mdoc/Bl/bareIt.out_ascii new file mode 100644 index 00000000000..f93bb382a04 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/bareIt.out_ascii @@ -0,0 +1,12 @@ +BL-BAREIT(1) General Commands Manual BL-BAREIT(1) + +NNAAMMEE + BBll--bbaarreeIItt - item macro outside list + +DDEESSCCRRIIPPTTIIOONN + initial text + + -- item + final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/bareIt.out_lint b/contrib/mandoc/regress/mdoc/Bl/bareIt.out_lint new file mode 100644 index 00000000000..b6a42654504 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/bareIt.out_lint @@ -0,0 +1,3 @@ +mandoc: bareIt.in:10:2: ERROR: skipping item outside list: It argument +mandoc: bareIt.in:15:2: ERROR: skipping item outside list: It argument +mandoc: bareIt.in:10:2: WARNING: skipping paragraph macro: br before Bl diff --git a/contrib/mandoc/regress/mdoc/Bl/bareIt.out_markdown b/contrib/mandoc/regress/mdoc/Bl/bareIt.out_markdown new file mode 100644 index 00000000000..ab90795e398 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/bareIt.out_markdown @@ -0,0 +1,15 @@ +BL-BAREIT(1) - General Commands Manual + +# NAME + +**Bl-bareIt** - item macro outside list + +# DESCRIPTION + +initial text + +- item + +final text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/bareTa.in b/contrib/mandoc/regress/mdoc/Bl/bareTa.in new file mode 100644 index 00000000000..30e36ad8885 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/bareTa.in @@ -0,0 +1,27 @@ +.\" $OpenBSD: bareTa.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt TA-BARE 1 +.Os +.Sh NAME +.Nm Ta-bare +.Nd bare tabular column macro +.Sh DESCRIPTION +initial text +.Ta ignored arguments +middle text +.Bl -item -offset indent +.It +.Ta ignored arguments +indented text +.El +middle text +.Bl -dash +.It Ta ignored arguments +indented text +.El +middle text +.Bl -column "a" "b" -offset indent +.It a Ta b +.El +.It ignored arguments +final text diff --git a/contrib/mandoc/regress/mdoc/Bl/bareTa.out_ascii b/contrib/mandoc/regress/mdoc/Bl/bareTa.out_ascii new file mode 100644 index 00000000000..cc55a94ccae --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/bareTa.out_ascii @@ -0,0 +1,18 @@ +TA-BARE(1) General Commands Manual TA-BARE(1) + +NNAAMMEE + TTaa--bbaarree - bare tabular column macro + +DDEESSCCRRIIPPTTIIOONN + initial text middle text + + indented text + middle text + + -- indented text + middle text + + a b + final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/bareTa.out_lint b/contrib/mandoc/regress/mdoc/Bl/bareTa.out_lint new file mode 100644 index 00000000000..62cb3afc8f9 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/bareTa.out_lint @@ -0,0 +1,5 @@ +mandoc: bareTa.in:10:2: ERROR: skipping column outside column list: Ta +mandoc: bareTa.in:14:2: ERROR: skipping column outside column list: Ta +mandoc: bareTa.in:19:5: ERROR: skipping column outside column list: Ta +mandoc: bareTa.in:26:2: ERROR: skipping item outside list: It ignored arguments +mandoc: bareTa.in:19:2: ERROR: skipping all arguments: It ignored arguments diff --git a/contrib/mandoc/regress/mdoc/Bl/bareTa.out_markdown b/contrib/mandoc/regress/mdoc/Bl/bareTa.out_markdown new file mode 100644 index 00000000000..c27ad8ea98a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/bareTa.out_markdown @@ -0,0 +1,24 @@ +TA-BARE(1) - General Commands Manual + +# NAME + +**Ta-bare** - bare tabular column macro + +# DESCRIPTION + +initial text +middle text + +indented text + +middle text + +- indented text + +middle text + + a b + +final text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/break.in b/contrib/mandoc/regress/mdoc/Bl/break.in new file mode 100644 index 00000000000..c018139720b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/break.in @@ -0,0 +1,78 @@ +.\" $OpenBSD: break.in,v 1.7 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-BREAK 1 +.Os +.Sh NAME +.Nm Bl-break +.Nd list breaking another block +.Sh DESCRIPTION +before both +.Bl -enum -offset indent +.It +before bracket +.Bo inside both +.El +after list +.Bc +in between +.Bl -enum -offset indent +.It +before bracket +.Bo inside both +.El +.It +stray item +.Bc +after both +.Sh EXAMPLES +.Bl -enum -offset indent +.It +before display +.Bd -ragged -offset indent +inside both +.El +after display +.Ed +in between +.Bl -enum -offset indent +.It +before display +.Bd -ragged -offset indent +inside both +.El +.It +stray item +.Ed +after both +.Bl -enum -offset indent +.It +before table +.Bl -column column +.It column +.Bd -ragged -offset indent +inside display +.El +first line after table +second line after table +.El +after list +.Sh DIAGNOSTICS +.Bl -column column +.It column +.Bd -ragged -offset indent +inside display +.El +.Ta stray tab +after stray tab +.Ed +after display +.Sh CAVEATS +.Bl -hang +.It before broken block Bo inside both +.El +after list +.Sh BUGS +.Bl -enum +.It before broken block Bo inside both +.El +after list diff --git a/contrib/mandoc/regress/mdoc/Bl/break.out_ascii b/contrib/mandoc/regress/mdoc/Bl/break.out_ascii new file mode 100644 index 00000000000..35dc7115515 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/break.out_ascii @@ -0,0 +1,49 @@ +BL-BREAK(1) General Commands Manual BL-BREAK(1) + +NNAAMMEE + BBll--bbrreeaakk - list breaking another block + +DDEESSCCRRIIPPTTIIOONN + before both + + 1. before bracket [inside both after list] + in between + + 1. before bracket [inside both + stray item] + after both + +EEXXAAMMPPLLEESS + 1. before display + + inside both after display + in between + + 1. before display + + inside both + stray item + after both + + 1. before table + + column + + inside display first line after table second line after + table after list + + +DDIIAAGGNNOOSSTTIICCSS + column + + inside display after stray tab + + after display + +CCAAVVEEAATTSS + before broken block [inside both after list] + +BBUUGGSS + 1. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/break.out_lint b/contrib/mandoc/regress/mdoc/Bl/break.out_lint new file mode 100644 index 00000000000..6ecc78b6ca5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/break.out_lint @@ -0,0 +1,18 @@ +mandoc: break.in:14:2: WARNING: blocks badly nested: Bl breaks Bo +mandoc: break.in:22:2: WARNING: blocks badly nested: Bl breaks Bo +mandoc: break.in:23:2: ERROR: skipping item outside list: It +mandoc: break.in:33:2: WARNING: blocks badly nested: Bl breaks Bd +mandoc: break.in:42:2: WARNING: blocks badly nested: Bl breaks Bd +mandoc: break.in:43:2: ERROR: skipping item outside list: It +mandoc: break.in:54:2: WARNING: blocks badly nested: Bl breaks Bd +mandoc: break.in:57:2: WARNING: blocks badly nested: Bl breaks Bd +mandoc: break.in:59:2: ERROR: inserting missing end of block: Sh breaks Bd +mandoc: break.in:64:2: WARNING: blocks badly nested: Bl breaks Bd +mandoc: break.in:65:2: ERROR: skipping column outside column list: Ta +mandoc: break.in:72:2: WARNING: blocks badly nested: Bl breaks Bo +mandoc: break.in:74:2: ERROR: inserting missing end of block: Sh breaks Bo +mandoc: break.in:77:2: WARNING: blocks badly nested: Bl breaks Bo +mandoc: break.in:76:25: ERROR: appending missing end of block: Bo +mandoc: break.in:75:2: ERROR: appending missing end of block: Bl +mandoc: break.in:76:2: WARNING: empty list item: Bl -enum It +mandoc: break.in:76:2: ERROR: skipping all arguments: It before broken block diff --git a/contrib/mandoc/regress/mdoc/Bl/breakingIt.in b/contrib/mandoc/regress/mdoc/Bl/breakingIt.in new file mode 100644 index 00000000000..a2575815fb7 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/breakingIt.in @@ -0,0 +1,70 @@ +.\" $OpenBSD: breakingIt.in,v 1.4 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-BREAKINGIT 1 +.Os +.Sh NAME +.Nm Bl-breakingIt +.Nd items breaking other blocks +.Sh DESCRIPTION +.Ss Breaking partial explicit macros +.Bl -tag -width Ds +Stray text. +.Ao +More stray text +.It tag +Tagged text. +.El +.Bl -bullet +Stray text. +.Ao +More stray text +.It +Bullet point. +.El +.Bl -tag -width Ds +.It tag +Tagged text. +.Ao +More tagged text +.It tag2 +Yet more tagged text. +.El +.Bl -bullet +.It +Item text. +.Ao +More item text +.It +Bullet point. +.El +.Ss Breaking full explicit macros +.Bl -tag -width Ds +Stray text. +.Bd -ragged -offset indent +More stray text. +.It tag +Tagged text. +.El +.Bl -bullet +Stray text. +.Bd -ragged -offset indent +More stray text. +.It +Bullet point. +.El +.Bl -tag -width Ds +.It tag +Tagged text. +.Bd -ragged -offset indent +Display text. +.It tag2 +More tagged text. +.El +.Bl -bullet +.It +Item text. +.Bd -ragged -offset indent +Display text. +.It +Bullet point. +.El diff --git a/contrib/mandoc/regress/mdoc/Bl/breakingIt.out_ascii b/contrib/mandoc/regress/mdoc/Bl/breakingIt.out_ascii new file mode 100644 index 00000000000..447ceb811bd --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/breakingIt.out_ascii @@ -0,0 +1,47 @@ +BL-BREAKINGIT(1) General Commands Manual BL-BREAKINGIT(1) + +NNAAMMEE + BBll--bbrreeaakkiinnggIItt - items breaking other blocks + +DDEESSCCRRIIPPTTIIOONN + BBrreeaakkiinngg ppaarrttiiaall eexxpplliicciitt mmaaccrrooss + Stray text. + + tag Tagged text. + Stray text. + + ++oo Bullet point. + + tag Tagged text. + + tag2 Yet more tagged text. + + ++oo Item text. + + ++oo Bullet point. + + BBrreeaakkiinngg ffuullll eexxpplliicciitt mmaaccrrooss + Stray text. + + More stray text. + + tag Tagged text. + Stray text. + + More stray text. + + ++oo Bullet point. + + tag Tagged text. + + Display text. + + tag2 More tagged text. + + ++oo Item text. + + Display text. + + ++oo Bullet point. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/breakingIt.out_lint b/contrib/mandoc/regress/mdoc/Bl/breakingIt.out_lint new file mode 100644 index 00000000000..8d8259ef36d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/breakingIt.out_lint @@ -0,0 +1,16 @@ +mandoc: breakingIt.in:14:2: ERROR: inserting missing end of block: It breaks Ao +mandoc: breakingIt.in:21:2: ERROR: inserting missing end of block: It breaks Ao +mandoc: breakingIt.in:29:2: ERROR: inserting missing end of block: It breaks Ao +mandoc: breakingIt.in:37:2: ERROR: inserting missing end of block: It breaks Ao +mandoc: breakingIt.in:45:2: ERROR: inserting missing end of block: It breaks Bd +mandoc: breakingIt.in:52:2: ERROR: inserting missing end of block: It breaks Bd +mandoc: breakingIt.in:60:2: ERROR: inserting missing end of block: It breaks Bd +mandoc: breakingIt.in:68:2: ERROR: inserting missing end of block: It breaks Bd +mandoc: breakingIt.in:11:1: WARNING: moving content out of list: text +mandoc: breakingIt.in:12:2: WARNING: moving content out of list: Ao +mandoc: breakingIt.in:18:1: WARNING: moving content out of list: text +mandoc: breakingIt.in:19:2: WARNING: moving content out of list: Ao +mandoc: breakingIt.in:42:1: WARNING: moving content out of list: text +mandoc: breakingIt.in:43:2: WARNING: moving content out of list: Bd +mandoc: breakingIt.in:49:1: WARNING: moving content out of list: text +mandoc: breakingIt.in:50:2: WARNING: moving content out of list: Bd diff --git a/contrib/mandoc/regress/mdoc/Bl/breakingIt.out_markdown b/contrib/mandoc/regress/mdoc/Bl/breakingIt.out_markdown new file mode 100644 index 00000000000..83b9aa12631 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/breakingIt.out_markdown @@ -0,0 +1,69 @@ +BL-BREAKINGIT(1) - General Commands Manual + +# NAME + +**Bl-breakingIt** - items breaking other blocks + +# DESCRIPTION + +## Breaking partial explicit macros + +Stray text. +<More stray text> + +tag + +> Tagged text. + +Stray text. +<More stray text> + +* Bullet point. + +tag + +> Tagged text. +> <More tagged text> + +tag2 + +> Yet more tagged text. + +* Item text. + <More item text> + +* Bullet point. + +## Breaking full explicit macros + +Stray text. + +> More stray text. + +tag + +> Tagged text. + +Stray text. + +> More stray text. + +* Bullet point. + +tag + +> Tagged text. + +> > Display text. + +tag2 + +> More tagged text. + +* Item text. + + > Display text. + +* Bullet point. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/breakingTa.in b/contrib/mandoc/regress/mdoc/Bl/breakingTa.in new file mode 100644 index 00000000000..7771fcaafa0 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/breakingTa.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: breakingTa.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-BREAKINGTA 1 +.Os +.Sh NAME +.Nm Bl-breakingTa +.Nd tab macro breaking a block +.Sh DESCRIPTION +.\" Crashed before mdoc_macro.c OpenBSD rev. 1.172 +initial text +.Bl -column 123456 123456 +.It it Aq aq Ta ta Bo bo bc +.Bc Pq pq +.El +final text diff --git a/contrib/mandoc/regress/mdoc/Bl/breakingTa.out_ascii b/contrib/mandoc/regress/mdoc/Bl/breakingTa.out_ascii new file mode 100644 index 00000000000..a56c1a99056 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/breakingTa.out_ascii @@ -0,0 +1,12 @@ +BL-BREAKINGTA(1) General Commands Manual BL-BREAKINGTA(1) + +NNAAMMEE + BBll--bbrreeaakkiinnggTTaa - tab macro breaking a block + +DDEESSCCRRIIPPTTIIOONN + initial text + + it ta [bo bc] (pq) + final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/breakingTa.out_markdown b/contrib/mandoc/regress/mdoc/Bl/breakingTa.out_markdown new file mode 100644 index 00000000000..d3f5422ef4b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/breakingTa.out_markdown @@ -0,0 +1,15 @@ +BL-BREAKINGTA(1) - General Commands Manual + +# NAME + +**Bl-breakingTa** - tab macro breaking a block + +# DESCRIPTION + +initial text + + it ta [bo bc] (pq) + +final text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/broken.in b/contrib/mandoc/regress/mdoc/Bl/broken.in new file mode 100644 index 00000000000..383a164ba6d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/broken.in @@ -0,0 +1,29 @@ +.\" $OpenBSD: broken.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-BROKEN 1 +.Os +.Sh NAME +.Nm Bl-broken +.Nd list broken by another block +.Sh DESCRIPTION +before both +.Bo before list +.Bl -enum -offset indent +.It +inside both +.Bc +after bracket +.El +after list +.Bo before list +.Bl -enum -offset indent +.It +inside list +.Bd -ragged -offset indent +inside display +.Bc +after bracket +.It +next item +.El +after list diff --git a/contrib/mandoc/regress/mdoc/Bl/broken.out_ascii b/contrib/mandoc/regress/mdoc/Bl/broken.out_ascii new file mode 100644 index 00000000000..b72a36fbd4a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/broken.out_ascii @@ -0,0 +1,19 @@ +BL-BROKEN(1) General Commands Manual BL-BROKEN(1) + +NNAAMMEE + BBll--bbrrookkeenn - list broken by another block + +DDEESSCCRRIIPPTTIIOONN + before both [before list + + 1. inside both] after bracket + after list [before list + + 1. inside list + + inside display] after bracket + + 2. next item + after list + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/broken.out_lint b/contrib/mandoc/regress/mdoc/Bl/broken.out_lint new file mode 100644 index 00000000000..b0484af7c45 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/broken.out_lint @@ -0,0 +1,3 @@ +mandoc: broken.in:14:2: WARNING: blocks badly nested: Bo breaks Bl +mandoc: broken.in:24:2: WARNING: blocks badly nested: Bo breaks Bd +mandoc: broken.in:26:2: ERROR: inserting missing end of block: It breaks Bd diff --git a/contrib/mandoc/regress/mdoc/Bl/broken.out_markdown b/contrib/mandoc/regress/mdoc/Bl/broken.out_markdown new file mode 100644 index 00000000000..d581fc29491 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/broken.out_markdown @@ -0,0 +1,27 @@ +BL-BROKEN(1) - General Commands Manual + +# NAME + +**Bl-broken** - list broken by another block + +# DESCRIPTION + +before both +\[before list + +1. inside both] + after bracket + +after list +\[before list + +1. inside list + + > inside display] + > after bracket + +2. next item + +after list + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/bullet.in b/contrib/mandoc/regress/mdoc/Bl/bullet.in new file mode 100644 index 00000000000..472ce9c5168 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/bullet.in @@ -0,0 +1,82 @@ +.\" $OpenBSD: bullet.in,v 1.4 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-BULLET 1 +.Os +.Sh NAME +.Nm Bl-bullet +.Nd bullet lists +.Sh DESCRIPTION +.Bl -bullet -width -4n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -bullet -width -3n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -bullet -width -2n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -bullet -width -1n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -bullet -width 0n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -bullet -width 1n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -bullet -width 2n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -bullet -width 3n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -bullet -width 4n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -bullet -width 5n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -bullet -width 6n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -bullet -width 7n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -bullet -compact +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El diff --git a/contrib/mandoc/regress/mdoc/Bl/bullet.out_ascii b/contrib/mandoc/regress/mdoc/Bl/bullet.out_ascii new file mode 100644 index 00000000000..0db327b30c9 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/bullet.out_ascii @@ -0,0 +1,67 @@ +BL-BULLET(1) General Commands Manual BL-BULLET(1) + +NNAAMMEE + BBll--bbuulllleett - bullet lists + +DDEESSCCRRIIPPTTIIOONN + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x + + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x + + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x + + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x + + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x + + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x + + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x + + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + ++oo x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/bullet.out_markdown b/contrib/mandoc/regress/mdoc/Bl/bullet.out_markdown new file mode 100644 index 00000000000..c500ecaf72d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/bullet.out_markdown @@ -0,0 +1,46 @@ +BL-BULLET(1) - General Commands Manual + +# NAME + +**Bl-bullet** - bullet lists + +# DESCRIPTION + +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/colNoIt.in b/contrib/mandoc/regress/mdoc/Bl/colNoIt.in new file mode 100644 index 00000000000..1d81ce22829 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/colNoIt.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: colNoIt.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-COLNOIT 1 +.Os +.Sh NAME +.Nm Bl-colNoIt +.Nd column lists without item macros +.Sh DESCRIPTION +.Bl -column "a" "b" +.Sy a Ta b +.Em c Ta d +.El +.Bl -column "a" "b" +a b +c d +.El diff --git a/contrib/mandoc/regress/mdoc/Bl/colNoIt.out_ascii b/contrib/mandoc/regress/mdoc/Bl/colNoIt.out_ascii new file mode 100644 index 00000000000..69152adcb5e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/colNoIt.out_ascii @@ -0,0 +1,13 @@ +BL-COLNOIT(1) General Commands Manual BL-COLNOIT(1) + +NNAAMMEE + BBll--ccoollNNooIItt - column lists without item macros + +DDEESSCCRRIIPPTTIIOONN + aa b + _c d + + a b + c d + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/colNoIt.out_markdown b/contrib/mandoc/regress/mdoc/Bl/colNoIt.out_markdown new file mode 100644 index 00000000000..3c98fab745f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/colNoIt.out_markdown @@ -0,0 +1,15 @@ +BL-COLNOIT(1) - General Commands Manual + +# NAME + +**Bl-colNoIt** - column lists without item macros + +# DESCRIPTION + + **a** b + *c* d + + a b + c d + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/column.in b/contrib/mandoc/regress/mdoc/Bl/column.in new file mode 100644 index 00000000000..a6c791d7318 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/column.in @@ -0,0 +1,109 @@ +.\" $OpenBSD: column.in,v 1.10 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-COLUMN 1 +.Os +.Sh NAME +.Nm Bl-column +.Nd lists with multiple columns +.Sh DESCRIPTION +.Bl -column "a" +.It a +.El +.Bl -column "a" "b" +.It a Ta b +.El +.\" avoid "c" which means "cm" +.Bl -column "a" "b" "cc" +.It a Ta b Ta cc +.It a b cc +.It "a" b cc +.It "a b" cc +.It "a b cc" +.El +.Bl -column "a" "b" "cc" "d" +.It a Ta b Ta cc Ta d +.El +.Bl -column "a" "b" "cc" "d" "e" +.It a Ta b Ta cc Ta d Ta e +.El +.\" Probing up to the utter limits of groff. +.\" With more than 5 columns or more than 78 characters per line, +.\" groff .Bl -column turns completely mad. +.\" mandoc can do more, but it's no use testing that. +.Bd -literal +5 + 35 + 4 + 34 = 78: +.Ed +.Bl -column "x35xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" "x34xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" +.It x35xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Ta x34xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx +.It a Ta b +.El +.Bd -literal +5 + (22+4)*2 + 21 = 78: +.Ed +.Bl -column "x22xxxxxxxxxxxxxxxxxxx" "x22xxxxxxxxxxxxxxxxxxx" "x21xxxxxxxxxxxxxxxxxx" +.It x22xxxxxxxxxxxxxxxxxxx Ta x22xxxxxxxxxxxxxxxxxxx Ta x21xxxxxxxxxxxxxxxxxx +.It a Ta b Ta c +.El +.Bd -literal +5 + 16 + (4+15)*3 = 78: +.Ed +.Bl -column "x16xxxxxxxxxxxxx" "x15xxxxxxxxxxxx" "x15xxxxxxxxxxxx" "x15xxxxxxxxxxxx" +.It x16xxxxxxxxxxxxx Ta x15xxxxxxxxxxxx Ta x15xxxxxxxxxxxx Ta x15xxxxxxxxxxxx +.It a Ta b Ta c Ta d +.El +.Bd -literal +5 + 13 + (3+12)*4 = 78: +.Ed +.Bl -column "x13xxxxxxxxxx" "x12xxxxxxxxx" "x12xxxxxxxxx" "x12xxxxxxxxx" "x12xxxxxxxxx" +.It x13xxxxxxxxxx Ta x12xxxxxxxxx Ta x12xxxxxxxxx Ta x12xxxxxxxxx Ta x12xxxxxxxxx +.It a Ta b Ta c Ta d Ta e +.El +.\" Trailing white space in phrases. +.Bl -column "aaaa" "bbbb" +.It "a" Ta "b" +.It "a " Ta "b" +.It "a " Ta "b" +.It a b +.It a b +.It a b +.El +.\" Wrong number of columns. +.Bl -column "a" "b" +.It +.It "a" +.It "a" Ta "b" +.It +.It "a" Ta "b" Ta "c" +.It "a" Ta "b" Ta "c" Ta "d" +.It "a" Ta "b" Ta "c" Ta "d" Ta "e" +.It +.El +.\" Mixed tab and Ta +.Bl -column a b c d +.It a b c d +.It a b c Ta d +.It a b Ta c d +.It a b Ta c Ta d +.It a Ta b c d +.It a Ta b c Ta d +.It a Ta b Ta c d +.It a Ta b Ta c Ta d +.El +.\" Macros before and after tabs +.Bl -column "aa" "OpenBSD OpenBSD OpenBSD" +.It aa Ta Ox Ox Ox Ta tab-tab +.It aa Ta Ox Ox Ox tab-ta +.It aa Ox Ox Ox Ta ta-tab +.It aa Ox Ox Ox ta-ta +.It aa Ox Ox Ox ta-bl/ta +.It aa Ox Ox Ox ta/bl-ta +.It aa Ox Ox Ox ta/bl-bl/ta +.It aa Ta bb Ta +ta at eol +.It aa bb +tab at eol +.El +.\" Interrupted column list +.Bl -column "aa" -width 6n -compact "bb" "cc" +.It aa Ta bb Ta cc Ta dd +.El diff --git a/contrib/mandoc/regress/mdoc/Bl/column.out_ascii b/contrib/mandoc/regress/mdoc/Bl/column.out_ascii new file mode 100644 index 00000000000..732cf2d94e1 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/column.out_ascii @@ -0,0 +1,74 @@ +BL-COLUMN(1) General Commands Manual BL-COLUMN(1) + +NNAAMMEE + BBll--ccoolluummnn - lists with multiple columns + +DDEESSCCRRIIPPTTIIOONN + a + + a b + + a b cc + a b cc + a b cc + a b cc + a b cc + + a b cc d + + a b cc d e + + 5 + 35 + 4 + 34 = 78: + + x35xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x34xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx + a b + + 5 + (22+4)*2 + 21 = 78: + + x22xxxxxxxxxxxxxxxxxxx x22xxxxxxxxxxxxxxxxxxx x21xxxxxxxxxxxxxxxxxx + a b c + + 5 + 16 + (4+15)*3 = 78: + + x16xxxxxxxxxxxxx x15xxxxxxxxxxxx x15xxxxxxxxxxxx x15xxxxxxxxxxxx + a b c d + + 5 + 13 + (3+12)*4 = 78: + + x13xxxxxxxxxx x12xxxxxxxxx x12xxxxxxxxx x12xxxxxxxxx x12xxxxxxxxx + a b c d e + + a b + a b + a b + a b + a b + a b + + a + a b + a b c + a b cd + a b cde + + a b c d + a b c d + a b c d + a b c d + a b c d + a b c d + a b c d + a b c d + + aa OpenBSD OpenBSD OpenBSD tab-tab + aa OpenBSD OpenBSD Ox tab-ta + aa Ox OpenBSD OpenBSD ta-tab + aa Ox OpenBSD Ox ta-ta + aa Ox OpenBSD OpenBSD ta-bl/ta + aa OpenBSD OpenBSD Ox ta/bl-ta + aa OpenBSD OpenBSD OpenBSD ta/bl-bl/ta + aa bb ta at eol + aa bb tab at eol + aa bb cc dd + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/column.out_lint b/contrib/mandoc/regress/mdoc/Bl/column.out_lint new file mode 100644 index 00000000000..4d64846ea28 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/column.out_lint @@ -0,0 +1,7 @@ +mandoc: column.in:72:2: WARNING: skipping empty macro: It +mandoc: column.in:73:2: WARNING: wrong number of cells: 2 columns, 1 cells +mandoc: column.in:75:2: WARNING: skipping empty macro: It +mandoc: column.in:77:2: WARNING: wrong number of cells: 2 columns, 4 cells +mandoc: column.in:78:2: WARNING: wrong number of cells: 2 columns, 5 cells +mandoc: column.in:79:2: WARNING: skipping empty macro: It +mandoc: column.in:107:18: WARNING: skipping -width argument: Bl -column diff --git a/contrib/mandoc/regress/mdoc/Bl/column.out_markdown b/contrib/mandoc/regress/mdoc/Bl/column.out_markdown new file mode 100644 index 00000000000..6e3e27b2b35 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/column.out_markdown @@ -0,0 +1,78 @@ +BL-COLUMN(1) - General Commands Manual + +# NAME + +**Bl-column** - lists with multiple columns + +# DESCRIPTION + + a + + a b + + a b cc + a b cc + a b cc + a b cc + a b cc + + a b cc d + + a b cc d e + + 5 + 35 + 4 + 34 = 78: + + x35xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x34xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx + a b + + 5 + (22+4)*2 + 21 = 78: + + x22xxxxxxxxxxxxxxxxxxx x22xxxxxxxxxxxxxxxxxxx x21xxxxxxxxxxxxxxxxxx + a b c + + 5 + 16 + (4+15)*3 = 78: + + x16xxxxxxxxxxxxx x15xxxxxxxxxxxx x15xxxxxxxxxxxx x15xxxxxxxxxxxx + a b c d + + 5 + 13 + (3+12)*4 = 78: + + x13xxxxxxxxxx x12xxxxxxxxx x12xxxxxxxxx x12xxxxxxxxx x12xxxxxxxxx + a b c d e + + a b + a b + a b + a b + a b + a b + + a + a b + a b c + a b c d + a b c d e + + a b c d + a b c d + a b c d + a b c d + a b c d + a b c d + a b c d + a b c d + + aa OpenBSD OpenBSD OpenBSD tab-tab + aa OpenBSD OpenBSD Ox tab-ta + aa Ox OpenBSD OpenBSD ta-tab + aa Ox OpenBSD Ox ta-ta + aa Ox OpenBSD OpenBSD ta-bl/ta + aa OpenBSD OpenBSD Ox ta/bl-ta + aa OpenBSD OpenBSD OpenBSD ta/bl-bl/ta + aa bb ta at eol + aa bb + tab at eol + + aa bb cc dd + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/column_nogroff.in b/contrib/mandoc/regress/mdoc/Bl/column_nogroff.in new file mode 100644 index 00000000000..68b1c6fcf0f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/column_nogroff.in @@ -0,0 +1,20 @@ +.\" $OpenBSD: column_nogroff.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-COLUMN_NOGROFF 1 +.Os +.Sh NAME +.Nm Bl-column_nogroff +.Nd column lists mishandled by groff +.Sh DESCRIPTION +Item macro without arguments: +.Bl -column "first column" "second column" +.It +text +.No macro Ta after tab +.El +.Pp +Tab macro at the beginning of a line: +.Bl -column "aa" "bb" +.It aa +.Ta bb +.El diff --git a/contrib/mandoc/regress/mdoc/Bl/column_nogroff.out_ascii b/contrib/mandoc/regress/mdoc/Bl/column_nogroff.out_ascii new file mode 100644 index 00000000000..b8a066707d7 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/column_nogroff.out_ascii @@ -0,0 +1,15 @@ +BL-COLUMN_NOGROFF(1) General Commands Manual BL-COLUMN_NOGROFF(1) + +NNAAMMEE + BBll--ccoolluummnn__nnooggrrooffff - column lists mishandled by groff + +DDEESSCCRRIIPPTTIIOONN + Item macro without arguments: + + text macro after tab + + Tab macro at the beginning of a line: + + aa bb + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/column_nogroff.out_lint b/contrib/mandoc/regress/mdoc/Bl/column_nogroff.out_lint new file mode 100644 index 00000000000..8e712ca5733 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/column_nogroff.out_lint @@ -0,0 +1,2 @@ +mandoc: column_nogroff.in:11:2: WARNING: missing argument, using next line: Bl -column It +mandoc: column_nogroff.in:19:2: WARNING: first macro on line: Ta diff --git a/contrib/mandoc/regress/mdoc/Bl/column_nogroff.out_markdown b/contrib/mandoc/regress/mdoc/Bl/column_nogroff.out_markdown new file mode 100644 index 00000000000..5eef5551c98 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/column_nogroff.out_markdown @@ -0,0 +1,18 @@ +BL-COLUMN\_NOGROFF(1) - General Commands Manual + +# NAME + +**Bl-column\_nogroff** - column lists mishandled by groff + +# DESCRIPTION + +Item macro without arguments: + + text + macro after tab + +Tab macro at the beginning of a line: + + aa bb + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/dash.in b/contrib/mandoc/regress/mdoc/Bl/dash.in new file mode 100644 index 00000000000..b89179ae307 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/dash.in @@ -0,0 +1,82 @@ +.\" $OpenBSD: dash.in,v 1.4 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-DASH 1 +.Os +.Sh NAME +.Nm Bl-dash +.Nd dash and hyphen lists +.Sh DESCRIPTION +.Bl -dash -width -4n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -dash -width -3n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -dash -width -2n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -dash -width -1n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -dash -width 0n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -hyphen -width 1n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -dash -width 2n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -dash -width 3n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -hyphen -width 4n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -hyphen -width 5n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -dash -width 6n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -dash -width 7n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -dash -compact +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El diff --git a/contrib/mandoc/regress/mdoc/Bl/dash.out_ascii b/contrib/mandoc/regress/mdoc/Bl/dash.out_ascii new file mode 100644 index 00000000000..e6c48b91789 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/dash.out_ascii @@ -0,0 +1,67 @@ +BL-DASH(1) General Commands Manual BL-DASH(1) + +NNAAMMEE + BBll--ddaasshh - dash and hyphen lists + +DDEESSCCRRIIPPTTIIOONN + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x + + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x + + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x + + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x + + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x + + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x + + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x + + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/dash.out_markdown b/contrib/mandoc/regress/mdoc/Bl/dash.out_markdown new file mode 100644 index 00000000000..25300274873 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/dash.out_markdown @@ -0,0 +1,46 @@ +BL-DASH(1) - General Commands Manual + +# NAME + +**Bl-dash** - dash and hyphen lists + +# DESCRIPTION + +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/dash.out_utf8 b/contrib/mandoc/regress/mdoc/Bl/dash.out_utf8 new file mode 100644 index 00000000000..0ba3ba9ce1f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/dash.out_utf8 @@ -0,0 +1,67 @@ +BL-DASH(1) General Commands Manual BL-DASH(1) + +NNAAMMEE + BBll--ddaasshh – dash and hyphen lists + +DDEESSCCRRIIPPTTIIOONN + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x + + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x + + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x + + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x + + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x + + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x + + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x + + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + -- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/diag.in b/contrib/mandoc/regress/mdoc/Bl/diag.in new file mode 100644 index 00000000000..d8ecc0752ec --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/diag.in @@ -0,0 +1,56 @@ +.\" $OpenBSD: diag.in,v 1.7 2017/07/16 17:53:29 schwarze Exp $ +.Dd $Mdocdate: July 16 2017 $ +.Dt BL-DIAG 1 +.Os +.Sh NAME +.Nm Bl-diag +.Nd section 4 diagnostic lists +.Sh DESCRIPTION +.Bl -diag +.It tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -diag +.It four +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -diag +.It quint +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -diag +.It indent +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -diag +.It septime +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -diag +.It achtacht +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -diag +.It neun_neun +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -diag +.It zehn__zehn +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -diag -width 10n +.It This is a very long text contained in the diag item head, it is \ +so long that it overruns the line - +and here comes the item body, +which is also long enough to break the line again. +.El +.Pp +Check that It is not parsed in Bl: +.Bl -diag -compact +.It Nx +.No Nx +.It Ox +.No Ox +.It Fx +.No Fx +.El diff --git a/contrib/mandoc/regress/mdoc/Bl/diag.out_ascii b/contrib/mandoc/regress/mdoc/Bl/diag.out_ascii new file mode 100644 index 00000000000..f4cfb77797b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/diag.out_ascii @@ -0,0 +1,40 @@ +BL-DIAG(1) General Commands Manual BL-DIAG(1) + +NNAAMMEE + BBll--ddiiaagg - section 4 diagnostic lists + +DDEESSCCRRIIPPTTIIOONN + ttaagg x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + + ffoouurr x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + + qquuiinntt x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x + + iinnddeenntt x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x + + sseeppttiimmee x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x + + aacchhttaacchhtt x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x + + nneeuunn__nneeuunn x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x + + zzeehhnn____zzeehhnn x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x + + TThhiiss iiss aa vveerryy lloonngg tteexxtt ccoonnttaaiinneedd iinn tthhee ddiiaagg iitteemm hheeaadd,, iitt iiss ssoo lloonngg + tthhaatt iitt oovveerrrruunnss tthhee lliinnee -- and here comes the item body, which is also + long enough to break the line again. + + Check that It is not parsed in Bl: + NNxx NetBSD + OOxx OpenBSD + FFxx FreeBSD + +OpenBSD July 16, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/diag.out_lint b/contrib/mandoc/regress/mdoc/Bl/diag.out_lint new file mode 100644 index 00000000000..2c8c24e20c1 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/diag.out_lint @@ -0,0 +1,4 @@ +mandoc: diag.in:51:2: WARNING: skipping empty macro: No +mandoc: diag.in:53:2: WARNING: skipping empty macro: No +mandoc: diag.in:55:2: WARNING: skipping empty macro: No +mandoc: diag.in:41:11: WARNING: skipping -width argument: Bl -diag diff --git a/contrib/mandoc/regress/mdoc/Bl/diag.out_markdown b/contrib/mandoc/regress/mdoc/Bl/diag.out_markdown new file mode 100644 index 00000000000..aa8e780ac92 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/diag.out_markdown @@ -0,0 +1,46 @@ +BL-DIAG(1) - General Commands Manual + +# NAME + +**Bl-diag** - section 4 diagnostic lists + +# DESCRIPTION + +tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +four +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +quint +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +indent +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +septime +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +achtacht +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +neun\_neun +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +zehn\_\_zehn +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +This is a very long text contained in the diag item head, it is so long that it overruns the line - +and here comes the item body, +which is also long enough to break the line again. + +Check that It is not parsed in Bl: + +Nx +NetBSD +Ox +OpenBSD +Fx +FreeBSD + +OpenBSD - July 16, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/empty.in b/contrib/mandoc/regress/mdoc/Bl/empty.in new file mode 100644 index 00000000000..70c9229e315 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/empty.in @@ -0,0 +1,42 @@ +.\" $OpenBSD: empty.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-EMPTY 1 +.Os +.Sh NAME +.Nm Bl-empty +.Nd empty lists +.Sh DESCRIPTION +bullet list: +.Bl -bullet +.El +column list: +.Bl -column one two +.El +dash list: +.Bl -dash +.El +diag list: +.Bl -diag +.El +enum list: +.Bl -enum +.El +hang list: +.Bl -hang +.El +hyphen list: +.Bl -hyphen +.El +inset list: +.Bl -inset +.El +item list: +.Bl -item +.El +ohang list: +.Bl -ohang +.El +tag list: +.Bl -tag -width Ds +.El +end of test document diff --git a/contrib/mandoc/regress/mdoc/Bl/empty.out_ascii b/contrib/mandoc/regress/mdoc/Bl/empty.out_ascii new file mode 100644 index 00000000000..a5b61c0dcd0 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/empty.out_ascii @@ -0,0 +1,20 @@ +BL-EMPTY(1) General Commands Manual BL-EMPTY(1) + +NNAAMMEE + BBll--eemmppttyy - empty lists + +DDEESSCCRRIIPPTTIIOONN + bullet list: + column list: + dash list: + diag list: + enum list: + hang list: + hyphen list: + inset list: + item list: + ohang list: + tag list: + end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/empty.out_lint b/contrib/mandoc/regress/mdoc/Bl/empty.out_lint new file mode 100644 index 00000000000..8c354787da6 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/empty.out_lint @@ -0,0 +1,11 @@ +mandoc: empty.in:10:2: WARNING: empty block: Bl +mandoc: empty.in:13:2: WARNING: empty block: Bl +mandoc: empty.in:16:2: WARNING: empty block: Bl +mandoc: empty.in:19:2: WARNING: empty block: Bl +mandoc: empty.in:22:2: WARNING: empty block: Bl +mandoc: empty.in:25:2: WARNING: empty block: Bl +mandoc: empty.in:28:2: WARNING: empty block: Bl +mandoc: empty.in:31:2: WARNING: empty block: Bl +mandoc: empty.in:34:2: WARNING: empty block: Bl +mandoc: empty.in:37:2: WARNING: empty block: Bl +mandoc: empty.in:40:2: WARNING: empty block: Bl diff --git a/contrib/mandoc/regress/mdoc/Bl/empty.out_markdown b/contrib/mandoc/regress/mdoc/Bl/empty.out_markdown new file mode 100644 index 00000000000..59f6f38ca66 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/empty.out_markdown @@ -0,0 +1,33 @@ +BL-EMPTY(1) - General Commands Manual + +# NAME + +**Bl-empty** - empty lists + +# DESCRIPTION + +bullet list: + +column list: + +dash list: + +diag list: + +enum list: + +hang list: + +hyphen list: + +inset list: + +item list: + +ohang list: + +tag list: + +end of test document + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/emptyhead.in b/contrib/mandoc/regress/mdoc/Bl/emptyhead.in new file mode 100644 index 00000000000..39711f82f94 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/emptyhead.in @@ -0,0 +1,44 @@ +.\" $OpenBSD: emptyhead.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-EMPTYHEAD 1 +.Os +.Sh NAME +.Nm Bl-emptyhead +.Nd lists with empty item heads +.Sh DESCRIPTION +hang list: +.Bl -hang -width 6n +.It tag +text +.It +no tag before this text +.It tag +text +.El +ohang list: +.Bl -ohang +.It tag +text +.It +no tag before this text +.It tag +text +.El +inset list: +.Bl -inset +.It tag +text +.It +no tag before this text +.It tag +text +.El +diag list: +.Bl -diag +.It tag +text +.It +no tag before this text +.It tag +text +.El diff --git a/contrib/mandoc/regress/mdoc/Bl/emptyhead.out_ascii b/contrib/mandoc/regress/mdoc/Bl/emptyhead.out_ascii new file mode 100644 index 00000000000..d5040e1c231 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/emptyhead.out_ascii @@ -0,0 +1,38 @@ +BL-EMPTYHEAD(1) General Commands Manual BL-EMPTYHEAD(1) + +NNAAMMEE + BBll--eemmppttyyhheeaadd - lists with empty item heads + +DDEESSCCRRIIPPTTIIOONN + hang list: + + tag text + + no tag before this text + + tag text + ohang list: + + tag + text + + no tag before this text + + tag + text + inset list: + + tag text + + no tag before this text + + tag text + diag list: + + ttaagg text + + no tag before this text + + ttaagg text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/emptyhead.out_lint b/contrib/mandoc/regress/mdoc/Bl/emptyhead.out_lint new file mode 100644 index 00000000000..3a7cdbe1235 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/emptyhead.out_lint @@ -0,0 +1,4 @@ +mandoc: emptyhead.in:13:2: WARNING: empty head in list item: Bl -hang It +mandoc: emptyhead.in:22:2: WARNING: empty head in list item: Bl -ohang It +mandoc: emptyhead.in:31:2: WARNING: empty head in list item: Bl -inset It +mandoc: emptyhead.in:40:2: WARNING: empty head in list item: Bl -diag It diff --git a/contrib/mandoc/regress/mdoc/Bl/emptyhead.out_markdown b/contrib/mandoc/regress/mdoc/Bl/emptyhead.out_markdown new file mode 100644 index 00000000000..1d91fa024e9 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/emptyhead.out_markdown @@ -0,0 +1,51 @@ +BL-EMPTYHEAD(1) - General Commands Manual + +# NAME + +**Bl-emptyhead** - lists with empty item heads + +# DESCRIPTION + +hang list: + +tag + +> text + +> no tag before this text + +tag + +> text + +ohang list: + +tag +text + +no tag before this text + +tag +text + +inset list: + +tag +text + +no tag before this text + +tag +text + +diag list: + +tag +text + +no tag before this text + +tag +text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/emptyitem.in b/contrib/mandoc/regress/mdoc/Bl/emptyitem.in new file mode 100644 index 00000000000..dd7f13c1d03 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/emptyitem.in @@ -0,0 +1,40 @@ +.\" $OpenBSD: emptyitem.in,v 1.4 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-EMPTYITEM 1 +.Os +.Sh NAME +.Nm Bl-emptyitem +.Nd lists with fixed heads and empty items +.Sh DESCRIPTION +bullet list: +.Bl -bullet +.It head argument +one +.It +.It +three +.El +dash list: +.Bl -dash +.It +one +.It head argument +.It +three +.El +enum list: +.Bl -enum +.It +one +.It +.It head argument +three +.El +hyphen list: +.Bl -hyphen +.It Sy head argument +one +.It +.It +three +.El diff --git a/contrib/mandoc/regress/mdoc/Bl/emptyitem.out_ascii b/contrib/mandoc/regress/mdoc/Bl/emptyitem.out_ascii new file mode 100644 index 00000000000..4eabb42032f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/emptyitem.out_ascii @@ -0,0 +1,36 @@ +BL-EMPTYITEM(1) General Commands Manual BL-EMPTYITEM(1) + +NNAAMMEE + BBll--eemmppttyyiitteemm - lists with fixed heads and empty items + +DDEESSCCRRIIPPTTIIOONN + bullet list: + + ++oo one + + ++oo + + ++oo three + dash list: + + -- one + + -- + + -- three + enum list: + + 1. one + + 2. + + 3. three + hyphen list: + + -- one + + -- + + -- three + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/emptyitem.out_lint b/contrib/mandoc/regress/mdoc/Bl/emptyitem.out_lint new file mode 100644 index 00000000000..6be18364365 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/emptyitem.out_lint @@ -0,0 +1,8 @@ +mandoc: emptyitem.in:11:2: ERROR: skipping all arguments: It head argument +mandoc: emptyitem.in:13:2: WARNING: empty list item: Bl -bullet It +mandoc: emptyitem.in:21:2: WARNING: empty list item: Bl -dash It +mandoc: emptyitem.in:21:2: ERROR: skipping all arguments: It head argument +mandoc: emptyitem.in:29:2: WARNING: empty list item: Bl -enum It +mandoc: emptyitem.in:30:2: ERROR: skipping all arguments: It head argument +mandoc: emptyitem.in:35:2: ERROR: skipping all arguments: It Sy +mandoc: emptyitem.in:37:2: WARNING: empty list item: Bl -hyphen It diff --git a/contrib/mandoc/regress/mdoc/Bl/emptyitem.out_markdown b/contrib/mandoc/regress/mdoc/Bl/emptyitem.out_markdown new file mode 100644 index 00000000000..e980dc5f33a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/emptyitem.out_markdown @@ -0,0 +1,41 @@ +BL-EMPTYITEM(1) - General Commands Manual + +# NAME + +**Bl-emptyitem** - lists with fixed heads and empty items + +# DESCRIPTION + +bullet list: + +* one + +* + +* three + +dash list: + +- one + +- + +- three + +enum list: + +1. one + +2. + +3. three + +hyphen list: + +- one + +- + +- three + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/emptytag.in b/contrib/mandoc/regress/mdoc/Bl/emptytag.in new file mode 100644 index 00000000000..c1d7ed458f8 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/emptytag.in @@ -0,0 +1,18 @@ +.\" $OpenBSD: emptytag.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-EMPTYTAG 1 +.Os +.Sh NAME +.Nm Bl-emptytag +.Nd tag lists with empty item heads +.Sh DESCRIPTION +initial text +.Bl -tag -width 6n +.It tag +text +.It +no tag before this text +.It tag +text +.El +final text diff --git a/contrib/mandoc/regress/mdoc/Bl/emptytag.out_ascii b/contrib/mandoc/regress/mdoc/Bl/emptytag.out_ascii new file mode 100644 index 00000000000..2c2f49170e7 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/emptytag.out_ascii @@ -0,0 +1,16 @@ +BL-EMPTYTAG(1) General Commands Manual BL-EMPTYTAG(1) + +NNAAMMEE + BBll--eemmppttyyttaagg - tag lists with empty item heads + +DDEESSCCRRIIPPTTIIOONN + initial text + + tag text + + no tag before this text + + tag text + final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/emptytag.out_lint b/contrib/mandoc/regress/mdoc/Bl/emptytag.out_lint new file mode 100644 index 00000000000..663f54172e1 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/emptytag.out_lint @@ -0,0 +1 @@ +mandoc: emptytag.in:13:2: WARNING: empty head in list item: Bl -tag It diff --git a/contrib/mandoc/regress/mdoc/Bl/emptytag.out_markdown b/contrib/mandoc/regress/mdoc/Bl/emptytag.out_markdown new file mode 100644 index 00000000000..84a94d22c50 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/emptytag.out_markdown @@ -0,0 +1,23 @@ +BL-EMPTYTAG(1) - General Commands Manual + +# NAME + +**Bl-emptytag** - tag lists with empty item heads + +# DESCRIPTION + +initial text + +tag + +> text + +> no tag before this text + +tag + +> text + +final text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/enum.in b/contrib/mandoc/regress/mdoc/Bl/enum.in new file mode 100644 index 00000000000..9151d51c86e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/enum.in @@ -0,0 +1,82 @@ +.\" $OpenBSD: enum.in,v 1.4 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-ENUM 1 +.Os +.Sh NAME +.Nm Bl-enum +.Nd enumerated lists +.Sh DESCRIPTION +.Bl -enum -width -4n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -enum -width -3n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -enum -width -2n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -enum -width -1n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -enum -width 0n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -enum -width 1n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -enum -width 2n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -enum -width 3n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -enum -width 4n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -enum -width 5n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -enum -width 6n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -enum -width 7n +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -enum -compact +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.It +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El diff --git a/contrib/mandoc/regress/mdoc/Bl/enum.out_ascii b/contrib/mandoc/regress/mdoc/Bl/enum.out_ascii new file mode 100644 index 00000000000..bdf45cccf0f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/enum.out_ascii @@ -0,0 +1,67 @@ +BL-ENUM(1) General Commands Manual BL-ENUM(1) + +NNAAMMEE + BBll--eennuumm - enumerated lists + +DDEESSCCRRIIPPTTIIOONN + 1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + + 1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + + 1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + + 1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + + 1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + + 1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + + 1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + + 1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + + 1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + + 1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x + + 1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x + + 1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x + 1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + 2. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + 3. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + 4. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + 5. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + 6. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + 7. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + 8. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + 9. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + 10. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + 11. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + 12. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/enum.out_markdown b/contrib/mandoc/regress/mdoc/Bl/enum.out_markdown new file mode 100644 index 00000000000..eb2180e3834 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/enum.out_markdown @@ -0,0 +1,46 @@ +BL-ENUM(1) - General Commands Manual + +# NAME + +**Bl-enum** - enumerated lists + +# DESCRIPTION + +1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +2. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +3. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +4. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +5. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +6. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +7. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +8. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +9. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +10. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +11. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +12. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/extend.in b/contrib/mandoc/regress/mdoc/Bl/extend.in new file mode 100644 index 00000000000..5f3eba7b243 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/extend.in @@ -0,0 +1,32 @@ +.\" $OpenBSD: extend.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-EXTEND 1 +.Os +.Sh NAME +.Nm Bl-extend +.Nd extending block headers +.Sh DESCRIPTION +.\" explicit quoting does not require macro lines per se +.Ao +plain quoted text +.Ac +.Bl -tag -width Ds +.It normal tag +normal text +.\" when extending It headers, plain text lines fall back +.\" into the previous It body; so macro lines are required +.It Ao +.No extended tag +.Ac +extended text +.It prefix Ao +.No prefixed tag +.Ac +prefixed text +.\" postfix after closing macro does not work in old groff +.\" the whole It header gets lost +.\" .It prefix Ao +.\" .No braced tag +.\" .Ac postfix +.\" braced text +.El diff --git a/contrib/mandoc/regress/mdoc/Bl/extend.out_ascii b/contrib/mandoc/regress/mdoc/Bl/extend.out_ascii new file mode 100644 index 00000000000..2063ebedc46 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/extend.out_ascii @@ -0,0 +1,18 @@ +BL-EXTEND(1) General Commands Manual BL-EXTEND(1) + +NNAAMMEE + BBll--eexxtteenndd - extending block headers + +DDEESSCCRRIIPPTTIIOONN + + + normal tag + normal text + + + extended text + + prefix + prefixed text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/extend.out_markdown b/contrib/mandoc/regress/mdoc/Bl/extend.out_markdown new file mode 100644 index 00000000000..4714a9ae1a7 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/extend.out_markdown @@ -0,0 +1,23 @@ +BL-EXTEND(1) - General Commands Manual + +# NAME + +**Bl-extend** - extending block headers + +# DESCRIPTION + +<plain quoted text> + +normal tag + +> normal text + +<extended tag> + +> extended text + +prefix <prefixed tag> + +> prefixed text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/hang.in b/contrib/mandoc/regress/mdoc/Bl/hang.in new file mode 100644 index 00000000000..b7e3ead58f6 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/hang.in @@ -0,0 +1,112 @@ +.\" $OpenBSD: hang.in,v 1.8 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-HANG 1 +.Os +.Sh NAME +.Nm Bl-hang +.Nd hanged lists +.Sh DESCRIPTION +.Bl -hang -width -4n +.It tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -hang -width -3n +.It tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -hang -width -2n +.It tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -hang -width -1n +.It tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -hang -width 0n +.It tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -hang -width 1n +.It tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -hang -width 2n +.It tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -hang -width 3n +.It tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -hang -width 4n +.It tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -hang -width 5n +.It tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -hang -width 5n +.It four +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -hang -width 5n +.It quint +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -hang -width 5n +.It indent +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -hang -width 5n +.It septime +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -hang -width 5n +.It achtacht +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -hang -width 5n +.It neun_neun +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -hang -width 5n +.It zehn__zehn +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -hang -width 5n +.It This is a very long text contained in the hanged item head, it is \ +so long that it overruns the line - +and here comes the item body. +.El +Compact hanged list: +.Bl -hang -width 6n -compact +.It one +first line +.It second +second line +.It third_tag +last line +.El +Hanged list without a width: +.Bl -hang +.It tag +text +.El diff --git a/contrib/mandoc/regress/mdoc/Bl/hang.out_ascii b/contrib/mandoc/regress/mdoc/Bl/hang.out_ascii new file mode 100644 index 00000000000..e404e081aa1 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/hang.out_ascii @@ -0,0 +1,85 @@ +BL-HANG(1) General Commands Manual BL-HANG(1) + +NNAAMMEE + BBll--hhaanngg - hanged lists + +DDEESSCCRRIIPPTTIIOONN + tag x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x + + tag x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x + + tag x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x + + tag x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x + + tag x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x + + tag x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x + + tag x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x + + tag x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x + + tag x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x + + tag x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x + + four x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x + + quint x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x + + indent x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x + + septime x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x + + achtacht x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x x + + neun_neun x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x x + + zehn__zehn x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x x x x x x x x + + This is a very long text contained in the hanged item head, it is so long + that it overruns the line - and here comes the item body. + Compact hanged list: + one first line + second second line + third_tag last line + Hanged list without a width: + + tag text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/hang.out_markdown b/contrib/mandoc/regress/mdoc/Bl/hang.out_markdown new file mode 100644 index 00000000000..16683cc1c79 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/hang.out_markdown @@ -0,0 +1,118 @@ +BL-HANG(1) - General Commands Manual + +# NAME + +**Bl-hang** - hanged lists + +# DESCRIPTION + +tag + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +tag + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +tag + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +tag + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +tag + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +tag + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +tag + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +tag + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +tag + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +tag + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +four + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +quint + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +indent + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +septime + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +achtacht + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +neun\_neun + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +zehn\_\_zehn + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +This is a very long text contained in the hanged item head, it is so long that it overruns the line - + +> and here comes the item body. + +Compact hanged list: + +one + +> first line + +second + +> second line + +third\_tag + +> last line + +Hanged list without a width: + +tag + +> text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/inset.in b/contrib/mandoc/regress/mdoc/Bl/inset.in new file mode 100644 index 00000000000..122e531bb7c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/inset.in @@ -0,0 +1,49 @@ +.\" $OpenBSD: inset.in,v 1.6 2017/07/16 17:53:29 schwarze Exp $ +.Dd $Mdocdate: July 16 2017 $ +.Dt BL-INSET 1 +.Os +.Sh NAME +.Nm Bl-inset +.Nd inset list labels +.Sh DESCRIPTION +.Bl -inset +.It tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -inset +.It four +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -inset +.It quint +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -inset +.It indent +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -inset +.It septime +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -inset +.It achtacht +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -inset +.It neun_neun +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -inset +.It zehn__zehn +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.\" Trailing white space in the head. +.Bl -inset -width 10n +.It "a" +b +.It "a " +b +.It "a " +b +.El diff --git a/contrib/mandoc/regress/mdoc/Bl/inset.out_ascii b/contrib/mandoc/regress/mdoc/Bl/inset.out_ascii new file mode 100644 index 00000000000..509747cbe77 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/inset.out_ascii @@ -0,0 +1,37 @@ +BL-INSET(1) General Commands Manual BL-INSET(1) + +NNAAMMEE + BBll--iinnsseett - inset list labels + +DDEESSCCRRIIPPTTIIOONN + tag x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + + four x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + + quint x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + + indent x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x + + septime x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x + + achtacht x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x + + neun_neun x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x + + zehn__zehn x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x x x + + a b + + a b + + a b + +OpenBSD July 16, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/inset.out_lint b/contrib/mandoc/regress/mdoc/Bl/inset.out_lint new file mode 100644 index 00000000000..32b4aafd0fe --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/inset.out_lint @@ -0,0 +1 @@ +mandoc: inset.in:42:12: WARNING: skipping -width argument: Bl -inset diff --git a/contrib/mandoc/regress/mdoc/Bl/inset.out_markdown b/contrib/mandoc/regress/mdoc/Bl/inset.out_markdown new file mode 100644 index 00000000000..da973141807 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/inset.out_markdown @@ -0,0 +1,42 @@ +BL-INSET(1) - General Commands Manual + +# NAME + +**Bl-inset** - inset list labels + +# DESCRIPTION + +tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +four +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +quint +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +indent +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +septime +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +achtacht +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +neun\_neun +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +zehn\_\_zehn +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +a +b + +a ‌ +b + +a ‌ +b + +OpenBSD - July 16, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/item.in b/contrib/mandoc/regress/mdoc/Bl/item.in new file mode 100644 index 00000000000..8f7fd743fba --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/item.in @@ -0,0 +1,24 @@ +.\" $OpenBSD: item.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-ITEM 1 +.Os +.Sh NAME +.Nm Bl-item +.Nd itemized lists +.Sh DESCRIPTION +.Bl -item +.It +first line +.It ignore +second line +.It +third line +.El +.Bl -item -compact +.It +first line +.It ignore +second line +.It +third line +.El diff --git a/contrib/mandoc/regress/mdoc/Bl/item.out_ascii b/contrib/mandoc/regress/mdoc/Bl/item.out_ascii new file mode 100644 index 00000000000..fb742e598a6 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/item.out_ascii @@ -0,0 +1,16 @@ +BL-ITEM(1) General Commands Manual BL-ITEM(1) + +NNAAMMEE + BBll--iitteemm - itemized lists + +DDEESSCCRRIIPPTTIIOONN + first line + + second line + + third line + first line + second line + third line + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/item.out_markdown b/contrib/mandoc/regress/mdoc/Bl/item.out_markdown new file mode 100644 index 00000000000..2148d0662ec --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/item.out_markdown @@ -0,0 +1,19 @@ +BL-ITEM(1) - General Commands Manual + +# NAME + +**Bl-item** - itemized lists + +# DESCRIPTION + +first line + +second line + +third line + +first line +second line +third line + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/multitag.in b/contrib/mandoc/regress/mdoc/Bl/multitag.in new file mode 100644 index 00000000000..0e6af286ffc --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/multitag.in @@ -0,0 +1,48 @@ +.\" $OpenBSD: multitag.in,v 1.4 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-MULTITAG 1 +.Os +.Sh NAME +.Nm Bl-multitag +.Nd lists with multiple successive tags +.Sh DESCRIPTION +inset: +.Bl -inset +.It first +.It second +.It third +some text +.It fourth +.It fifth +more text +.El +tag: +.Bl -tag -width Ds +.It first +.It second +.It third +some text +.It fourth +.It fifth +more text +.El +inset compact: +.Bl -inset -compact +.It first +.It second +.It third +some text +.It fourth +.It fifth +more text +.El +tag compact: +.Bl -tag -width Ds -compact +.It first +.It second +.It third +some text +.It fourth +.It fifth +more text +.El diff --git a/contrib/mandoc/regress/mdoc/Bl/multitag.out_ascii b/contrib/mandoc/regress/mdoc/Bl/multitag.out_ascii new file mode 100644 index 00000000000..a2b07658974 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/multitag.out_ascii @@ -0,0 +1,42 @@ +BL-MULTITAG(1) General Commands Manual BL-MULTITAG(1) + +NNAAMMEE + BBll--mmuullttiittaagg - lists with multiple successive tags + +DDEESSCCRRIIPPTTIIOONN + inset: + + first + + second + + third some text + + fourth + + fifth more text + tag: + + first + + second + + third some text + + fourth + + fifth more text + inset compact: + first + second + third some text + fourth + fifth more text + tag compact: + first + second + third some text + fourth + fifth more text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/multitag.out_markdown b/contrib/mandoc/regress/mdoc/Bl/multitag.out_markdown new file mode 100644 index 00000000000..20029055b39 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/multitag.out_markdown @@ -0,0 +1,65 @@ +BL-MULTITAG(1) - General Commands Manual + +# NAME + +**Bl-multitag** - lists with multiple successive tags + +# DESCRIPTION + +inset: + +first + +second + +third +some text + +fourth + +fifth +more text + +tag: + +first + +second + +third + +> some text + +fourth + +fifth + +> more text + +inset compact: + +first +second +third +some text +fourth +fifth +more text + +tag compact: + +first + +second + +third + +> some text + +fourth + +fifth + +> more text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/multitype.in b/contrib/mandoc/regress/mdoc/Bl/multitype.in new file mode 100644 index 00000000000..833683bf822 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/multitype.in @@ -0,0 +1,12 @@ +.\" $OpenBSD: multitype.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-MULTITYPE 1 +.Os +.Sh NAME +.Nm Bl-multitype +.Nd list with multiple types +.Sh DESCRIPTION +.Bl -dash -bullet -offset indent +.It +Some text. +.El diff --git a/contrib/mandoc/regress/mdoc/Bl/multitype.out_ascii b/contrib/mandoc/regress/mdoc/Bl/multitype.out_ascii new file mode 100644 index 00000000000..57d3123271f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/multitype.out_ascii @@ -0,0 +1,9 @@ +BL-MULTITYPE(1) General Commands Manual BL-MULTITYPE(1) + +NNAAMMEE + BBll--mmuullttiittyyppee - list with multiple types + +DDEESSCCRRIIPPTTIIOONN + -- Some text. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/multitype.out_markdown b/contrib/mandoc/regress/mdoc/Bl/multitype.out_markdown new file mode 100644 index 00000000000..53422be9edd --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/multitype.out_markdown @@ -0,0 +1,11 @@ +BL-MULTITYPE(1) - General Commands Manual + +# NAME + +**Bl-multitype** - list with multiple types + +# DESCRIPTION + +- Some text. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/nested.in b/contrib/mandoc/regress/mdoc/Bl/nested.in new file mode 100644 index 00000000000..c6ac61969f2 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/nested.in @@ -0,0 +1,84 @@ +.\" $OpenBSD: nested.in,v 1.6 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-NESTED 1 +.Os +.Sh NAME +.Nm Bl-nested +.Nd nested lists +.Sh DESCRIPTION +inset: +.Bl -inset +.It outer +list +.Bl -inset +.It inner +list +.El +.El +inset compact: +.Bl -inset -compact +.It outer +list +.Bl -inset -compact +.It inner +list +.El +.El +dash: +.Bl -dash +.It +outer list +.Bl -dash +.It +inner list +.El +.El +dash compact: +.Bl -dash -compact +.It +outer list +.Bl -dash -compact +.It +inner list +.El +.El +tag: +.Bl -tag -width 4n +.It outer tag +outer text +.Bl -tag -width 4n +.It inner tag +inner text +.El +outer text +.El +.Bl -tag -width 4n +.It outer tag +.Bd -ragged -compact +outer text (display) +.Ed +.Bl -tag -width 4n +.It inner tag +inner text +.El +outer text +.El +.Bl -tag -width 4n +.It outer tag +.Dl outer text (one-line display) +.Bl -tag -width 4n +.It inner tag +inner text +.El +outer text +.El +.Bl -tag -width 4n -offset 3n +.It outer tag (indented 3n) +outer text +.Bl -tag -width 4n -offset 6n +.It inner tag (indented 6n) +inner text +.El +outer text +.El +final text diff --git a/contrib/mandoc/regress/mdoc/Bl/nested.out_ascii b/contrib/mandoc/regress/mdoc/Bl/nested.out_ascii new file mode 100644 index 00000000000..b15f8c2dc0e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/nested.out_ascii @@ -0,0 +1,54 @@ +BL-NESTED(1) General Commands Manual BL-NESTED(1) + +NNAAMMEE + BBll--nneesstteedd - nested lists + +DDEESSCCRRIIPPTTIIOONN + inset: + + outer list + + inner list + inset compact: + outer list + inner list + dash: + + -- outer list + + -- inner list + dash compact: + -- outer list + -- inner list + tag: + + outer tag + outer text + + inner tag + inner text + outer text + + outer tag + outer text (display) + + inner tag + inner text + outer text + + outer tag + outer text (one-line display) + + inner tag + inner text + outer text + + outer tag (indented 3n) + outer text + + inner tag (indented 6n) + inner text + outer text + final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/nested.out_markdown b/contrib/mandoc/regress/mdoc/Bl/nested.out_markdown new file mode 100644 index 00000000000..d07d04b2aa0 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/nested.out_markdown @@ -0,0 +1,81 @@ +BL-NESTED(1) - General Commands Manual + +# NAME + +**Bl-nested** - nested lists + +# DESCRIPTION + +inset: + +outer +list + +inner +list + +inset compact: + +outer +list + +inner +list + +dash: + +- outer list + + - inner list + +dash compact: + +- outer list + + - inner list + +tag: + +outer tag + +> outer text + +> inner tag + +> > inner text + +> outer text + +outer tag + +> > outer text (display) + +> inner tag + +> > inner text + +> outer text + +outer tag + +> > outer text (one-line display) + +> inner tag + +> > inner text + +> outer text + +outer tag (indented 3n) + +> outer text + +> inner tag (indented 6n) + +> > inner text + +> outer text + +final text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/noIt.in b/contrib/mandoc/regress/mdoc/Bl/noIt.in new file mode 100644 index 00000000000..aa6f7f9fe7d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/noIt.in @@ -0,0 +1,25 @@ +.\" $OpenBSD: noIt.in,v 1.4 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-NOIT 1 +.Os +.Sh NAME +.Nm Bl-noIt +.Nd list missing item macros +.Sh DESCRIPTION +.Bl -tag -width Ds +Stray text. +.Em More stray text +.It tag +Tagged text. +.El +.Bl -bullet +Stray text. +.Sm off +.Em More Sy stray Em text +.Sm on +.It +Bullet point. +.El +.Bl -dash +Stray text only. +.El diff --git a/contrib/mandoc/regress/mdoc/Bl/noIt.out_ascii b/contrib/mandoc/regress/mdoc/Bl/noIt.out_ascii new file mode 100644 index 00000000000..dc159524d93 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/noIt.out_ascii @@ -0,0 +1,15 @@ +BL-NOIT(1) General Commands Manual BL-NOIT(1) + +NNAAMMEE + BBll--nnooIItt - list missing item macros + +DDEESSCCRRIIPPTTIIOONN + Stray text. _M_o_r_e _s_t_r_a_y _t_e_x_t + + tag Tagged text. + Stray text. _M_o_r_essttrraayy_t_e_x_t + + ++oo Bullet point. + Stray text only. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/noIt.out_lint b/contrib/mandoc/regress/mdoc/Bl/noIt.out_lint new file mode 100644 index 00000000000..03a89cc5398 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/noIt.out_lint @@ -0,0 +1,8 @@ +mandoc: noIt.in:10:1: WARNING: moving content out of list: text +mandoc: noIt.in:11:2: WARNING: moving content out of list: Em +mandoc: noIt.in:16:1: WARNING: moving content out of list: text +mandoc: noIt.in:17:2: WARNING: moving content out of list: Sm +mandoc: noIt.in:18:2: WARNING: moving content out of list: Em +mandoc: noIt.in:18:10: WARNING: moving content out of list: Sy +mandoc: noIt.in:18:19: WARNING: moving content out of list: Em +mandoc: noIt.in:24:1: WARNING: moving content out of list: text diff --git a/contrib/mandoc/regress/mdoc/Bl/noIt.out_markdown b/contrib/mandoc/regress/mdoc/Bl/noIt.out_markdown new file mode 100644 index 00000000000..78134efcbfb --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/noIt.out_markdown @@ -0,0 +1,23 @@ +BL-NOIT(1) - General Commands Manual + +# NAME + +**Bl-noIt** - list missing item macros + +# DESCRIPTION + +Stray text. +*More stray text* + +tag + +> Tagged text. + +Stray text. +*More*‌**stray**‌*text* + +* Bullet point. + +Stray text only. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/notype.in b/contrib/mandoc/regress/mdoc/Bl/notype.in new file mode 100644 index 00000000000..73dc011d268 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/notype.in @@ -0,0 +1,27 @@ +.\" $OpenBSD: notype.in,v 1.5 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-NOTYPE 1 +.Os +.Sh NAME +.Nm Bl-notype +.Nd lists with late or missing types +.Sh DESCRIPTION +late type: +.Bl -offset indent -bullet +.It +Some text. +.El tail argument +.Pp +no type: +.Bl -offset indent -width Ds +.It +Some text. +.El +.Pp +no argument at all: +.Bl +.It +Some text. +.El +.Pp +final text diff --git a/contrib/mandoc/regress/mdoc/Bl/notype.out_ascii b/contrib/mandoc/regress/mdoc/Bl/notype.out_ascii new file mode 100644 index 00000000000..15df4239300 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/notype.out_ascii @@ -0,0 +1,21 @@ +BL-NOTYPE(1) General Commands Manual BL-NOTYPE(1) + +NNAAMMEE + BBll--nnoottyyppee - lists with late or missing types + +DDEESSCCRRIIPPTTIIOONN + late type: + + ++oo Some text. + + no type: + + Some text. + + no argument at all: + + Some text. + + final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/notype.out_lint b/contrib/mandoc/regress/mdoc/Bl/notype.out_lint new file mode 100644 index 00000000000..b7a6cb79852 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/notype.out_lint @@ -0,0 +1,5 @@ +mandoc: notype.in:13:2: ERROR: skipping all arguments: El tail argument +mandoc: notype.in:10:2: WARNING: list type is not the first argument: Bl -offset +mandoc: notype.in:16:2: ERROR: missing list type, using -item: Bl +mandoc: notype.in:16:20: WARNING: skipping -width argument: Bl -item +mandoc: notype.in:22:2: ERROR: missing list type, using -item: Bl diff --git a/contrib/mandoc/regress/mdoc/Bl/notype.out_markdown b/contrib/mandoc/regress/mdoc/Bl/notype.out_markdown new file mode 100644 index 00000000000..09e5168a813 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/notype.out_markdown @@ -0,0 +1,23 @@ +BL-NOTYPE(1) - General Commands Manual + +# NAME + +**Bl-notype** - lists with late or missing types + +# DESCRIPTION + +late type: + +* Some text. + +no type: + +Some text. + +no argument at all: + +Some text. + +final text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/offset.in b/contrib/mandoc/regress/mdoc/Bl/offset.in new file mode 100644 index 00000000000..02a0d328b0e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/offset.in @@ -0,0 +1,80 @@ +.\" $OpenBSD: offset.in,v 1.5 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-OFFSET 1 +.Os +.Sh NAME +.Nm Bl-offset +.Nd various arguments for Bl offset +.Sh DESCRIPTION +.Bl -item -offset +.It +Bl item offset empty +.El +.Bl -item -offset left +.It +Bl item offset left +.El +.Bl -item -offset indent +.It +Bl item offset indent +.El +.Bl -item -offset indent-two +.It +Bl item offset indent-two +.El +.Bl -item -offset 4n +.It +Bl item offset 4n +.El +.Bl -item -offset mystring +.It +Bl item offset mystring +.El +.Bl -item -offset Ds +.It +Bl item offset Ds +.El +.Bl -item -offset 78n +.It +Bl item offset 78n +.El +.Bl -item -offset -3n +.It +Bl item offset -3n +.El +.Bl -tag -width Ds -offset +.It tag +Bl tag width Ds offset empty +.El +.Bl -tag -width Ds -offset left +.It tag +Bl tag width Ds offset left +.El +.Bl -tag -width Ds -offset indent +.It tag +Bl tag width Ds offset indent +.El +.Bl -tag -width Ds -offset indent-two +.It tag +Bl tag width Ds offset indent-two +.El +.Bl -tag -width Ds -offset 0.36i +.It tag +Bl tag width Ds offset 0.36i +.El +.Bl -tag -width Ds -offset mystring +.It tag +Bl tag width Ds offset mystring +.El +.Bl -tag -width Ds -offset Ds +.It tag +Bl tag width Ds offset Ds +.El +.Bl -tag -width Ds -offset 78n +.It tag +Bl tag width Ds offset 78n +.El +.Bl -tag -width Ds -offset -0.26i +.It tag +Bl tag width Ds offset -0.26i +.El diff --git a/contrib/mandoc/regress/mdoc/Bl/offset.out_ascii b/contrib/mandoc/regress/mdoc/Bl/offset.out_ascii new file mode 100644 index 00000000000..0aaa3f298a2 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/offset.out_ascii @@ -0,0 +1,51 @@ +BL-OFFSET(1) General Commands Manual BL-OFFSET(1) + +NNAAMMEE + BBll--ooffffsseett - various arguments for Bl offset + +DDEESSCCRRIIPPTTIIOONN + Bl item offset empty + + Bl item offset left + + Bl item offset indent + + Bl item offset indent-two + + Bl item offset 4n + + Bl item offset mystring + + Bl item offset Ds + + Bl + item + offset + 78n + + Bl item offset -3n + + tag Bl tag width Ds offset empty + + tag Bl tag width Ds offset left + + tag Bl tag width Ds offset indent + + tag Bl tag width Ds offset indent-two + + tag Bl tag width Ds offset 0.36i + + tag Bl tag width Ds offset mystring + + tag Bl tag width Ds offset Ds + + tag Bl + tag + width + Ds + offset + 78n + + tag Bl tag width Ds offset -0.26i + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/offset.out_markdown b/contrib/mandoc/regress/mdoc/Bl/offset.out_markdown new file mode 100644 index 00000000000..cb78c3e2c3b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/offset.out_markdown @@ -0,0 +1,63 @@ +BL-OFFSET(1) - General Commands Manual + +# NAME + +**Bl-offset** - various arguments for Bl offset + +# DESCRIPTION + +Bl item offset empty + +Bl item offset left + +Bl item offset indent + +Bl item offset indent-two + +Bl item offset 4n + +Bl item offset mystring + +Bl item offset Ds + +Bl item offset 78n + +Bl item offset -3n + +tag + +> Bl tag width Ds offset empty + +tag + +> Bl tag width Ds offset left + +tag + +> Bl tag width Ds offset indent + +tag + +> Bl tag width Ds offset indent-two + +tag + +> Bl tag width Ds offset 0.36i + +tag + +> Bl tag width Ds offset mystring + +tag + +> Bl tag width Ds offset Ds + +tag + +> Bl tag width Ds offset 78n + +tag + +> Bl tag width Ds offset -0.26i + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/ohang.in b/contrib/mandoc/regress/mdoc/Bl/ohang.in new file mode 100644 index 00000000000..9d1c0779f2f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/ohang.in @@ -0,0 +1,24 @@ +.\" $OpenBSD: ohang.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-OHANG 1 +.Os +.Sh NAME +.Nm Bl-ohang +.Nd over-hanging lists +.Sh DESCRIPTION +.Bl -ohang +.It first tag +first line +.It second tag +second line +.It third tag +third line +.El +.Bl -ohang -compact +.It first tag +first line +.It second tag +second line +.It third tag +third line +.El diff --git a/contrib/mandoc/regress/mdoc/Bl/ohang.out_ascii b/contrib/mandoc/regress/mdoc/Bl/ohang.out_ascii new file mode 100644 index 00000000000..3cd76511ba0 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/ohang.out_ascii @@ -0,0 +1,22 @@ +BL-OHANG(1) General Commands Manual BL-OHANG(1) + +NNAAMMEE + BBll--oohhaanngg - over-hanging lists + +DDEESSCCRRIIPPTTIIOONN + first tag + first line + + second tag + second line + + third tag + third line + first tag + first line + second tag + second line + third tag + third line + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/ohang.out_markdown b/contrib/mandoc/regress/mdoc/Bl/ohang.out_markdown new file mode 100644 index 00000000000..7e257f53132 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/ohang.out_markdown @@ -0,0 +1,25 @@ +BL-OHANG(1) - General Commands Manual + +# NAME + +**Bl-ohang** - over-hanging lists + +# DESCRIPTION + +first tag +first line + +second tag +second line + +third tag +third line + +first tag +first line +second tag +second line +third tag +third line + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/secstart.in b/contrib/mandoc/regress/mdoc/Bl/secstart.in new file mode 100644 index 00000000000..9844934284f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/secstart.in @@ -0,0 +1,40 @@ +.\" $OpenBSD: secstart.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-SECSTART 1 +.Os +.Sh NAME +.Nm Bl-secstart +.Nd nested lists at the beginning of sections +.Sh DESCRIPTION +.Ss item +.Bl -item +.It +.Bl -item +.It +text +.El +.El +.Ss dash +.Bl -dash +.It +.Bl -dash +.It +text +.El +.El +.Ss inset +.Bl -inset +.It outer +.Bl -inset +.It inner +text +.El +.El +.Ss tag +.Bl -tag -width 4n +.It outer tag +.Bl -tag -width 4n +.It inner tag +text +.El +.El diff --git a/contrib/mandoc/regress/mdoc/Bl/secstart.out_ascii b/contrib/mandoc/regress/mdoc/Bl/secstart.out_ascii new file mode 100644 index 00000000000..5277a3b3795 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/secstart.out_ascii @@ -0,0 +1,26 @@ +BL-SECSTART(1) General Commands Manual BL-SECSTART(1) + +NNAAMMEE + BBll--sseeccssttaarrtt - nested lists at the beginning of sections + +DDEESSCCRRIIPPTTIIOONN + iitteemm + text + + ddaasshh + -- + + -- text + + iinnsseett + outer + + inner text + + ttaagg + outer tag + + inner tag + text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/secstart.out_markdown b/contrib/mandoc/regress/mdoc/Bl/secstart.out_markdown new file mode 100644 index 00000000000..bd1779e10ce --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/secstart.out_markdown @@ -0,0 +1,34 @@ +BL-SECSTART(1) - General Commands Manual + +# NAME + +**Bl-secstart** - nested lists at the beginning of sections + +# DESCRIPTION + +## item + +text + +## dash + +- + + - text + +## inset + +outer + +inner +text + +## tag + +outer tag + +> inner tag + +> > text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/tag.in b/contrib/mandoc/regress/mdoc/Bl/tag.in new file mode 100644 index 00000000000..fac07bd2d35 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/tag.in @@ -0,0 +1,155 @@ +.\" $OpenBSD: tag.in,v 1.18 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-TAG 1 +.Os +.Sh NAME +.Nm Bl-tag +.Nd tagged lists +.Sh DESCRIPTION +.Bl -tag -width -4n +.It tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -tag -width -0.26i +.It tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -tag -width -2n +.It tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -tag -width -1n +.It tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -tag -width 0n +.It tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -tag -width 1n +.It tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -tag -width 2n +.It tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -tag -width 3n +.It tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -tag -width 4n +.It tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -tag -width 5n +.It tag +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -tag -width 5n +.It four +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -tag -width 5n +.It quint +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -tag -width 0.46i +.It indent +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -tag -width 5n +.It septime +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -tag -width 5n +.It achtacht +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -tag -width 5n +.It neun neun +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -tag -width 5n +.It zehn_ zehn +x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x +.El +.Bl -tag -width 5n +.It This is a very long text contained in the tag, it is so long \ +that it overruns the line - +and here comes the item body. +.El +.Bl -tag -width 100n +.It hundred +text text +.El +.Pp +Trailing white space in the head: +.Bl -tag -width 5n +.It "a" +none +.It "a " +one +.It "a " +two +.It "a " +three +.It "a " +four +.It "a " +five +.It "a " +six +.It " " +white space only +.El +.Pp +Non-numeric width specification: +.Bl -tag -width xxx +.It tag +text +.El +.Bl -tag -width xxxxxxxxxx +.It tag +text +.El +.Pp +Scaling units other than n: +.Bl -tag -width 4m +.It tag +text +.El +.Bl -tag -width 800M +.It tag +text +.El +.Bl -tag -width 14 +.It tag +text +.El +.Pp +Default width: +.Bl -tag +.It tag +text +.It long tag +long text +.It Sy tag Em with markup +text +.El +.Pp +Indented list: +.Bl -tag -offset 6n -width xxx +.It one +first text +.It two +second text +.El +.Pp +Embedded paragraph: +.Bl -tag -width Ds +.It tag +first paragraph +.Pp +second paragraph +.El diff --git a/contrib/mandoc/regress/mdoc/Bl/tag.out_ascii b/contrib/mandoc/regress/mdoc/Bl/tag.out_ascii new file mode 100644 index 00000000000..5fb3f7a4344 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/tag.out_ascii @@ -0,0 +1,134 @@ +BL-TAG(1) General Commands Manual BL-TAG(1) + +NNAAMMEE + BBll--ttaagg - tagged lists + +DDEESSCCRRIIPPTTIIOONN + tag + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x + + tag + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x + + tag + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x + + tag + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x + + tag + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x + + tag + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + + tag + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x + + tag x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + + tag x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x + + tag x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x + + four x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x + + quint x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x + + indent + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x + + septime + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x + + achtacht + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x + + neun neun + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x + + zehn_ zehn + x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + x x x x x x x + + This is a very long text contained in the tag, it is so long that it + overruns the line - + and here comes the item body. + + hundred text + text + + Trailing white space in the head: + + a none + + a one + + a two + + a three + + a four + + a + five + + a + six + + white space only + + Non-numeric width specification: + + tag text + + tag text + + Scaling units other than n: + + tag text + + tag text + + tag + text + + Default width: + + tag text + + long tag + long text + + ttaagg _w_i_t_h _m_a_r_k_u_p + text + + Indented list: + + one first text + + two second text + + Embedded paragraph: + + tag first paragraph + + second paragraph + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/tag.out_lint b/contrib/mandoc/regress/mdoc/Bl/tag.out_lint new file mode 100644 index 00000000000..06c069954d4 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/tag.out_lint @@ -0,0 +1 @@ +mandoc: tag.in:132:2: WARNING: missing -width in -tag list, using 6n: Bl -tag diff --git a/contrib/mandoc/regress/mdoc/Bl/tag.out_markdown b/contrib/mandoc/regress/mdoc/Bl/tag.out_markdown new file mode 100644 index 00000000000..fd9d9fd7706 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/tag.out_markdown @@ -0,0 +1,175 @@ +BL-TAG(1) - General Commands Manual + +# NAME + +**Bl-tag** - tagged lists + +# DESCRIPTION + +tag + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +tag + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +tag + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +tag + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +tag + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +tag + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +tag + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +tag + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +tag + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +tag + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +four + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +quint + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +indent + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +septime + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +achtacht + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +neun neun + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +zehn\_ zehn + +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +This is a very long text contained in the tag, it is so long that it overruns the line - + +> and here comes the item body. + +hundred + +> text text + +Trailing white space in the head: + +a + +> none + +a + +> one + +a + +> two + +a + +> three + +a + +> four + +a + +> five + +a + +> six + + + +> white space only + +Non-numeric width specification: + +tag + +> text + +tag + +> text + +Scaling units other than n: + +tag + +> text + +tag + +> text + +tag + +> text + +Default width: + +tag + +> text + +long tag + +> long text + +**tag** *with markup* + +> text + +Indented list: + +one + +> first text + +two + +> second text + +Embedded paragraph: + +tag + +> first paragraph + +> second paragraph + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bl/unclosed.in b/contrib/mandoc/regress/mdoc/Bl/unclosed.in new file mode 100644 index 00000000000..bff5146609f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/unclosed.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: unclosed.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BL-UNCLOSED 1 +.Os +.Sh NAME +.Nm Bl-unclosed +.Nd list lacking an end macro +.Sh DESCRIPTION +.Bl -item +.It +item +.Sh SEE ALSO +.Xr mdoc 7 diff --git a/contrib/mandoc/regress/mdoc/Bl/unclosed.out_ascii b/contrib/mandoc/regress/mdoc/Bl/unclosed.out_ascii new file mode 100644 index 00000000000..23005e5c7d5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/unclosed.out_ascii @@ -0,0 +1,12 @@ +BL-UNCLOSED(1) General Commands Manual BL-UNCLOSED(1) + +NNAAMMEE + BBll--uunncclloosseedd - list lacking an end macro + +DDEESSCCRRIIPPTTIIOONN + item + +SSEEEE AALLSSOO + mdoc(7) + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bl/unclosed.out_markdown b/contrib/mandoc/regress/mdoc/Bl/unclosed.out_markdown new file mode 100644 index 00000000000..40f01cc3b7c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bl/unclosed.out_markdown @@ -0,0 +1,15 @@ +BL-UNCLOSED(1) - General Commands Manual + +# NAME + +**Bl-unclosed** - list lacking an end macro + +# DESCRIPTION + +item + +# SEE ALSO + +mdoc(7) + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Brq/Makefile b/contrib/mandoc/regress/mdoc/Brq/Makefile new file mode 100644 index 00000000000..716f480ffcf --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Brq/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2011/12/04 03:09:25 schwarze Exp $ + +REGRESS_TARGETS = empty +LINT_TARGETS = empty + +.include diff --git a/contrib/mandoc/regress/mdoc/Brq/empty.in b/contrib/mandoc/regress/mdoc/Brq/empty.in new file mode 100644 index 00000000000..502d7c9f9bc --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Brq/empty.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: empty.in,v 1.5 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BRQ-EMPTY 1 +.Os +.Sh NAME +.Nm Brq-empty +.Nd empty implicit enclosure macros +.Sh DESCRIPTION +An empty +.Brq +and a full +.Brq "(" user@host) +quotation. +And another +.Bro "(" full) Brc one "Sy" bold . diff --git a/contrib/mandoc/regress/mdoc/Brq/empty.out_ascii b/contrib/mandoc/regress/mdoc/Brq/empty.out_ascii new file mode 100644 index 00000000000..8471f6db8b6 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Brq/empty.out_ascii @@ -0,0 +1,10 @@ +BRQ-EMPTY(1) General Commands Manual BRQ-EMPTY(1) + +NNAAMMEE + BBrrqq--eemmppttyy - empty implicit enclosure macros + +DDEESSCCRRIIPPTTIIOONN + An empty {} and a full ({user@host)} quotation. And another ({full)} one + bboolldd. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Brq/empty.out_lint b/contrib/mandoc/regress/mdoc/Brq/empty.out_lint new file mode 100644 index 00000000000..a7092ae5729 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Brq/empty.out_lint @@ -0,0 +1,2 @@ +mandoc: empty.in:12:19: STYLE: no blank before trailing delimiter: Brq user@host) +mandoc: empty.in:15:14: STYLE: no blank before trailing delimiter: Bro full) diff --git a/contrib/mandoc/regress/mdoc/Brq/empty.out_markdown b/contrib/mandoc/regress/mdoc/Brq/empty.out_markdown new file mode 100644 index 00000000000..3483e90b6e7 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Brq/empty.out_markdown @@ -0,0 +1,17 @@ +BRQ-EMPTY(1) - General Commands Manual + +# NAME + +**Brq-empty** - empty implicit enclosure macros + +# DESCRIPTION + +An empty +{} +and a full +({user@host)} +quotation. +And another +({full)} one **bold**. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Bx/Makefile b/contrib/mandoc/regress/mdoc/Bx/Makefile new file mode 100644 index 00000000000..03e9990ce57 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bx/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.2 2011/11/17 16:28:45 schwarze Exp $ + +REGRESS_TARGETS = args +LINT_TARGETS = args + +.include diff --git a/contrib/mandoc/regress/mdoc/Bx/args.in b/contrib/mandoc/regress/mdoc/Bx/args.in new file mode 100644 index 00000000000..dd74a395114 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bx/args.in @@ -0,0 +1,27 @@ +.\" $OpenBSD: args.in,v 1.5 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BX-ARGS 1 +.Os +.Sh NAME +.Nm Bx-args +.Nd arguments to the BSD macro +.Sh DESCRIPTION +no arguments: +.Bx +.Pp +one standard argument: +.Bx 4.4 "." +.Pp +one non-standard argument: +.Bx nett. +.Pp +one semi-standard argument: +.Bx 4.1c +.Pp +two standard arguments: +.Bx 4.3 reno +.Pp +more arguments: +.Bx 4.3 tahoe and "Em" some additional words +.Pp +end of test document diff --git a/contrib/mandoc/regress/mdoc/Bx/args.out_ascii b/contrib/mandoc/regress/mdoc/Bx/args.out_ascii new file mode 100644 index 00000000000..ad7d2445def --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bx/args.out_ascii @@ -0,0 +1,21 @@ +BX-ARGS(1) General Commands Manual BX-ARGS(1) + +NNAAMMEE + BBxx--aarrggss - arguments to the BSD macro + +DDEESSCCRRIIPPTTIIOONN + no arguments: BSD + + one standard argument: 4.4BSD. + + one non-standard argument: nett.BSD + + one semi-standard argument: 4.1cBSD + + two standard arguments: 4.3BSD-Reno + + more arguments: 4.3BSD-Tahoe and _s_o_m_e _a_d_d_i_t_i_o_n_a_l _w_o_r_d_s + + end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Bx/args.out_lint b/contrib/mandoc/regress/mdoc/Bx/args.out_lint new file mode 100644 index 00000000000..c4d244d486e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bx/args.out_lint @@ -0,0 +1 @@ +mandoc: args.in:16:9: STYLE: no blank before trailing delimiter: Bx nett. diff --git a/contrib/mandoc/regress/mdoc/Bx/args.out_markdown b/contrib/mandoc/regress/mdoc/Bx/args.out_markdown new file mode 100644 index 00000000000..ccfc6f1b4b3 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Bx/args.out_markdown @@ -0,0 +1,29 @@ +BX-ARGS(1) - General Commands Manual + +# NAME + +**Bx-args** - arguments to the BSD macro + +# DESCRIPTION + +no arguments: +BSD + +one standard argument: +4\.4BSD. + +one non-standard argument: +nett.BSD + +one semi-standard argument: +4\.1cBSD + +two standard arguments: +4\.3BSD-Reno + +more arguments: +4\.3BSD-Tahoe and *some additional words* + +end of test document + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Cd/Makefile b/contrib/mandoc/regress/mdoc/Cd/Makefile new file mode 100644 index 00000000000..0792494ca12 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cd/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.5 2014/07/02 20:18:42 schwarze Exp $ + +REGRESS_TARGETS = eos font noarg punct +LINT_TARGETS = noarg + +.include diff --git a/contrib/mandoc/regress/mdoc/Cd/eos.in b/contrib/mandoc/regress/mdoc/Cd/eos.in new file mode 100644 index 00000000000..ea949c69d0e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cd/eos.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: eos.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt CD-EOS 1 +.Os +.Sh NAME +.Nm Cd-eos +.Nd end of sentence handling after the configuration directive macro +.Sh DESCRIPTION +Do not use +.Cd options INSECURE . +It is insecure. diff --git a/contrib/mandoc/regress/mdoc/Cd/eos.out_ascii b/contrib/mandoc/regress/mdoc/Cd/eos.out_ascii new file mode 100644 index 00000000000..93f446bedd5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cd/eos.out_ascii @@ -0,0 +1,9 @@ +CD-EOS(1) General Commands Manual CD-EOS(1) + +NNAAMMEE + CCdd--eeooss - end of sentence handling after the configuration directive macro + +DDEESSCCRRIIPPTTIIOONN + Do not use ooppttiioonnss IINNSSEECCUURREE. It is insecure. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Cd/eos.out_markdown b/contrib/mandoc/regress/mdoc/Cd/eos.out_markdown new file mode 100644 index 00000000000..60e292e83ec --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cd/eos.out_markdown @@ -0,0 +1,13 @@ +CD-EOS(1) - General Commands Manual + +# NAME + +**Cd-eos** - end of sentence handling after the configuration directive macro + +# DESCRIPTION + +Do not use +**options INSECURE**. +It is insecure. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Cd/font.in b/contrib/mandoc/regress/mdoc/Cd/font.in new file mode 100644 index 00000000000..70ecb2a25be --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cd/font.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: font.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt CD-FONT 1 +.Os +.Sh NAME +.Nm Cd-font +.Nd changing fonts inside the configuration declaration macro +.Sh DESCRIPTION +normal text +.Cd bold\\fIemphasis\\fPback +trailing text diff --git a/contrib/mandoc/regress/mdoc/Cd/font.out_ascii b/contrib/mandoc/regress/mdoc/Cd/font.out_ascii new file mode 100644 index 00000000000..2534b07d535 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cd/font.out_ascii @@ -0,0 +1,9 @@ +CD-FONT(1) General Commands Manual CD-FONT(1) + +NNAAMMEE + CCdd--ffoonntt - changing fonts inside the configuration declaration macro + +DDEESSCCRRIIPPTTIIOONN + normal text bboolldd_e_m_p_h_a_s_i_sbbaacckk trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Cd/font.out_markdown b/contrib/mandoc/regress/mdoc/Cd/font.out_markdown new file mode 100644 index 00000000000..eab5d097e3c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cd/font.out_markdown @@ -0,0 +1,13 @@ +CD-FONT(1) - General Commands Manual + +# NAME + +**Cd-font** - changing fonts inside the configuration declaration macro + +# DESCRIPTION + +normal text +**bold*emphasis*back** +trailing text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Cd/noarg.in b/contrib/mandoc/regress/mdoc/Cd/noarg.in new file mode 100644 index 00000000000..4ce002680dd --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cd/noarg.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: noarg.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt CD-NOARG 1 +.Os +.Sh NAME +.Nm Cd-noarg +.Nd kernel configuration directive without arguments +.Sh DESCRIPTION +with arguments: +.Cd wd* at pciide? +without arguments: +.Cd +end of test document diff --git a/contrib/mandoc/regress/mdoc/Cd/noarg.out_ascii b/contrib/mandoc/regress/mdoc/Cd/noarg.out_ascii new file mode 100644 index 00000000000..e58677660e9 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cd/noarg.out_ascii @@ -0,0 +1,9 @@ +CD-NOARG(1) General Commands Manual CD-NOARG(1) + +NNAAMMEE + CCdd--nnooaarrgg - kernel configuration directive without arguments + +DDEESSCCRRIIPPTTIIOONN + with arguments: wwdd** aatt ppcciiiiddee?? without arguments: end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Cd/noarg.out_lint b/contrib/mandoc/regress/mdoc/Cd/noarg.out_lint new file mode 100644 index 00000000000..bbf1e2db0b2 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cd/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:12:2: WARNING: skipping empty macro: Cd diff --git a/contrib/mandoc/regress/mdoc/Cd/noarg.out_markdown b/contrib/mandoc/regress/mdoc/Cd/noarg.out_markdown new file mode 100644 index 00000000000..60d942e985e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cd/noarg.out_markdown @@ -0,0 +1,14 @@ +CD-NOARG(1) - General Commands Manual + +# NAME + +**Cd-noarg** - kernel configuration directive without arguments + +# DESCRIPTION + +with arguments: +**wd\* at pciide?** +without arguments: +end of test document + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Cd/punct.in b/contrib/mandoc/regress/mdoc/Cd/punct.in new file mode 100644 index 00000000000..c02c4e78299 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cd/punct.in @@ -0,0 +1,43 @@ +.\" $OpenBSD: punct.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt CD-PUNCT 1 +.Os +.Sh NAME +.Nm Cd-punct +.Nd punctuation handling by the Cd macro +.Sh DESCRIPTION +closing punctuation +.Cd a ) +only one +.Cd ) +only more than one +.Cd ) ) +middle +.Cd a ) z +start +.Cd ) z +dot +.Cd . z +comma +.Cd , z +semicolon +.Cd ; z +colon +.Cd : z +quest +.Cd ? z +excl +.Cd ! z +paren +.Cd ) z +bracket +.Cd ] z +bar +.Cd | m +op paren +.Cd ( a +op bracket +.Cd [ a +.Pp +quoted punctuation: +.Cd a "(" b "|" c ")" d "." "Em" italic . diff --git a/contrib/mandoc/regress/mdoc/Cd/punct.out_ascii b/contrib/mandoc/regress/mdoc/Cd/punct.out_ascii new file mode 100644 index 00000000000..090b1cdf277 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cd/punct.out_ascii @@ -0,0 +1,13 @@ +CD-PUNCT(1) General Commands Manual CD-PUNCT(1) + +NNAAMMEE + CCdd--ppuunncctt - punctuation handling by the Cd macro + +DDEESSCCRRIIPPTTIIOONN + closing punctuation aa) only one ) only more than one )) middle aa) zz start + ) zz dot . zz comma , zz semicolon ; zz colon : zz quest ? zz excl ! zz paren ) + zz bracket ] zz bar | mm op paren (aa op bracket [aa + + quoted punctuation: aa (bb | cc) dd. _i_t_a_l_i_c. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Cd/punct.out_markdown b/contrib/mandoc/regress/mdoc/Cd/punct.out_markdown new file mode 100644 index 00000000000..0e6d8b20e4b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cd/punct.out_markdown @@ -0,0 +1,45 @@ +CD-PUNCT(1) - General Commands Manual + +# NAME + +**Cd-punct** - punctuation handling by the Cd macro + +# DESCRIPTION + +closing punctuation +**a**) +only one +) +only more than one +)) +middle +**a**) **z** +start +) **z** +dot +. **z** +comma +, **z** +semicolon +; **z** +colon +: **z** +quest +? **z** +excl +! **z** +paren +) **z** +bracket +] **z** +bar +| **m** +op paren +(**a** +op bracket +\[**a** + +quoted punctuation: +**a** (**b** | **c**) **d**. *italic*. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Cm/Makefile b/contrib/mandoc/regress/mdoc/Cm/Makefile new file mode 100644 index 00000000000..4b7066ec2df --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cm/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.3 2014/07/02 20:18:42 schwarze Exp $ + +REGRESS_TARGETS = basic font noarg punct +LINT_TARGETS = noarg + +.include diff --git a/contrib/mandoc/regress/mdoc/Cm/basic.in b/contrib/mandoc/regress/mdoc/Cm/basic.in new file mode 100644 index 00000000000..a891ff552db --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cm/basic.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: basic.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt CM-BASIC 1 +.Os +.Sh NAME +.Nm Cm-basic +.Nd basic usage of the Cm macro +.Sh DESCRIPTION +end of line: +.Nm mt Fl f Ar device Cm rewind +.Pp +middle of line: +.Nm ps Fl o Cm pid , Ns Cm command diff --git a/contrib/mandoc/regress/mdoc/Cm/basic.out_ascii b/contrib/mandoc/regress/mdoc/Cm/basic.out_ascii new file mode 100644 index 00000000000..eef45c10b30 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cm/basic.out_ascii @@ -0,0 +1,11 @@ +CM-BASIC(1) General Commands Manual CM-BASIC(1) + +NNAAMMEE + CCmm--bbaassiicc - basic usage of the Cm macro + +DDEESSCCRRIIPPTTIIOONN + end of line: mmtt --ff _d_e_v_i_c_e rreewwiinndd + + middle of line: ppss --oo ppiidd,ccoommmmaanndd + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Cm/basic.out_markdown b/contrib/mandoc/regress/mdoc/Cm/basic.out_markdown new file mode 100644 index 00000000000..4c88ee9d803 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cm/basic.out_markdown @@ -0,0 +1,15 @@ +CM-BASIC(1) - General Commands Manual + +# NAME + +**Cm-basic** - basic usage of the Cm macro + +# DESCRIPTION + +end of line: +**mt** **-f** *device* **rewind** + +middle of line: +**ps** **-o** **pid**,**command** + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Cm/font.in b/contrib/mandoc/regress/mdoc/Cm/font.in new file mode 100644 index 00000000000..7a6c5c1557e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cm/font.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: font.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt CM-FONT 1 +.Os +.Sh NAME +.Nm Cm-font +.Nd changing fonts inside the command modifier macro +.Sh DESCRIPTION +normal text +.Cm bold\\fIemphasis\\fPback +trailing text diff --git a/contrib/mandoc/regress/mdoc/Cm/font.out_ascii b/contrib/mandoc/regress/mdoc/Cm/font.out_ascii new file mode 100644 index 00000000000..0ac3d99ddca --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cm/font.out_ascii @@ -0,0 +1,9 @@ +CM-FONT(1) General Commands Manual CM-FONT(1) + +NNAAMMEE + CCmm--ffoonntt - changing fonts inside the command modifier macro + +DDEESSCCRRIIPPTTIIOONN + normal text bboolldd_e_m_p_h_a_s_i_sbbaacckk trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Cm/font.out_markdown b/contrib/mandoc/regress/mdoc/Cm/font.out_markdown new file mode 100644 index 00000000000..b9131ce3412 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cm/font.out_markdown @@ -0,0 +1,13 @@ +CM-FONT(1) - General Commands Manual + +# NAME + +**Cm-font** - changing fonts inside the command modifier macro + +# DESCRIPTION + +normal text +**bold*emphasis*back** +trailing text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Cm/noarg.in b/contrib/mandoc/regress/mdoc/Cm/noarg.in new file mode 100644 index 00000000000..64bc5e091de --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cm/noarg.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: noarg.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt CM-NOARG 1 +.Os +.Sh NAME +.Nm Cm-noarg +.Nd command modifier macro without arguments +.Sh DESCRIPTION +end of line: +.Nm mt Fl f Ar device Cm +.Pp +middle of line: +.Nm ps Fl x Cm Fl o Cm command. diff --git a/contrib/mandoc/regress/mdoc/Cm/noarg.out_ascii b/contrib/mandoc/regress/mdoc/Cm/noarg.out_ascii new file mode 100644 index 00000000000..b8530057c98 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cm/noarg.out_ascii @@ -0,0 +1,11 @@ +CM-NOARG(1) General Commands Manual CM-NOARG(1) + +NNAAMMEE + CCmm--nnooaarrgg - command modifier macro without arguments + +DDEESSCCRRIIPPTTIIOONN + end of line: mmtt --ff _d_e_v_i_c_e + + middle of line: ppss --xx --oo ccoommmmaanndd.. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Cm/noarg.out_lint b/contrib/mandoc/regress/mdoc/Cm/noarg.out_lint new file mode 100644 index 00000000000..fbe2d230c00 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cm/noarg.out_lint @@ -0,0 +1,3 @@ +mandoc: noarg.in:10:23: WARNING: skipping empty macro: Cm +mandoc: noarg.in:13:13: WARNING: skipping empty macro: Cm +mandoc: noarg.in:13:31: STYLE: no blank before trailing delimiter: Cm command. diff --git a/contrib/mandoc/regress/mdoc/Cm/noarg.out_markdown b/contrib/mandoc/regress/mdoc/Cm/noarg.out_markdown new file mode 100644 index 00000000000..d1636183b2e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cm/noarg.out_markdown @@ -0,0 +1,15 @@ +CM-NOARG(1) - General Commands Manual + +# NAME + +**Cm-noarg** - command modifier macro without arguments + +# DESCRIPTION + +end of line: +**mt** **-f** *device* + +middle of line: +**ps** **-x** **-o** **command.** + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Cm/punct.in b/contrib/mandoc/regress/mdoc/Cm/punct.in new file mode 100644 index 00000000000..4c372a3b419 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cm/punct.in @@ -0,0 +1,43 @@ +.\" $OpenBSD: punct.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt Cm-PUNCT 1 +.Os +.Sh NAME +.Nm Cm-punct +.Nd punctuation handling by the Cm macro +.Sh DESCRIPTION +closing punctuation +.Cm a ) +only one +.Cm ) +only more than one +.Cm ) ) +middle +.Cm a ) z +start +.Cm ) z +dot +.Cm . z +comma +.Cm , z +semicolon +.Cm ; z +colon +.Cm : z +quest +.Cm ? z +excl +.Cm ! z +paren +.Cm ) z +bracket +.Cm ] z +bar +.Cm | m +op paren +.Cm ( a +op bracket +.Cm [ a +.Pp +quoted punctuation: +.Cm a "(" b "|" c ")" d "." "Em" italic . diff --git a/contrib/mandoc/regress/mdoc/Cm/punct.out_ascii b/contrib/mandoc/regress/mdoc/Cm/punct.out_ascii new file mode 100644 index 00000000000..f3cf5bdb293 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cm/punct.out_ascii @@ -0,0 +1,13 @@ +Cm-PUNCT(1) General Commands Manual Cm-PUNCT(1) + +NNAAMMEE + CCmm--ppuunncctt - punctuation handling by the Cm macro + +DDEESSCCRRIIPPTTIIOONN + closing punctuation aa) only one ) only more than one )) middle aa) zz start + ) zz dot . zz comma , zz semicolon ; zz colon : zz quest ? zz excl ! zz paren ) + zz bracket ] zz bar | mm op paren (aa op bracket [aa + + quoted punctuation: aa (bb | cc) dd. _i_t_a_l_i_c. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Cm/punct.out_markdown b/contrib/mandoc/regress/mdoc/Cm/punct.out_markdown new file mode 100644 index 00000000000..0e9b5d18cff --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Cm/punct.out_markdown @@ -0,0 +1,45 @@ +Cm-PUNCT(1) - General Commands Manual + +# NAME + +**Cm-punct** - punctuation handling by the Cm macro + +# DESCRIPTION + +closing punctuation +**a**) +only one +) +only more than one +)) +middle +**a**) **z** +start +) **z** +dot +. **z** +comma +, **z** +semicolon +; **z** +colon +: **z** +quest +? **z** +excl +! **z** +paren +) **z** +bracket +] **z** +bar +| **m** +op paren +(**a** +op bracket +\[**a** + +quoted punctuation: +**a** (**b** | **c**) **d**. *italic*. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/D1/Makefile b/contrib/mandoc/regress/mdoc/D1/Makefile new file mode 100644 index 00000000000..bed27d1b1f1 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/D1/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.2 2015/02/06 02:04:35 schwarze Exp $ + +REGRESS_TARGETS = spacing +LINT_TARGETS = spacing + +.include diff --git a/contrib/mandoc/regress/mdoc/D1/spacing.in b/contrib/mandoc/regress/mdoc/D1/spacing.in new file mode 100644 index 00000000000..e77332980d9 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/D1/spacing.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: spacing.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt D1-SPACING 1 +.Os +.Sh NAME +.Nm D1-spacing +.Nd spacing in and around one-line displays +.Sh DESCRIPTION +preceding text +.D1 spacing in and around one-line displays +empty display: +.D1 +following text diff --git a/contrib/mandoc/regress/mdoc/D1/spacing.out_ascii b/contrib/mandoc/regress/mdoc/D1/spacing.out_ascii new file mode 100644 index 00000000000..40945936b20 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/D1/spacing.out_ascii @@ -0,0 +1,12 @@ +D1-SPACING(1) General Commands Manual D1-SPACING(1) + +NNAAMMEE + DD11--ssppaacciinngg - spacing in and around one-line displays + +DDEESSCCRRIIPPTTIIOONN + preceding text + spacing in and around one-line displays + empty display: + following text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/D1/spacing.out_lint b/contrib/mandoc/regress/mdoc/D1/spacing.out_lint new file mode 100644 index 00000000000..5ac4d0c0e76 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/D1/spacing.out_lint @@ -0,0 +1 @@ +mandoc: spacing.in:12:2: WARNING: empty block: D1 diff --git a/contrib/mandoc/regress/mdoc/D1/spacing.out_markdown b/contrib/mandoc/regress/mdoc/D1/spacing.out_markdown new file mode 100644 index 00000000000..eac16dfe35f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/D1/spacing.out_markdown @@ -0,0 +1,17 @@ +D1-SPACING(1) - General Commands Manual + +# NAME + +**D1-spacing** - spacing in and around one-line displays + +# DESCRIPTION + +preceding text + +> spacing in and around one-line displays + +empty display: + +following text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Db/Makefile b/contrib/mandoc/regress/mdoc/Db/Makefile new file mode 100644 index 00000000000..f2a4a5b279b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Db/Makefile @@ -0,0 +1,10 @@ +# $OpenBSD: Makefile,v 1.1 2014/11/27 16:20:27 schwarze Exp $ + +REGRESS_TARGETS = args +LINT_TARGETS = args + +# mandoc -T markdown ignores .Db + +SKIP_MARKDOWN ?= ALL + +.include diff --git a/contrib/mandoc/regress/mdoc/Db/args.in b/contrib/mandoc/regress/mdoc/Db/args.in new file mode 100644 index 00000000000..14c4c503c01 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Db/args.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: args.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DB-ARGS 1 +.Os +.Sh NAME +.Nm Db-args +.Nd obsolete debug macro +.Sh DESCRIPTION +no args +.Db +one arg +.Db on +two args +.Db foo bar +end of text diff --git a/contrib/mandoc/regress/mdoc/Db/args.out_ascii b/contrib/mandoc/regress/mdoc/Db/args.out_ascii new file mode 100644 index 00000000000..7a8e6945b9b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Db/args.out_ascii @@ -0,0 +1,9 @@ +DB-ARGS(1) General Commands Manual DB-ARGS(1) + +NNAAMMEE + DDbb--aarrggss - obsolete debug macro + +DDEESSCCRRIIPPTTIIOONN + no args one arg two args end of text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Db/args.out_lint b/contrib/mandoc/regress/mdoc/Db/args.out_lint new file mode 100644 index 00000000000..05740565c4d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Db/args.out_lint @@ -0,0 +1,3 @@ +mandoc: args.in:10:2: WARNING: obsolete macro: Db +mandoc: args.in:12:2: WARNING: obsolete macro: Db +mandoc: args.in:14:2: WARNING: obsolete macro: Db diff --git a/contrib/mandoc/regress/mdoc/Dd/Makefile b/contrib/mandoc/regress/mdoc/Dd/Makefile new file mode 100644 index 00000000000..870d1cd9c99 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/Makefile @@ -0,0 +1,23 @@ +# $OpenBSD: Makefile,v 1.2 2014/11/21 01:52:45 schwarze Exp $ + +REGRESS_TARGETS = badarg dupe late long manarg noarg order +LINT_TARGETS = badarg dupe late long manarg noarg order + +# noarg output contains the date when the file is formatted + +SKIP_ASCII ?= noarg +SKIP_MARKDOWN ?= noarg + +# If groff finds exactly three arguments, it assumes they are month, +# day and year without further checking. If there are no arguments, +# groff uses the string "Epoch". Otherwise, it silently falls back +# to today's date. +# That is not at all sane behaviour, we are not going to imitate it. + +SKIP_GROFF = badarg long manarg noarg + +# Autodetection fails for late .Dd, so specify -mdoc explicitly. + +MOPTS += -mdoc + +.include diff --git a/contrib/mandoc/regress/mdoc/Dd/badarg.in b/contrib/mandoc/regress/mdoc/Dd/badarg.in new file mode 100644 index 00000000000..07cfe13e0cc --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/badarg.in @@ -0,0 +1,9 @@ +.\" $OpenBSD: badarg.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd "bad date" +.Dt DD-BADARG 1 +.Os +.Sh NAME +.Nm Dd-badarg +.Nd date cannot be parsed +.Sh DESCRIPTION +some text diff --git a/contrib/mandoc/regress/mdoc/Dd/badarg.out_ascii b/contrib/mandoc/regress/mdoc/Dd/badarg.out_ascii new file mode 100644 index 00000000000..a64abacc098 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/badarg.out_ascii @@ -0,0 +1,9 @@ +DD-BADARG(1) General Commands Manual DD-BADARG(1) + +NNAAMMEE + DDdd--bbaaddaarrgg - date cannot be parsed + +DDEESSCCRRIIPPTTIIOONN + some text + +OpenBSD bad date OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Dd/badarg.out_lint b/contrib/mandoc/regress/mdoc/Dd/badarg.out_lint new file mode 100644 index 00000000000..f463d7758b3 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/badarg.out_lint @@ -0,0 +1,2 @@ +mandoc: badarg.in:2:2: WARNING: cannot parse date, using it verbatim: bad date +mandoc: badarg.in:2:5: STYLE: Mdocdate missing: Dd bad date (OpenBSD) diff --git a/contrib/mandoc/regress/mdoc/Dd/badarg.out_markdown b/contrib/mandoc/regress/mdoc/Dd/badarg.out_markdown new file mode 100644 index 00000000000..1dae22aea97 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/badarg.out_markdown @@ -0,0 +1,11 @@ +DD-BADARG(1) - General Commands Manual + +# NAME + +**Dd-badarg** - date cannot be parsed + +# DESCRIPTION + +some text + +OpenBSD - bad date diff --git a/contrib/mandoc/regress/mdoc/Dd/dupe.in b/contrib/mandoc/regress/mdoc/Dd/dupe.in new file mode 100644 index 00000000000..b72d955e3b7 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/dupe.in @@ -0,0 +1,12 @@ +.\" $OpenBSD: dupe.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd August 1, 2014 +.Dt DD-DUPE 1 +.Os +.Dd August 3, 2014 +.Sh NAME +.Nm Dd-dupe +.Nd duplicate date macro +.Sh DESCRIPTION +initial text +.Dd August 5, 2014 +final text diff --git a/contrib/mandoc/regress/mdoc/Dd/dupe.out_ascii b/contrib/mandoc/regress/mdoc/Dd/dupe.out_ascii new file mode 100644 index 00000000000..6cc220d6aad --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/dupe.out_ascii @@ -0,0 +1,9 @@ +DD-DUPE(1) General Commands Manual DD-DUPE(1) + +NNAAMMEE + DDdd--dduuppee - duplicate date macro + +DDEESSCCRRIIPPTTIIOONN + initial text final text + +OpenBSD August 5, 2014 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Dd/dupe.out_lint b/contrib/mandoc/regress/mdoc/Dd/dupe.out_lint new file mode 100644 index 00000000000..72ccde415ea --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/dupe.out_lint @@ -0,0 +1,3 @@ +mandoc: dupe.in:2:5: STYLE: Mdocdate missing: Dd August (OpenBSD) +mandoc: dupe.in:5:2: ERROR: duplicate prologue macro: Dd +mandoc: dupe.in:11:2: ERROR: duplicate prologue macro: Dd diff --git a/contrib/mandoc/regress/mdoc/Dd/dupe.out_markdown b/contrib/mandoc/regress/mdoc/Dd/dupe.out_markdown new file mode 100644 index 00000000000..f5a3b81b970 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/dupe.out_markdown @@ -0,0 +1,12 @@ +DD-DUPE(1) - General Commands Manual + +# NAME + +**Dd-dupe** - duplicate date macro + +# DESCRIPTION + +initial text +final text + +OpenBSD - August 5, 2014 diff --git a/contrib/mandoc/regress/mdoc/Dd/late.in b/contrib/mandoc/regress/mdoc/Dd/late.in new file mode 100644 index 00000000000..36fb527a41c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/late.in @@ -0,0 +1,10 @@ +.\" $OpenBSD: late.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dt DD-LATE 1 +.Os +.Sh NAME +.Nm Dd-late +.Nd late date macro +.Sh DESCRIPTION +initial text +.Dd August 5, 2014 +final text diff --git a/contrib/mandoc/regress/mdoc/Dd/late.out_ascii b/contrib/mandoc/regress/mdoc/Dd/late.out_ascii new file mode 100644 index 00000000000..381b4ef33af --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/late.out_ascii @@ -0,0 +1,9 @@ +DD-LATE(1) General Commands Manual DD-LATE(1) + +NNAAMMEE + DDdd--llaattee - late date macro + +DDEESSCCRRIIPPTTIIOONN + initial text final text + +OpenBSD August 5, 2014 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Dd/late.out_lint b/contrib/mandoc/regress/mdoc/Dd/late.out_lint new file mode 100644 index 00000000000..2a8c2a50630 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/late.out_lint @@ -0,0 +1 @@ +mandoc: late.in:9:2: WARNING: late prologue macro: Dd diff --git a/contrib/mandoc/regress/mdoc/Dd/late.out_markdown b/contrib/mandoc/regress/mdoc/Dd/late.out_markdown new file mode 100644 index 00000000000..1989c845453 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/late.out_markdown @@ -0,0 +1,12 @@ +DD-LATE(1) - General Commands Manual + +# NAME + +**Dd-late** - late date macro + +# DESCRIPTION + +initial text +final text + +OpenBSD - August 5, 2014 diff --git a/contrib/mandoc/regress/mdoc/Dd/long.in b/contrib/mandoc/regress/mdoc/Dd/long.in new file mode 100644 index 00000000000..8be2802ec69 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/long.in @@ -0,0 +1,9 @@ +.\" $OpenBSD: long.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd 1234567890123456789012345678901234567890123456789012345678901234567890123456789 +.Dt DD-LONG 1 +.Os +.Sh NAME +.Nm Dd-long +.Nd long date string +.Sh DESCRIPTION +some text diff --git a/contrib/mandoc/regress/mdoc/Dd/long.out_ascii b/contrib/mandoc/regress/mdoc/Dd/long.out_ascii new file mode 100644 index 00000000000..69811af2771 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/long.out_ascii @@ -0,0 +1,11 @@ +DD-LONG(1) General Commands Manual DD-LONG(1) + +NNAAMMEE + DDdd--lloonngg - long date string + +DDEESSCCRRIIPPTTIIOONN + some text + +OpenBSD +1234567890123456789012345678901234567890123456789012345678901234567890123456789 + OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Dd/long.out_lint b/contrib/mandoc/regress/mdoc/Dd/long.out_lint new file mode 100644 index 00000000000..a189560da64 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/long.out_lint @@ -0,0 +1,2 @@ +mandoc: long.in:2:2: WARNING: cannot parse date, using it verbatim: 1234567890123456789012345678901234567890123456789012345678901234567890123456789 +mandoc: long.in:2:5: STYLE: Mdocdate missing: Dd 1234567890123456789012345678901234567890123456789012345678901234567890123456789 (OpenBSD) diff --git a/contrib/mandoc/regress/mdoc/Dd/long.out_markdown b/contrib/mandoc/regress/mdoc/Dd/long.out_markdown new file mode 100644 index 00000000000..8b5ad963edf --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/long.out_markdown @@ -0,0 +1,11 @@ +DD-LONG(1) - General Commands Manual + +# NAME + +**Dd-long** - long date string + +# DESCRIPTION + +some text + +OpenBSD - 1234567890123456789012345678901234567890123456789012345678901234567890123456789 diff --git a/contrib/mandoc/regress/mdoc/Dd/manarg.in b/contrib/mandoc/regress/mdoc/Dd/manarg.in new file mode 100644 index 00000000000..7082d31b493 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/manarg.in @@ -0,0 +1,9 @@ +.\" $OpenBSD: manarg.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd 2014-08-07 +.Dt DD-MANARG 1 +.Os +.Sh NAME +.Nm Dd-manarg +.Nd date in traditional man format +.Sh DESCRIPTION +some text diff --git a/contrib/mandoc/regress/mdoc/Dd/manarg.out_ascii b/contrib/mandoc/regress/mdoc/Dd/manarg.out_ascii new file mode 100644 index 00000000000..8c4b800f5ac --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/manarg.out_ascii @@ -0,0 +1,9 @@ +DD-MANARG(1) General Commands Manual DD-MANARG(1) + +NNAAMMEE + DDdd--mmaannaarrgg - date in traditional man format + +DDEESSCCRRIIPPTTIIOONN + some text + +OpenBSD 2014-08-07 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Dd/manarg.out_lint b/contrib/mandoc/regress/mdoc/Dd/manarg.out_lint new file mode 100644 index 00000000000..a8f48f44a42 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/manarg.out_lint @@ -0,0 +1,2 @@ +mandoc: manarg.in:2:2: STYLE: legacy man(7) date format: Dd 2014-08-07 +mandoc: manarg.in:2:5: STYLE: Mdocdate missing: Dd 2014-08-07 (OpenBSD) diff --git a/contrib/mandoc/regress/mdoc/Dd/manarg.out_markdown b/contrib/mandoc/regress/mdoc/Dd/manarg.out_markdown new file mode 100644 index 00000000000..c78bdc42a0e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/manarg.out_markdown @@ -0,0 +1,11 @@ +DD-MANARG(1) - General Commands Manual + +# NAME + +**Dd-manarg** - date in traditional man format + +# DESCRIPTION + +some text + +OpenBSD - 2014-08-07 diff --git a/contrib/mandoc/regress/mdoc/Dd/noarg.in b/contrib/mandoc/regress/mdoc/Dd/noarg.in new file mode 100644 index 00000000000..18fa2c627f8 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/noarg.in @@ -0,0 +1,9 @@ +.\" $OpenBSD: noarg.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd +.Dt DD-NOARG 1 +.Os +.Sh NAME +.Nm Dd-noarg +.Nd date macro without an argument +.Sh DESCRIPTION +some text diff --git a/contrib/mandoc/regress/mdoc/Dd/noarg.out_lint b/contrib/mandoc/regress/mdoc/Dd/noarg.out_lint new file mode 100644 index 00000000000..e6ccd352c12 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:2:2: WARNING: missing date, using today's date diff --git a/contrib/mandoc/regress/mdoc/Dd/order.in b/contrib/mandoc/regress/mdoc/Dd/order.in new file mode 100644 index 00000000000..5572e8340df --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/order.in @@ -0,0 +1,9 @@ +.\" $OpenBSD: order.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dt DD-ORDER 1 +.Dd August 5, 2014 +.Os +.Sh NAME +.Nm Dd-order +.Nd date macro after title macro +.Sh DESCRIPTION +some text diff --git a/contrib/mandoc/regress/mdoc/Dd/order.out_ascii b/contrib/mandoc/regress/mdoc/Dd/order.out_ascii new file mode 100644 index 00000000000..64c7925d7e5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/order.out_ascii @@ -0,0 +1,9 @@ +DD-ORDER(1) General Commands Manual DD-ORDER(1) + +NNAAMMEE + DDdd--oorrddeerr - date macro after title macro + +DDEESSCCRRIIPPTTIIOONN + some text + +OpenBSD August 5, 2014 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Dd/order.out_lint b/contrib/mandoc/regress/mdoc/Dd/order.out_lint new file mode 100644 index 00000000000..4eb9d3bdf32 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/order.out_lint @@ -0,0 +1,2 @@ +mandoc: order.in:3:2: WARNING: prologue macros out of order: Dd after Dt +mandoc: order.in:3:5: STYLE: Mdocdate missing: Dd August (OpenBSD) diff --git a/contrib/mandoc/regress/mdoc/Dd/order.out_markdown b/contrib/mandoc/regress/mdoc/Dd/order.out_markdown new file mode 100644 index 00000000000..b5a28c3377c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dd/order.out_markdown @@ -0,0 +1,11 @@ +DD-ORDER(1) - General Commands Manual + +# NAME + +**Dd-order** - date macro after title macro + +# DESCRIPTION + +some text + +OpenBSD - August 5, 2014 diff --git a/contrib/mandoc/regress/mdoc/Dl/Makefile b/contrib/mandoc/regress/mdoc/Dl/Makefile new file mode 100644 index 00000000000..bed27d1b1f1 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dl/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.2 2015/02/06 02:04:35 schwarze Exp $ + +REGRESS_TARGETS = spacing +LINT_TARGETS = spacing + +.include diff --git a/contrib/mandoc/regress/mdoc/Dl/spacing.in b/contrib/mandoc/regress/mdoc/Dl/spacing.in new file mode 100644 index 00000000000..0f485b83d0e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dl/spacing.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: spacing.in,v 1.4 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DL-SPACING 1 +.Os +.Sh NAME +.Nm Dl-spacing +.Nd spacing in and around one-line literal displays +.Sh DESCRIPTION +preceding text +.Dl spacing in and around one-line literal displays +empty display: +.Dl +following text diff --git a/contrib/mandoc/regress/mdoc/Dl/spacing.out_ascii b/contrib/mandoc/regress/mdoc/Dl/spacing.out_ascii new file mode 100644 index 00000000000..c0928ec0211 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dl/spacing.out_ascii @@ -0,0 +1,12 @@ +DL-SPACING(1) General Commands Manual DL-SPACING(1) + +NNAAMMEE + DDll--ssppaacciinngg - spacing in and around one-line literal displays + +DDEESSCCRRIIPPTTIIOONN + preceding text + spacing in and around one-line literal displays + empty display: + following text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Dl/spacing.out_lint b/contrib/mandoc/regress/mdoc/Dl/spacing.out_lint new file mode 100644 index 00000000000..a18ed583a4b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dl/spacing.out_lint @@ -0,0 +1 @@ +mandoc: spacing.in:12:2: WARNING: empty block: Dl diff --git a/contrib/mandoc/regress/mdoc/Dl/spacing.out_markdown b/contrib/mandoc/regress/mdoc/Dl/spacing.out_markdown new file mode 100644 index 00000000000..08d159726fc --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dl/spacing.out_markdown @@ -0,0 +1,17 @@ +DL-SPACING(1) - General Commands Manual + +# NAME + +**Dl-spacing** - spacing in and around one-line literal displays + +# DESCRIPTION + +preceding text + + spacing in and around one-line literal displays + +empty display: + +following text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Dq/Makefile b/contrib/mandoc/regress/mdoc/Dq/Makefile new file mode 100644 index 00000000000..716f480ffcf --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dq/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2011/12/04 03:09:25 schwarze Exp $ + +REGRESS_TARGETS = empty +LINT_TARGETS = empty + +.include diff --git a/contrib/mandoc/regress/mdoc/Dq/empty.in b/contrib/mandoc/regress/mdoc/Dq/empty.in new file mode 100644 index 00000000000..5f471ff357f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dq/empty.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: empty.in,v 1.5 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DQ-EMPTY 1 +.Os +.Sh NAME +.Nm Dq-empty +.Nd empty implicit enclosure macros +.Sh DESCRIPTION +An empty +.Dq +and a full +.Dq "(" user@host) +quotation. +And another +.Do "(" full) Dc one "Sy" bold . diff --git a/contrib/mandoc/regress/mdoc/Dq/empty.out_ascii b/contrib/mandoc/regress/mdoc/Dq/empty.out_ascii new file mode 100644 index 00000000000..1c150ae721c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dq/empty.out_ascii @@ -0,0 +1,10 @@ +DQ-EMPTY(1) General Commands Manual DQ-EMPTY(1) + +NNAAMMEE + DDqq--eemmppttyy - empty implicit enclosure macros + +DDEESSCCRRIIPPTTIIOONN + An empty "" and a full ("user@host)" quotation. And another ("full)" one + bboolldd. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Dq/empty.out_lint b/contrib/mandoc/regress/mdoc/Dq/empty.out_lint new file mode 100644 index 00000000000..e69de29bb2d diff --git a/contrib/mandoc/regress/mdoc/Dq/empty.out_markdown b/contrib/mandoc/regress/mdoc/Dq/empty.out_markdown new file mode 100644 index 00000000000..00e82f81e6e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dq/empty.out_markdown @@ -0,0 +1,17 @@ +DQ-EMPTY(1) - General Commands Manual + +# NAME + +**Dq-empty** - empty implicit enclosure macros + +# DESCRIPTION + +An empty +"" +and a full +("user@host)" +quotation. +And another +("full)" one **bold**. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Dt/Makefile b/contrib/mandoc/regress/mdoc/Dt/Makefile new file mode 100644 index 00000000000..6678d7fb093 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/Makefile @@ -0,0 +1,21 @@ +# $OpenBSD: Makefile,v 1.6 2015/02/16 19:02:32 schwarze Exp $ + +REGRESS_TARGETS = badsec case dupe fourargs late +REGRESS_TARGETS += missing noarg nobody nosec order +LINT_TARGETS = badsec case dupe fourargs late +LINT_TARGETS += missing noarg nobody nosec order + +SKIP_GROFF = badsec nobody +SKIP_ASCII = badsec +SKIP_MARKDOWN ?= badsec + +# When the section is missing from the man(7) .TH title line, +# empty parentheses are shown in the page header. +# When the section is missing from the mdoc(7) .Dt title line, +# no empty parentheses are shown in the page header. +# Hence, there is no bug-compatible translation from mdoc(7) +# to man(7) for this case. That's not mandoc(1)'s fault. + +SKIP_TMAN = fourargs late missing noarg nosec + +.include diff --git a/contrib/mandoc/regress/mdoc/Dt/badsec.in b/contrib/mandoc/regress/mdoc/Dt/badsec.in new file mode 100644 index 00000000000..b2a021de2a9 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/badsec.in @@ -0,0 +1,9 @@ +.\" $OpenBSD: badsec.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DT-BADSEC foo +.Os +.Sh NAME +.Nm Dt-badsec +.Nd unknown manual section +.Sh DESCRIPTION +some text diff --git a/contrib/mandoc/regress/mdoc/Dt/badsec.out_lint b/contrib/mandoc/regress/mdoc/Dt/badsec.out_lint new file mode 100644 index 00000000000..e6606e8b6bb --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/badsec.out_lint @@ -0,0 +1 @@ +mandoc: badsec.in:3:15: WARNING: unknown manual section: Dt ... foo diff --git a/contrib/mandoc/regress/mdoc/Dt/case.in b/contrib/mandoc/regress/mdoc/Dt/case.in new file mode 100644 index 00000000000..dfdf8ad68b2 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/case.in @@ -0,0 +1,9 @@ +.\" $OpenBSD: case.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt Dt-case 1 +.Os +.Sh NAME +.Nm Dt-case +.Nd document title is not all caps +.Sh DESCRIPTION +some text diff --git a/contrib/mandoc/regress/mdoc/Dt/case.out_ascii b/contrib/mandoc/regress/mdoc/Dt/case.out_ascii new file mode 100644 index 00000000000..0978147d401 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/case.out_ascii @@ -0,0 +1,9 @@ +Dt-case(1) General Commands Manual Dt-case(1) + +NNAAMMEE + DDtt--ccaassee - document title is not all caps + +DDEESSCCRRIIPPTTIIOONN + some text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Dt/case.out_lint b/contrib/mandoc/regress/mdoc/Dt/case.out_lint new file mode 100644 index 00000000000..127afbfc481 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/case.out_lint @@ -0,0 +1 @@ +mandoc: case.in:3:6: STYLE: lower case character in document title: Dt Dt-case diff --git a/contrib/mandoc/regress/mdoc/Dt/case.out_markdown b/contrib/mandoc/regress/mdoc/Dt/case.out_markdown new file mode 100644 index 00000000000..9739fb3eb69 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/case.out_markdown @@ -0,0 +1,11 @@ +Dt-case(1) - General Commands Manual + +# NAME + +**Dt-case** - document title is not all caps + +# DESCRIPTION + +some text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Dt/dupe.in b/contrib/mandoc/regress/mdoc/Dt/dupe.in new file mode 100644 index 00000000000..0cfecea7621 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/dupe.in @@ -0,0 +1,12 @@ +.\" $OpenBSD: dupe.in,v 1.4 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DT-FIRST 2 first_arch +.Os +.Dt DT-DUPE 1 +.Sh NAME +.Nm Dt-order +.Nd duplicate prologue macro +.Sh DESCRIPTION +inital text +.Dt DT-LAST 3 last_arch +final text diff --git a/contrib/mandoc/regress/mdoc/Dt/dupe.out_ascii b/contrib/mandoc/regress/mdoc/Dt/dupe.out_ascii new file mode 100644 index 00000000000..09548e7230c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/dupe.out_ascii @@ -0,0 +1,9 @@ +DT-DUPE(1) General Commands Manual DT-DUPE(1) + +NNAAMMEE + DDtt--oorrddeerr - duplicate prologue macro + +DDEESSCCRRIIPPTTIIOONN + inital text final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Dt/dupe.out_lint b/contrib/mandoc/regress/mdoc/Dt/dupe.out_lint new file mode 100644 index 00000000000..8ae9c61b83a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/dupe.out_lint @@ -0,0 +1,2 @@ +mandoc: dupe.in:5:2: ERROR: duplicate prologue macro: Dt +mandoc: dupe.in:11:2: ERROR: skipping late title macro: Dt diff --git a/contrib/mandoc/regress/mdoc/Dt/dupe.out_markdown b/contrib/mandoc/regress/mdoc/Dt/dupe.out_markdown new file mode 100644 index 00000000000..16eba874057 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/dupe.out_markdown @@ -0,0 +1,12 @@ +DT-DUPE(1) - General Commands Manual + +# NAME + +**Dt-order** - duplicate prologue macro + +# DESCRIPTION + +inital text +final text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Dt/fourargs.in b/contrib/mandoc/regress/mdoc/Dt/fourargs.in new file mode 100644 index 00000000000..c3d7a937247 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/fourargs.in @@ -0,0 +1,9 @@ +.\" $OpenBSD: fourargs.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DT-FOURARGS 1 amd64 bogus +.Os +.Sh NAME +.Nm Dt-fourargs +.Nd too many arguments after the \&Dt macro +.Sh DESCRIPTION +some text diff --git a/contrib/mandoc/regress/mdoc/Dt/fourargs.out_ascii b/contrib/mandoc/regress/mdoc/Dt/fourargs.out_ascii new file mode 100644 index 00000000000..56660fc1c9c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/fourargs.out_ascii @@ -0,0 +1,9 @@ +DT-FOURARGS(1) General Commands Manual (amd64) DT-FOURARGS(1) + +NNAAMMEE + DDtt--ffoouurraarrggss - too many arguments after the Dt macro + +DDEESSCCRRIIPPTTIIOONN + some text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Dt/fourargs.out_lint b/contrib/mandoc/regress/mdoc/Dt/fourargs.out_lint new file mode 100644 index 00000000000..789af9c7476 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/fourargs.out_lint @@ -0,0 +1 @@ +mandoc: fourargs.in:3:25: ERROR: skipping excess arguments: Dt ... bogus diff --git a/contrib/mandoc/regress/mdoc/Dt/fourargs.out_markdown b/contrib/mandoc/regress/mdoc/Dt/fourargs.out_markdown new file mode 100644 index 00000000000..f31786b7c3b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/fourargs.out_markdown @@ -0,0 +1,11 @@ +DT-FOURARGS(1) - General Commands Manual (amd64) + +# NAME + +**Dt-fourargs** - too many arguments after the Dt macro + +# DESCRIPTION + +some text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Dt/late.in b/contrib/mandoc/regress/mdoc/Dt/late.in new file mode 100644 index 00000000000..f8997d727ef --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/late.in @@ -0,0 +1,10 @@ +.\" $OpenBSD: late.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Os +.Sh NAME +.Nm Dt-late +.Nd late title macro +.Sh DESCRIPTION +inital text +.Dt DT-LATE 1 +final text diff --git a/contrib/mandoc/regress/mdoc/Dt/late.out_ascii b/contrib/mandoc/regress/mdoc/Dt/late.out_ascii new file mode 100644 index 00000000000..040aeb5c711 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/late.out_ascii @@ -0,0 +1,9 @@ +UNTITLED LOCAL UNTITLED + +NNAAMMEE + DDtt--llaattee - late title macro + +DDEESSCCRRIIPPTTIIOONN + inital text final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Dt/late.out_lint b/contrib/mandoc/regress/mdoc/Dt/late.out_lint new file mode 100644 index 00000000000..eb022107e05 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/late.out_lint @@ -0,0 +1,2 @@ +mandoc: late.in:9:2: ERROR: skipping late title macro: Dt +mandoc: late.in: WARNING: missing manual title, using UNTITLED: EOF diff --git a/contrib/mandoc/regress/mdoc/Dt/late.out_markdown b/contrib/mandoc/regress/mdoc/Dt/late.out_markdown new file mode 100644 index 00000000000..bb3259535c6 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/late.out_markdown @@ -0,0 +1,12 @@ +UNTITLED - LOCAL + +# NAME + +**Dt-late** - late title macro + +# DESCRIPTION + +inital text +final text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Dt/missing.in b/contrib/mandoc/regress/mdoc/Dt/missing.in new file mode 100644 index 00000000000..420f547e1f8 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/missing.in @@ -0,0 +1,8 @@ +.\" $OpenBSD: missing.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Os +.Sh NAME +.Nm Dt-missing +.Nd no title macro at all +.Sh DESCRIPTION +some text diff --git a/contrib/mandoc/regress/mdoc/Dt/missing.out_ascii b/contrib/mandoc/regress/mdoc/Dt/missing.out_ascii new file mode 100644 index 00000000000..54951f7bb64 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/missing.out_ascii @@ -0,0 +1,9 @@ +UNTITLED LOCAL UNTITLED + +NNAAMMEE + DDtt--mmiissssiinngg - no title macro at all + +DDEESSCCRRIIPPTTIIOONN + some text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Dt/missing.out_lint b/contrib/mandoc/regress/mdoc/Dt/missing.out_lint new file mode 100644 index 00000000000..283a60d5773 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/missing.out_lint @@ -0,0 +1 @@ +mandoc: missing.in: WARNING: missing manual title, using UNTITLED: EOF diff --git a/contrib/mandoc/regress/mdoc/Dt/missing.out_markdown b/contrib/mandoc/regress/mdoc/Dt/missing.out_markdown new file mode 100644 index 00000000000..a0461058369 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/missing.out_markdown @@ -0,0 +1,11 @@ +UNTITLED - LOCAL + +# NAME + +**Dt-missing** - no title macro at all + +# DESCRIPTION + +some text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Dt/noarg.in b/contrib/mandoc/regress/mdoc/Dt/noarg.in new file mode 100644 index 00000000000..b0362afc9c6 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/noarg.in @@ -0,0 +1,9 @@ +.\" $OpenBSD: noarg.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt +.Os +.Sh NAME +.Nm Dt-noarg +.Nd title macro without arguments +.Sh DESCRIPTION +some text diff --git a/contrib/mandoc/regress/mdoc/Dt/noarg.out_ascii b/contrib/mandoc/regress/mdoc/Dt/noarg.out_ascii new file mode 100644 index 00000000000..a5fd3fbdcc1 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/noarg.out_ascii @@ -0,0 +1,9 @@ +UNTITLED LOCAL UNTITLED + +NNAAMMEE + DDtt--nnooaarrgg - title macro without arguments + +DDEESSCCRRIIPPTTIIOONN + some text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Dt/noarg.out_lint b/contrib/mandoc/regress/mdoc/Dt/noarg.out_lint new file mode 100644 index 00000000000..6604e632698 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/noarg.out_lint @@ -0,0 +1,2 @@ +mandoc: noarg.in:3:2: WARNING: missing manual title, using UNTITLED: Dt +mandoc: noarg.in:3:2: WARNING: missing manual section, using "": Dt UNTITLED diff --git a/contrib/mandoc/regress/mdoc/Dt/noarg.out_markdown b/contrib/mandoc/regress/mdoc/Dt/noarg.out_markdown new file mode 100644 index 00000000000..6e4acef11b7 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/noarg.out_markdown @@ -0,0 +1,11 @@ +UNTITLED - LOCAL + +# NAME + +**Dt-noarg** - title macro without arguments + +# DESCRIPTION + +some text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Dt/nobody.in b/contrib/mandoc/regress/mdoc/Dt/nobody.in new file mode 100644 index 00000000000..ff7b5635464 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/nobody.in @@ -0,0 +1,4 @@ +.\" $OpenBSD: nobody.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DT-NOBODY 1 +.Os diff --git a/contrib/mandoc/regress/mdoc/Dt/nobody.out_ascii b/contrib/mandoc/regress/mdoc/Dt/nobody.out_ascii new file mode 100644 index 00000000000..edac8b0b460 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/nobody.out_ascii @@ -0,0 +1,3 @@ +DT-NOBODY(1) General Commands Manual DT-NOBODY(1) + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Dt/nobody.out_lint b/contrib/mandoc/regress/mdoc/Dt/nobody.out_lint new file mode 100644 index 00000000000..f5439fcdc56 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/nobody.out_lint @@ -0,0 +1 @@ +mandoc: nobody.in: WARNING: no document body diff --git a/contrib/mandoc/regress/mdoc/Dt/nobody.out_markdown b/contrib/mandoc/regress/mdoc/Dt/nobody.out_markdown new file mode 100644 index 00000000000..c85ee61cc41 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/nobody.out_markdown @@ -0,0 +1,3 @@ +DT-NOBODY(1) - General Commands Manual + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Dt/nosec.in b/contrib/mandoc/regress/mdoc/Dt/nosec.in new file mode 100644 index 00000000000..1838d0f6064 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/nosec.in @@ -0,0 +1,9 @@ +.\" $OpenBSD: nosec.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DT-NOSEC +.Os +.Sh NAME +.Nm Dt-nosec +.Nd title macro without manual section +.Sh DESCRIPTION +some text diff --git a/contrib/mandoc/regress/mdoc/Dt/nosec.out_ascii b/contrib/mandoc/regress/mdoc/Dt/nosec.out_ascii new file mode 100644 index 00000000000..ae2ab8bdec9 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/nosec.out_ascii @@ -0,0 +1,9 @@ +DT-NOSEC LOCAL DT-NOSEC + +NNAAMMEE + DDtt--nnoosseecc - title macro without manual section + +DDEESSCCRRIIPPTTIIOONN + some text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Dt/nosec.out_lint b/contrib/mandoc/regress/mdoc/Dt/nosec.out_lint new file mode 100644 index 00000000000..008819eb210 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/nosec.out_lint @@ -0,0 +1 @@ +mandoc: nosec.in:3:2: WARNING: missing manual section, using "": Dt DT-NOSEC diff --git a/contrib/mandoc/regress/mdoc/Dt/nosec.out_markdown b/contrib/mandoc/regress/mdoc/Dt/nosec.out_markdown new file mode 100644 index 00000000000..6f67320b537 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/nosec.out_markdown @@ -0,0 +1,11 @@ +DT-NOSEC - LOCAL + +# NAME + +**Dt-nosec** - title macro without manual section + +# DESCRIPTION + +some text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Dt/order.in b/contrib/mandoc/regress/mdoc/Dt/order.in new file mode 100644 index 00000000000..bbc27b5973d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/order.in @@ -0,0 +1,9 @@ +.\" $OpenBSD: order.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Os +.Dt DT-ORDER 1 +.Sh NAME +.Nm Dt-order +.Nd prologue macros out of order +.Sh DESCRIPTION +some text diff --git a/contrib/mandoc/regress/mdoc/Dt/order.out_ascii b/contrib/mandoc/regress/mdoc/Dt/order.out_ascii new file mode 100644 index 00000000000..49bd969ed7a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/order.out_ascii @@ -0,0 +1,9 @@ +DT-ORDER(1) General Commands Manual DT-ORDER(1) + +NNAAMMEE + DDtt--oorrddeerr - prologue macros out of order + +DDEESSCCRRIIPPTTIIOONN + some text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Dt/order.out_lint b/contrib/mandoc/regress/mdoc/Dt/order.out_lint new file mode 100644 index 00000000000..bad1c316382 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/order.out_lint @@ -0,0 +1 @@ +mandoc: order.in:4:2: WARNING: prologue macros out of order: Dt after Os diff --git a/contrib/mandoc/regress/mdoc/Dt/order.out_markdown b/contrib/mandoc/regress/mdoc/Dt/order.out_markdown new file mode 100644 index 00000000000..f4b8afaa1ce --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dt/order.out_markdown @@ -0,0 +1,11 @@ +DT-ORDER(1) - General Commands Manual + +# NAME + +**Dt-order** - prologue macros out of order + +# DESCRIPTION + +some text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Dv/Makefile b/contrib/mandoc/regress/mdoc/Dv/Makefile new file mode 100644 index 00000000000..cfe3ad0b4b2 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dv/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.2 2014/07/02 20:18:42 schwarze Exp $ + +REGRESS_TARGETS = font noarg +LINT_TARGETS = noarg + +.include diff --git a/contrib/mandoc/regress/mdoc/Dv/font.in b/contrib/mandoc/regress/mdoc/Dv/font.in new file mode 100644 index 00000000000..de86993a3de --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dv/font.in @@ -0,0 +1,14 @@ +.\" $OpenBSD: font.in,v 1.5 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DV-FONT 1 +.Os +.Sh NAME +.Nm Dv-font +.Nd formatting of defined variables +.Sh DESCRIPTION +The +.Dv BUFSIZ +macro. +.Pp +And with +.Dv some \\fIembedded\\fP string ";" "Sy" bold . diff --git a/contrib/mandoc/regress/mdoc/Dv/font.out_ascii b/contrib/mandoc/regress/mdoc/Dv/font.out_ascii new file mode 100644 index 00000000000..ce45614fc1b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dv/font.out_ascii @@ -0,0 +1,11 @@ +DV-FONT(1) General Commands Manual DV-FONT(1) + +NNAAMMEE + DDvv--ffoonntt - formatting of defined variables + +DDEESSCCRRIIPPTTIIOONN + The BUFSIZ macro. + + And with some _e_m_b_e_d_d_e_d string; bboolldd. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Dv/font.out_markdown b/contrib/mandoc/regress/mdoc/Dv/font.out_markdown new file mode 100644 index 00000000000..e61baa31436 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dv/font.out_markdown @@ -0,0 +1,16 @@ +DV-FONT(1) - General Commands Manual + +# NAME + +**Dv-font** - formatting of defined variables + +# DESCRIPTION + +The +`BUFSIZ` +macro. + +And with +`some embedded string`; **bold**. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Dv/noarg.in b/contrib/mandoc/regress/mdoc/Dv/noarg.in new file mode 100644 index 00000000000..49398de0635 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dv/noarg.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: noarg.in,v 1.3 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DV-NOARG 1 +.Os +.Sh NAME +.Nm Dv-noarg +.Nd defined variable macro without an argument +.Sh DESCRIPTION +with variable: +.Dv NULL. +no variable: +.Dv +end of test document diff --git a/contrib/mandoc/regress/mdoc/Dv/noarg.out_ascii b/contrib/mandoc/regress/mdoc/Dv/noarg.out_ascii new file mode 100644 index 00000000000..77a945b7fb7 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dv/noarg.out_ascii @@ -0,0 +1,9 @@ +DV-NOARG(1) General Commands Manual DV-NOARG(1) + +NNAAMMEE + DDvv--nnooaarrgg - defined variable macro without an argument + +DDEESSCCRRIIPPTTIIOONN + with variable: NULL. no variable: end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Dv/noarg.out_lint b/contrib/mandoc/regress/mdoc/Dv/noarg.out_lint new file mode 100644 index 00000000000..620c0e44bcb --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dv/noarg.out_lint @@ -0,0 +1,2 @@ +mandoc: noarg.in:12:2: WARNING: skipping empty macro: Dv +mandoc: noarg.in:10:9: STYLE: no blank before trailing delimiter: Dv NULL. diff --git a/contrib/mandoc/regress/mdoc/Dv/noarg.out_markdown b/contrib/mandoc/regress/mdoc/Dv/noarg.out_markdown new file mode 100644 index 00000000000..70e87ebc352 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Dv/noarg.out_markdown @@ -0,0 +1,14 @@ +DV-NOARG(1) - General Commands Manual + +# NAME + +**Dv-noarg** - defined variable macro without an argument + +# DESCRIPTION + +with variable: +`NULL.` +no variable: +end of test document + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Em/Makefile b/contrib/mandoc/regress/mdoc/Em/Makefile new file mode 100644 index 00000000000..13de4337a20 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Em/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.3 2014/11/17 06:44:35 schwarze Exp $ + +REGRESS_TARGETS = font noarg punct +LINT_TARGETS = noarg punct + +.include diff --git a/contrib/mandoc/regress/mdoc/Em/font.in b/contrib/mandoc/regress/mdoc/Em/font.in new file mode 100644 index 00000000000..c9a8878ea63 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Em/font.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: font.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt EM-FONT 1 +.Os +.Sh NAME +.Nm Em-font +.Nd changing fonts inside the emphasis macro +.Sh DESCRIPTION +normal text +.Em emphasis\\fBbold\\fPback +trailing text diff --git a/contrib/mandoc/regress/mdoc/Em/font.out_ascii b/contrib/mandoc/regress/mdoc/Em/font.out_ascii new file mode 100644 index 00000000000..dbe88e9d62f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Em/font.out_ascii @@ -0,0 +1,9 @@ +EM-FONT(1) General Commands Manual EM-FONT(1) + +NNAAMMEE + EEmm--ffoonntt - changing fonts inside the emphasis macro + +DDEESSCCRRIIPPTTIIOONN + normal text _e_m_p_h_a_s_i_sbboolldd_b_a_c_k trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Em/font.out_markdown b/contrib/mandoc/regress/mdoc/Em/font.out_markdown new file mode 100644 index 00000000000..42b8c46a4e5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Em/font.out_markdown @@ -0,0 +1,13 @@ +EM-FONT(1) - General Commands Manual + +# NAME + +**Em-font** - changing fonts inside the emphasis macro + +# DESCRIPTION + +normal text +*emphasis**bold**back* +trailing text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Em/noarg.in b/contrib/mandoc/regress/mdoc/Em/noarg.in new file mode 100644 index 00000000000..544ab7401f4 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Em/noarg.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: noarg.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt EM-NOARG 1 +.Os +.Sh NAME +.Nm Em-noarg +.Nd emphasis macro without arguments +.Sh DESCRIPTION +with argument +.Em arg +no argument +.Em +end of test document diff --git a/contrib/mandoc/regress/mdoc/Em/noarg.out_ascii b/contrib/mandoc/regress/mdoc/Em/noarg.out_ascii new file mode 100644 index 00000000000..465f78bf101 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Em/noarg.out_ascii @@ -0,0 +1,9 @@ +EM-NOARG(1) General Commands Manual EM-NOARG(1) + +NNAAMMEE + EEmm--nnooaarrgg - emphasis macro without arguments + +DDEESSCCRRIIPPTTIIOONN + with argument _a_r_g no argument end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Em/noarg.out_lint b/contrib/mandoc/regress/mdoc/Em/noarg.out_lint new file mode 100644 index 00000000000..0047f8de1b3 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Em/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:12:2: WARNING: skipping empty macro: Em diff --git a/contrib/mandoc/regress/mdoc/Em/noarg.out_markdown b/contrib/mandoc/regress/mdoc/Em/noarg.out_markdown new file mode 100644 index 00000000000..3a9009745bf --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Em/noarg.out_markdown @@ -0,0 +1,14 @@ +EM-NOARG(1) - General Commands Manual + +# NAME + +**Em-noarg** - emphasis macro without arguments + +# DESCRIPTION + +with argument +*arg* +no argument +end of test document + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Em/punct.in b/contrib/mandoc/regress/mdoc/Em/punct.in new file mode 100644 index 00000000000..5cba88704be --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Em/punct.in @@ -0,0 +1,87 @@ +.\" $OpenBSD: punct.in,v 1.4 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt EM-PUNCT 1 +.Os +.Sh NAME +.Nm Em-punct +.Nd punctuation following an emphasis macro +.Sh DESCRIPTION +Leading punctuation: +.Em ( b +.Em "[" b +.Em | b +.Em . b +.Em , b +.Em ; b +.Em : b +.Em ? b +.Em ! b +.Em ) b +.Em "]" b +.Pp +Trailing punctuation: +.Em a ( +.Em a [ +.Em a | +.Em a . +.Em a , +.Em a ; +.Em a : +.Em a ? +.Em a ! +.Em a ")" +.Em a ] +.Pp +Middle punctuation: +.Em a ( b +.Em a [ b +.Em a "|" b +.Em a . b +.Em a , b +.Em a ; b +.Em a ":" b +.Em a ? b +.Em a ! b +.Em a ) b +.Em a ] b +.Pp +Isolated punctuation: +.Em a Em ( Em b +.Em a Em [ Em b +.Em a Em | Em b +.Em a Em . Em b +.Em a Em , Em b +.Em a Em ; Em b +.Em a Em : Em b +.Em a Em ? Em b +.Em a Em ! Em b +.Em a Em ) Em b +.Em a Em ] Em b +.Pp +Isolated trailing punctuation: +.Em a Em ( +.Em a Em [ +.Em a Em | +.Em a Em . +.Em a Em , +.Em a Em ; +.Em a Em : +.Em a Em ? +.Em a Em ! +.Em a Em ) +.Em a Em ] +.Pp +Multiple isolated punctuation: +.Em a Em ( [ Em b +.Em a Em ) ] Em b +.Pp +Multiple punctuation: +.Em [ ( arg ) ] . +.Pp +Quoted: +.Em "a . b Nm" "Sy" bold +.Em ". b Nm" +.Em "." +.Pp +Missing blank: +.Em a. diff --git a/contrib/mandoc/regress/mdoc/Em/punct.out_ascii b/contrib/mandoc/regress/mdoc/Em/punct.out_ascii new file mode 100644 index 00000000000..4a50b1d3b72 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Em/punct.out_ascii @@ -0,0 +1,28 @@ +EM-PUNCT(1) General Commands Manual EM-PUNCT(1) + +NNAAMMEE + EEmm--ppuunncctt - punctuation following an emphasis macro + +DDEESSCCRRIIPPTTIIOONN + Leading punctuation: (_b [_b | _b . _b , _b ; _b : _b ? _b ! _b ) _b ] _b + + Trailing punctuation: _a ( _a [ _a | _a. _a, _a; _a: _a? _a! _a) _a] + + Middle punctuation: _a (_b _a [_b _a | _b _a. _b _a, _b _a; _b _a: _b _a? _b _a! _b _a) _b _a] + _b + + Isolated punctuation: _a (_b _a [_b _a | _b _a . _b _a , _b _a ; _b _a : _b _a ? _b _a ! _b + _a ) _b _a ] _b + + Isolated trailing punctuation: _a ( _a [ _a | _a . _a , _a ; _a : _a ? _a ! _a ) + _a ] + + Multiple isolated punctuation: _a ([_b _a )] _b + + Multiple punctuation: [(_a_r_g)]. + + Quoted: _a _. _b _N_m bboolldd _. _b _N_m . + + Missing blank: _a_. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Em/punct.out_lint b/contrib/mandoc/regress/mdoc/Em/punct.out_lint new file mode 100644 index 00000000000..5280c87c1fe --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Em/punct.out_lint @@ -0,0 +1,26 @@ +mandoc: punct.in:49:7: WARNING: skipping empty macro: Em +mandoc: punct.in:50:7: WARNING: skipping empty macro: Em +mandoc: punct.in:51:7: WARNING: skipping empty macro: Em +mandoc: punct.in:52:7: WARNING: skipping empty macro: Em +mandoc: punct.in:53:7: WARNING: skipping empty macro: Em +mandoc: punct.in:54:7: WARNING: skipping empty macro: Em +mandoc: punct.in:55:7: WARNING: skipping empty macro: Em +mandoc: punct.in:56:7: WARNING: skipping empty macro: Em +mandoc: punct.in:57:7: WARNING: skipping empty macro: Em +mandoc: punct.in:58:7: WARNING: skipping empty macro: Em +mandoc: punct.in:59:7: WARNING: skipping empty macro: Em +mandoc: punct.in:62:7: WARNING: skipping empty macro: Em +mandoc: punct.in:63:7: WARNING: skipping empty macro: Em +mandoc: punct.in:64:7: WARNING: skipping empty macro: Em +mandoc: punct.in:65:7: WARNING: skipping empty macro: Em +mandoc: punct.in:66:7: WARNING: skipping empty macro: Em +mandoc: punct.in:67:7: WARNING: skipping empty macro: Em +mandoc: punct.in:68:7: WARNING: skipping empty macro: Em +mandoc: punct.in:69:7: WARNING: skipping empty macro: Em +mandoc: punct.in:70:7: WARNING: skipping empty macro: Em +mandoc: punct.in:71:7: WARNING: skipping empty macro: Em +mandoc: punct.in:72:7: WARNING: skipping empty macro: Em +mandoc: punct.in:75:7: WARNING: skipping empty macro: Em +mandoc: punct.in:76:7: WARNING: skipping empty macro: Em +mandoc: punct.in:84:2: WARNING: skipping empty macro: Em +mandoc: punct.in:87:6: STYLE: no blank before trailing delimiter: Em a. diff --git a/contrib/mandoc/regress/mdoc/Em/punct.out_markdown b/contrib/mandoc/regress/mdoc/Em/punct.out_markdown new file mode 100644 index 00000000000..495fe2529cf --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Em/punct.out_markdown @@ -0,0 +1,89 @@ +EM-PUNCT(1) - General Commands Manual + +# NAME + +**Em-punct** - punctuation following an emphasis macro + +# DESCRIPTION + +Leading punctuation: +(*b* +\[*b* +| *b* +. *b* +, *b* +; *b* +: *b* +? *b* +! *b* +) *b* +] *b* + +Trailing punctuation: +*a* ( +*a* \[ +*a* | +*a*. +*a*, +*a*; +*a*: +*a*? +*a*! +*a*) +*a*] + +Middle punctuation: +*a* (*b* +*a* \[*b* +*a* | *b* +*a*. *b* +*a*, *b* +*a*; *b* +*a*: *b* +*a*? *b* +*a*! *b* +*a*) *b* +*a*] *b* + +Isolated punctuation: +*a* (*b* +*a* \[*b* +*a* | *b* +*a* . *b* +*a* , *b* +*a* ; *b* +*a* : *b* +*a* ? *b* +*a* ! *b* +*a* ) *b* +*a* ] *b* + +Isolated trailing punctuation: +*a* ( +*a* \[ +*a* | +*a* . +*a* , +*a* ; +*a* : +*a* ? +*a* ! +*a* ) +*a* ] + +Multiple isolated punctuation: +*a* (\[*b* +*a* )] *b* + +Multiple punctuation: +\[(*arg*)]. + +Quoted: +*a . b Nm* **bold** +*. b Nm* +. + +Missing blank: +*a.* + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Eo/Makefile b/contrib/mandoc/regress/mdoc/Eo/Makefile new file mode 100644 index 00000000000..0034e271182 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Eo/Makefile @@ -0,0 +1,11 @@ +# $OpenBSD: Makefile,v 1.4 2015/02/11 14:14:53 schwarze Exp $ + +REGRESS_TARGETS = break empty obsolete unclosed +LINT_TARGETS = break obsolete unclosed + +# groff-1.22.3 defect: +# - When .Ec is missing, groff prints no page footer. + +SKIP_GROFF = unclosed + +.include diff --git a/contrib/mandoc/regress/mdoc/Eo/break.in b/contrib/mandoc/regress/mdoc/Eo/break.in new file mode 100644 index 00000000000..8dd08de00bf --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Eo/break.in @@ -0,0 +1,69 @@ +.\" $OpenBSD: break.in,v 1.3 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt EO-BREAK 1 +.Os +.Sh NAME +.Nm Eo-break +.Nd breaking a custom enclosure block +.Sh DESCRIPTION +break +.Eo << +eo +.Bo +bo +ec +.Ec >> +bc +.Bc +no closing +.Eo << +eo +.Bo +bo +ec +.Ec +bc +.Bc +no content +.Eo << +.Bo +.Ec >> +bc +.Bc +opening only +.Eo << +.Bo +.Ec +bc +.Bc +broken +.Bo +bo +.Eo << +eo +bc +.Bc +ec +.Ec >> +no content +.Bo +bo +.Eo << +.Bc +.Ec >> +no opening +.Bo +bo +.Eo +eo +bc +.Bc +ec +.Ec >> +closing only +.Bo +bo +.Eo +.Bc +.Ec >> +final text diff --git a/contrib/mandoc/regress/mdoc/Eo/break.out_ascii b/contrib/mandoc/regress/mdoc/Eo/break.out_ascii new file mode 100644 index 00000000000..de4f079ae08 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Eo/break.out_ascii @@ -0,0 +1,11 @@ +EO-BREAK(1) General Commands Manual EO-BREAK(1) + +NNAAMMEE + EEoo--bbrreeaakk - breaking a custom enclosure block + +DDEESSCCRRIIPPTTIIOONN + break <> bc] no closing <> bc] + opening only <<[ bc] broken [bo <> no content [bo <<]>> no + opening [bo eo bc] ec>> closing only [bo ]>> final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Eo/break.out_lint b/contrib/mandoc/regress/mdoc/Eo/break.out_lint new file mode 100644 index 00000000000..d418f581051 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Eo/break.out_lint @@ -0,0 +1,8 @@ +mandoc: break.in:15:2: WARNING: blocks badly nested: Eo breaks Bo +mandoc: break.in:24:2: WARNING: blocks badly nested: Eo breaks Bo +mandoc: break.in:30:2: WARNING: blocks badly nested: Eo breaks Bo +mandoc: break.in:36:2: WARNING: blocks badly nested: Eo breaks Bo +mandoc: break.in:45:2: WARNING: blocks badly nested: Bo breaks Eo +mandoc: break.in:52:2: WARNING: blocks badly nested: Bo breaks Eo +mandoc: break.in:60:2: WARNING: blocks badly nested: Bo breaks Eo +mandoc: break.in:67:2: WARNING: blocks badly nested: Bo breaks Eo diff --git a/contrib/mandoc/regress/mdoc/Eo/break.out_markdown b/contrib/mandoc/regress/mdoc/Eo/break.out_markdown new file mode 100644 index 00000000000..681be419a55 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Eo/break.out_markdown @@ -0,0 +1,43 @@ +EO-BREAK(1) - General Commands Manual + +# NAME + +**Eo-break** - breaking a custom enclosure block + +# DESCRIPTION + +break +<<eo +\[bo +ec>> +bc] +no closing +<<eo +\[bo +ec +bc] +no content +<<\[>> +bc] +opening only +<<\[ +bc] +broken +\[bo +<<eo +bc] +ec>> +no content +\[bo +<<]>> +no opening +\[bo +eo +bc] +ec>> +closing only +\[bo +]>> +final text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Eo/empty.in b/contrib/mandoc/regress/mdoc/Eo/empty.in new file mode 100644 index 00000000000..52c0dc0c5e0 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Eo/empty.in @@ -0,0 +1,52 @@ +.\" $OpenBSD: empty.in,v 1.5 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt EO-EMPTY 1 +.Os +.Sh NAME +.Nm Eo-empty +.Nd empty implicit enclosure macros +.Sh DESCRIPTION +completely empty +.Eo +.Ec +closing only +.Eo +.Ec >> +content only +.Eo +text +.Ec +opening only +.Eo << +.Ec +no opening +.Eo +text +.Ec >> +no content +.Eo << +.Ec >> +no closing +.Eo << +text +.Ec +all +.Eo << +text +.Ec >> "Sy" bold +completely empty +.No prefix Ns Eo +.Ec +closing only +.No prefix Ns Eo +.Ec >> +no opening +.No prefix Ns Eo +text +.Ec >> +no closing +.Eo << +.No prefix Ns Ec +stray closing +.Ec >> +end of file diff --git a/contrib/mandoc/regress/mdoc/Eo/empty.out_ascii b/contrib/mandoc/regress/mdoc/Eo/empty.out_ascii new file mode 100644 index 00000000000..344f2bfd79f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Eo/empty.out_ascii @@ -0,0 +1,13 @@ +EO-EMPTY(1) General Commands Manual EO-EMPTY(1) + +NNAAMMEE + EEoo--eemmppttyy - empty implicit enclosure macros + +DDEESSCCRRIIPPTTIIOONN + completely empty closing only >> content only text opening only << no + opening text>> no content <<>> no closing <> bboolldd + completely empty prefix closing only prefix>> no opening prefixtext>> no + closing <> end of file + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Eo/empty.out_markdown b/contrib/mandoc/regress/mdoc/Eo/empty.out_markdown new file mode 100644 index 00000000000..7507d7811b7 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Eo/empty.out_markdown @@ -0,0 +1,35 @@ +EO-EMPTY(1) - General Commands Manual + +# NAME + +**Eo-empty** - empty implicit enclosure macros + +# DESCRIPTION + +completely empty +closing only +>> +content only +text +opening only +<< +no opening +text>> +no content +<<>> +no closing +<<text +all +<<text>> **bold** +completely empty +prefixclosing only +prefix>> +no opening +prefixtext>> +no closing +<<prefix +stray closing +>> +end of file + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Eo/obsolete.in b/contrib/mandoc/regress/mdoc/Eo/obsolete.in new file mode 100644 index 00000000000..8d18084489b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Eo/obsolete.in @@ -0,0 +1,21 @@ +.\" $OpenBSD: obsolete.in,v 1.3 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt EO-OBSOLETE 1 +.Os +.Sh NAME +.Nm Eo-obsolete +.Nd obsolete enclosure macros +.Sh DESCRIPTION +.En no prior \&Es +.Pp +.Es << >> surplus +initial text +.En enclosed words with Fl flags +middle text +.En "(" more enclosed words +final text +.Pp +.Es +initial text +.En after empty \&Es +final text diff --git a/contrib/mandoc/regress/mdoc/Eo/obsolete.out_ascii b/contrib/mandoc/regress/mdoc/Eo/obsolete.out_ascii new file mode 100644 index 00000000000..46012dbb92e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Eo/obsolete.out_ascii @@ -0,0 +1,14 @@ +EO-OBSOLETE(1) General Commands Manual EO-OBSOLETE(1) + +NNAAMMEE + EEoo--oobbssoolleettee - obsolete enclosure macros + +DDEESSCCRRIIPPTTIIOONN + no prior Es + + surplus initial text <> middle text (<> final text + + initial text after empty Es final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Eo/obsolete.out_lint b/contrib/mandoc/regress/mdoc/Eo/obsolete.out_lint new file mode 100644 index 00000000000..649c62a88be --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Eo/obsolete.out_lint @@ -0,0 +1,6 @@ +mandoc: obsolete.in:9:2: WARNING: obsolete macro: En +mandoc: obsolete.in:11:2: WARNING: obsolete macro: Es +mandoc: obsolete.in:13:2: WARNING: obsolete macro: En +mandoc: obsolete.in:15:2: WARNING: obsolete macro: En +mandoc: obsolete.in:18:2: WARNING: obsolete macro: Es +mandoc: obsolete.in:20:2: WARNING: obsolete macro: En diff --git a/contrib/mandoc/regress/mdoc/Eo/obsolete.out_markdown b/contrib/mandoc/regress/mdoc/Eo/obsolete.out_markdown new file mode 100644 index 00000000000..8e12554734c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Eo/obsolete.out_markdown @@ -0,0 +1,22 @@ +EO-OBSOLETE(1) - General Commands Manual + +# NAME + +**Eo-obsolete** - obsolete enclosure macros + +# DESCRIPTION + +no prior Es + +surplus +initial text +<<enclosed words with **-flags**>> +middle text +(<<more enclosed words>> +final text + +initial text +after empty Es +final text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Eo/unclosed.in b/contrib/mandoc/regress/mdoc/Eo/unclosed.in new file mode 100644 index 00000000000..d1df0c31a2d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Eo/unclosed.in @@ -0,0 +1,10 @@ +.\" $OpenBSD: unclosed.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt EO-UNCLOSED 1 +.Os +.Sh NAME +.Nm Eo-unclosed +.Nd unclosed custom enclosure block +.Sh DESCRIPTION +before block +.Eo << diff --git a/contrib/mandoc/regress/mdoc/Eo/unclosed.out_ascii b/contrib/mandoc/regress/mdoc/Eo/unclosed.out_ascii new file mode 100644 index 00000000000..7cef08ff9b5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Eo/unclosed.out_ascii @@ -0,0 +1,9 @@ +EO-UNCLOSED(1) General Commands Manual EO-UNCLOSED(1) + +NNAAMMEE + EEoo--uunncclloosseedd - unclosed custom enclosure block + +DDEESSCCRRIIPPTTIIOONN + before block << + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Eo/unclosed.out_lint b/contrib/mandoc/regress/mdoc/Eo/unclosed.out_lint new file mode 100644 index 00000000000..85ca34d13bb --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Eo/unclosed.out_lint @@ -0,0 +1 @@ +mandoc: unclosed.in:10:2: ERROR: appending missing end of block: Eo diff --git a/contrib/mandoc/regress/mdoc/Eo/unclosed.out_markdown b/contrib/mandoc/regress/mdoc/Eo/unclosed.out_markdown new file mode 100644 index 00000000000..17ce6b5c8a3 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Eo/unclosed.out_markdown @@ -0,0 +1,12 @@ +EO-UNCLOSED(1) - General Commands Manual + +# NAME + +**Eo-unclosed** - unclosed custom enclosure block + +# DESCRIPTION + +before block +<< + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Er/Makefile b/contrib/mandoc/regress/mdoc/Er/Makefile new file mode 100644 index 00000000000..1be2a84aeb4 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Er/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.4 2014/07/02 20:18:42 schwarze Exp $ + +REGRESS_TARGETS = noarg font +LINT_TARGETS = noarg + +.include diff --git a/contrib/mandoc/regress/mdoc/Er/font.in b/contrib/mandoc/regress/mdoc/Er/font.in new file mode 100644 index 00000000000..03ad2ec903c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Er/font.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: font.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ER-FONT 1 +.Os +.Sh NAME +.Nm Er-font +.Nd changing fonts inside the error code macro +.Sh DESCRIPTION +normal text +.Er EFONT\\fIemphasis\\fPEBACK +trailing text diff --git a/contrib/mandoc/regress/mdoc/Er/font.out_ascii b/contrib/mandoc/regress/mdoc/Er/font.out_ascii new file mode 100644 index 00000000000..ee0a5da91e8 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Er/font.out_ascii @@ -0,0 +1,9 @@ +ER-FONT(1) General Commands Manual ER-FONT(1) + +NNAAMMEE + EErr--ffoonntt - changing fonts inside the error code macro + +DDEESSCCRRIIPPTTIIOONN + normal text EFONT_e_m_p_h_a_s_i_sEBACK trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Er/font.out_markdown b/contrib/mandoc/regress/mdoc/Er/font.out_markdown new file mode 100644 index 00000000000..4cc1fe8b376 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Er/font.out_markdown @@ -0,0 +1,13 @@ +ER-FONT(1) - General Commands Manual + +# NAME + +**Er-font** - changing fonts inside the error code macro + +# DESCRIPTION + +normal text +`EFONTemphasisEBACK` +trailing text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Er/noarg.in b/contrib/mandoc/regress/mdoc/Er/noarg.in new file mode 100644 index 00000000000..7f18f987af9 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Er/noarg.in @@ -0,0 +1,14 @@ +.\" $OpenBSD: noarg.in,v 1.5 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ER-NOARG 1 +.Os +.Sh NAME +.Nm Er-noarg +.Nd error constant macro without an argument +.Sh DESCRIPTION +with error: +.Er ENOENT ";" "Sy" bold ; +.Er EIO. +no error: +.Er +end of test document diff --git a/contrib/mandoc/regress/mdoc/Er/noarg.out_ascii b/contrib/mandoc/regress/mdoc/Er/noarg.out_ascii new file mode 100644 index 00000000000..f881ccde41b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Er/noarg.out_ascii @@ -0,0 +1,9 @@ +ER-NOARG(1) General Commands Manual ER-NOARG(1) + +NNAAMMEE + EErr--nnooaarrgg - error constant macro without an argument + +DDEESSCCRRIIPPTTIIOONN + with error: ENOENT; bboolldd; EIO. no error: end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Er/noarg.out_lint b/contrib/mandoc/regress/mdoc/Er/noarg.out_lint new file mode 100644 index 00000000000..afed768ed4e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Er/noarg.out_lint @@ -0,0 +1,2 @@ +mandoc: noarg.in:13:2: WARNING: skipping empty macro: Er +mandoc: noarg.in:11:8: STYLE: no blank before trailing delimiter: Er EIO. diff --git a/contrib/mandoc/regress/mdoc/Er/noarg.out_markdown b/contrib/mandoc/regress/mdoc/Er/noarg.out_markdown new file mode 100644 index 00000000000..4337d917540 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Er/noarg.out_markdown @@ -0,0 +1,15 @@ +ER-NOARG(1) - General Commands Manual + +# NAME + +**Er-noarg** - error constant macro without an argument + +# DESCRIPTION + +with error: +`ENOENT`; **bold**; +`EIO.` +no error: +end of test document + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Ev/Makefile b/contrib/mandoc/regress/mdoc/Ev/Makefile new file mode 100644 index 00000000000..cfe3ad0b4b2 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ev/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.2 2014/07/02 20:18:42 schwarze Exp $ + +REGRESS_TARGETS = font noarg +LINT_TARGETS = noarg + +.include diff --git a/contrib/mandoc/regress/mdoc/Ev/font.in b/contrib/mandoc/regress/mdoc/Ev/font.in new file mode 100644 index 00000000000..3fed0ade70e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ev/font.in @@ -0,0 +1,14 @@ +.\" $OpenBSD: font.in,v 1.5 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt EV-FONT 1 +.Os +.Sh NAME +.Nm Ev-font +.Nd formatting of environment variables +.Sh DESCRIPTION +The +.Ev PATH +variable. +.Pp +And with +.Ev some \\fIembedded\\fP string ";" "Sy" bold. diff --git a/contrib/mandoc/regress/mdoc/Ev/font.out_ascii b/contrib/mandoc/regress/mdoc/Ev/font.out_ascii new file mode 100644 index 00000000000..44cc5c20ea5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ev/font.out_ascii @@ -0,0 +1,11 @@ +EV-FONT(1) General Commands Manual EV-FONT(1) + +NNAAMMEE + EEvv--ffoonntt - formatting of environment variables + +DDEESSCCRRIIPPTTIIOONN + The PATH variable. + + And with some _e_m_b_e_d_d_e_d string; bboolldd.. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ev/font.out_markdown b/contrib/mandoc/regress/mdoc/Ev/font.out_markdown new file mode 100644 index 00000000000..603a15c1313 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ev/font.out_markdown @@ -0,0 +1,16 @@ +EV-FONT(1) - General Commands Manual + +# NAME + +**Ev-font** - formatting of environment variables + +# DESCRIPTION + +The +`PATH` +variable. + +And with +`some embedded string`; **bold.** + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Ev/noarg.in b/contrib/mandoc/regress/mdoc/Ev/noarg.in new file mode 100644 index 00000000000..0c35b30ae4a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ev/noarg.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: noarg.in,v 1.3 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt EV-NOARG 1 +.Os +.Sh NAME +.Nm Ev-noarg +.Nd environment variable macro without an argument +.Sh DESCRIPTION +with variable: +.Ev HOME. +no variable: +.Ev +end of test document diff --git a/contrib/mandoc/regress/mdoc/Ev/noarg.out_ascii b/contrib/mandoc/regress/mdoc/Ev/noarg.out_ascii new file mode 100644 index 00000000000..82b2b40f8c2 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ev/noarg.out_ascii @@ -0,0 +1,9 @@ +EV-NOARG(1) General Commands Manual EV-NOARG(1) + +NNAAMMEE + EEvv--nnooaarrgg - environment variable macro without an argument + +DDEESSCCRRIIPPTTIIOONN + with variable: HOME. no variable: end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ev/noarg.out_lint b/contrib/mandoc/regress/mdoc/Ev/noarg.out_lint new file mode 100644 index 00000000000..ded8eeb8060 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ev/noarg.out_lint @@ -0,0 +1,2 @@ +mandoc: noarg.in:12:2: WARNING: skipping empty macro: Ev +mandoc: noarg.in:10:9: STYLE: no blank before trailing delimiter: Ev HOME. diff --git a/contrib/mandoc/regress/mdoc/Ev/noarg.out_markdown b/contrib/mandoc/regress/mdoc/Ev/noarg.out_markdown new file mode 100644 index 00000000000..926ce98903c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ev/noarg.out_markdown @@ -0,0 +1,14 @@ +EV-NOARG(1) - General Commands Manual + +# NAME + +**Ev-noarg** - environment variable macro without an argument + +# DESCRIPTION + +with variable: +`HOME.` +no variable: +end of test document + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Ex/Makefile b/contrib/mandoc/regress/mdoc/Ex/Makefile new file mode 100644 index 00000000000..8a714ce124e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ex/Makefile @@ -0,0 +1,11 @@ +# $OpenBSD: Makefile,v 1.1 2014/08/14 02:00:53 schwarze Exp $ + +REGRESS_TARGETS = args noname nostd +LINT_TARGETS = noname nostd + +# groff-1.22.2 defect: +# - .Ex without -std produces no output + +SKIP_GROFF = nostd + +.include diff --git a/contrib/mandoc/regress/mdoc/Ex/args.in b/contrib/mandoc/regress/mdoc/Ex/args.in new file mode 100644 index 00000000000..29b41992769 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ex/args.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: args.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt EX-ARGS 1 +.Os +.Sh NAME +.Nm Ex-args +.Nd arguments to the exit value macro +.Sh EXIT STATUS +no arguments: +.Ex -std +.Pp +one argument: +.Ex -std one +.Pp +two arguments: +.Ex -std one two diff --git a/contrib/mandoc/regress/mdoc/Ex/args.out_ascii b/contrib/mandoc/regress/mdoc/Ex/args.out_ascii new file mode 100644 index 00000000000..b6bdfe2c8cf --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ex/args.out_ascii @@ -0,0 +1,16 @@ +EX-ARGS(1) General Commands Manual EX-ARGS(1) + +NNAAMMEE + EExx--aarrggss - arguments to the exit value macro + +EEXXIITT SSTTAATTUUSS + no arguments: + The EExx--aarrggss utility exits 0 on success, and >0 if an error occurs. + + one argument: + The oonnee utility exits 0 on success, and >0 if an error occurs. + + two arguments: + The oonnee and ttwwoo utilities exit 0 on success, and >0 if an error occurs. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ex/args.out_markdown b/contrib/mandoc/regress/mdoc/Ex/args.out_markdown new file mode 100644 index 00000000000..5fe2542d129 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ex/args.out_markdown @@ -0,0 +1,18 @@ +EX-ARGS(1) - General Commands Manual + +# NAME + +**Ex-args** - arguments to the exit value macro + +# EXIT STATUS + +no arguments: +The **Ex-args** utility exits 0 on success, and >0 if an error occurs. + +one argument: +The **one** utility exits 0 on success, and >0 if an error occurs. + +two arguments: +The **one** and **two** utilities exit 0 on success, and >0 if an error occurs. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Ex/noname.in b/contrib/mandoc/regress/mdoc/Ex/noname.in new file mode 100644 index 00000000000..01eed5a3359 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ex/noname.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: noname.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt EX-NONAME 1 +.Os +.Sh NAME +.Nm +.Nd exit value macro without an available name +.Sh EXIT STATUS +no arguments: +.Ex -std +.Pp +one argument: +.Ex -std one +.Pp +two arguments: +.Ex -std one two diff --git a/contrib/mandoc/regress/mdoc/Ex/noname.out_ascii b/contrib/mandoc/regress/mdoc/Ex/noname.out_ascii new file mode 100644 index 00000000000..b078d8e8742 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ex/noname.out_ascii @@ -0,0 +1,16 @@ +EX-NONAME(1) General Commands Manual EX-NONAME(1) + +NNAAMMEE + - exit value macro without an available name + +EEXXIITT SSTTAATTUUSS + no arguments: + The utility exits 0 on success, and >0 if an error occurs. + + one argument: + The oonnee utility exits 0 on success, and >0 if an error occurs. + + two arguments: + The oonnee and ttwwoo utilities exit 0 on success, and >0 if an error occurs. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ex/noname.out_lint b/contrib/mandoc/regress/mdoc/Ex/noname.out_lint new file mode 100644 index 00000000000..8097c475848 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ex/noname.out_lint @@ -0,0 +1,2 @@ +mandoc: noname.in:6:2: ERROR: missing manual name, using "": Nm +mandoc: noname.in:10:2: WARNING: missing utility name, using "": Ex diff --git a/contrib/mandoc/regress/mdoc/Ex/noname.out_markdown b/contrib/mandoc/regress/mdoc/Ex/noname.out_markdown new file mode 100644 index 00000000000..313103265de --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ex/noname.out_markdown @@ -0,0 +1,18 @@ +EX-NONAME(1) - General Commands Manual + +# NAME + +**‌** - exit value macro without an available name + +# EXIT STATUS + +no arguments: +The utility exits 0 on success, and >0 if an error occurs. + +one argument: +The **one** utility exits 0 on success, and >0 if an error occurs. + +two arguments: +The **one** and **two** utilities exit 0 on success, and >0 if an error occurs. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Ex/nostd.in b/contrib/mandoc/regress/mdoc/Ex/nostd.in new file mode 100644 index 00000000000..7dcb6c70fb9 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ex/nostd.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: nostd.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt EX-NOSTD 1 +.Os +.Sh NAME +.Nm Ex-nostd +.Nd exit value macros without -std arguments +.Sh EXIT STATUS +no arguments: +.Ex +.Pp +one argument: +.Ex one +.Pp +two arguments: +.Ex one two diff --git a/contrib/mandoc/regress/mdoc/Ex/nostd.out_ascii b/contrib/mandoc/regress/mdoc/Ex/nostd.out_ascii new file mode 100644 index 00000000000..ada3bf15b24 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ex/nostd.out_ascii @@ -0,0 +1,16 @@ +EX-NOSTD(1) General Commands Manual EX-NOSTD(1) + +NNAAMMEE + EExx--nnoossttdd - exit value macros without -std arguments + +EEXXIITT SSTTAATTUUSS + no arguments: + The EExx--nnoossttdd utility exits 0 on success, and >0 if an error occurs. + + one argument: + The oonnee utility exits 0 on success, and >0 if an error occurs. + + two arguments: + The oonnee and ttwwoo utilities exit 0 on success, and >0 if an error occurs. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ex/nostd.out_lint b/contrib/mandoc/regress/mdoc/Ex/nostd.out_lint new file mode 100644 index 00000000000..0b8ff710d1d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ex/nostd.out_lint @@ -0,0 +1,3 @@ +mandoc: nostd.in:10:2: WARNING: missing -std argument, adding it: Ex +mandoc: nostd.in:13:2: WARNING: missing -std argument, adding it: Ex +mandoc: nostd.in:16:2: WARNING: missing -std argument, adding it: Ex diff --git a/contrib/mandoc/regress/mdoc/Ex/nostd.out_markdown b/contrib/mandoc/regress/mdoc/Ex/nostd.out_markdown new file mode 100644 index 00000000000..e1ba0ed2e6c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ex/nostd.out_markdown @@ -0,0 +1,18 @@ +EX-NOSTD(1) - General Commands Manual + +# NAME + +**Ex-nostd** - exit value macros without -std arguments + +# EXIT STATUS + +no arguments: +The **Ex-nostd** utility exits 0 on success, and >0 if an error occurs. + +one argument: +The **one** utility exits 0 on success, and >0 if an error occurs. + +two arguments: +The **one** and **two** utilities exit 0 on success, and >0 if an error occurs. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Fd/Makefile b/contrib/mandoc/regress/mdoc/Fd/Makefile new file mode 100644 index 00000000000..7cd78c65b86 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fd/Makefile @@ -0,0 +1,7 @@ +# $OpenBSD: Makefile,v 1.3 2015/02/06 03:31:11 schwarze Exp $ + +REGRESS_TARGETS = break empty eos font +LINT_TARGETS = empty +SKIP_TMAN = eos + +.include diff --git a/contrib/mandoc/regress/mdoc/Fd/break.in b/contrib/mandoc/regress/mdoc/Fd/break.in new file mode 100644 index 00000000000..3b2d73e9f72 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fd/break.in @@ -0,0 +1,27 @@ +.\" $OpenBSD: break.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FD-BREAK 2 +.Os +.Sh NAME +.Nm Fd-break +.Nd line break before old-style header include file +.Sh SYNOPSIS +.Fd #include +.Ft int +.Fn open "const char *path" "int flags" "mode_t mode" +.Fd #include +.Fd #include +.Ft int +.Fn dup "int oldd" +.Ft ssize_t +.Fn write "int d" "const void *buf" "size_t nbytes" +.Sh DESCRIPTION +.Fd #include +.Ft int +.Fn open "const char *path" "int flags" "mode_t mode" +.Fd #include +.Fd #include +.Ft int +.Fn dup "int oldd" +.Ft ssize_t +.Fn write "int d" "const void *buf" "size_t nbytes" diff --git a/contrib/mandoc/regress/mdoc/Fd/break.out_ascii b/contrib/mandoc/regress/mdoc/Fd/break.out_ascii new file mode 100644 index 00000000000..be1e714db4a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fd/break.out_ascii @@ -0,0 +1,27 @@ +FD-BREAK(2) System Calls Manual FD-BREAK(2) + +NNAAMMEE + FFdd--bbrreeaakk - line break before old-style header include file + +SSYYNNOOPPSSIISS + ##iinncclluuddee <> + + _i_n_t + ooppeenn(_c_o_n_s_t _c_h_a_r _*_p_a_t_h, _i_n_t _f_l_a_g_s, _m_o_d_e___t _m_o_d_e); + + ##iinncclluuddee <> + ##iinncclluuddee <> + + _i_n_t + dduupp(_i_n_t _o_l_d_d); + + _s_s_i_z_e___t + wwrriittee(_i_n_t _d, _c_o_n_s_t _v_o_i_d _*_b_u_f, _s_i_z_e___t _n_b_y_t_e_s); + +DDEESSCCRRIIPPTTIIOONN + ##iinncclluuddee <> + _i_n_t ooppeenn(_c_o_n_s_t _c_h_a_r _*_p_a_t_h, _i_n_t _f_l_a_g_s, _m_o_d_e___t _m_o_d_e) ##iinncclluuddee <> + ##iinncclluuddee <> + _i_n_t dduupp(_i_n_t _o_l_d_d) _s_s_i_z_e___t wwrriittee(_i_n_t _d, _c_o_n_s_t _v_o_i_d _*_b_u_f, _s_i_z_e___t _n_b_y_t_e_s) + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Fd/break.out_markdown b/contrib/mandoc/regress/mdoc/Fd/break.out_markdown new file mode 100644 index 00000000000..8958dcfff70 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fd/break.out_markdown @@ -0,0 +1,35 @@ +FD-BREAK(2) - System Calls Manual + +# NAME + +**Fd-break** - line break before old-style header include file + +# SYNOPSIS + +**#include <fcntl.h>** + +*int* +**open**(*const char \*path*, *int flags*, *mode\_t mode*); + +**#include <sys/types.h>** +**#include <unistd.h>** + +*int* +**dup**(*int oldd*); + +*ssize\_t* +**write**(*int d*, *const void \*buf*, *size\_t nbytes*); + +# DESCRIPTION + +**#include <fcntl.h>** +*int* +**open**(*const char \*path*, *int flags*, *mode\_t mode*) +**#include <sys/types.h>** +**#include <unistd.h>** +*int* +**dup**(*int oldd*) +*ssize\_t* +**write**(*int d*, *const void \*buf*, *size\_t nbytes*) + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Fd/empty.in b/contrib/mandoc/regress/mdoc/Fd/empty.in new file mode 100644 index 00000000000..8b27ebfb07d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fd/empty.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: empty.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FD-EMPTY 1 +.Os +.Sh NAME +.Nm Fd-empty +.Nd empty preprocessor directive macros +.Sh SYNOPSIS +.In sys/types.h +.Fd +.In stdlib.h +.Sh DESCRIPTION +leading text +.Fd +trailing text diff --git a/contrib/mandoc/regress/mdoc/Fd/empty.out_ascii b/contrib/mandoc/regress/mdoc/Fd/empty.out_ascii new file mode 100644 index 00000000000..fe9c1e29ec8 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fd/empty.out_ascii @@ -0,0 +1,13 @@ +FD-EMPTY(1) General Commands Manual FD-EMPTY(1) + +NNAAMMEE + FFdd--eemmppttyy - empty preprocessor directive macros + +SSYYNNOOPPSSIISS + ##iinncclluuddee <> + ##iinncclluuddee <> + +DDEESSCCRRIIPPTTIIOONN + leading text trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Fd/empty.out_lint b/contrib/mandoc/regress/mdoc/Fd/empty.out_lint new file mode 100644 index 00000000000..991b2dda626 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fd/empty.out_lint @@ -0,0 +1,2 @@ +mandoc: empty.in:10:2: WARNING: skipping empty macro: Fd +mandoc: empty.in:14:2: WARNING: skipping empty macro: Fd diff --git a/contrib/mandoc/regress/mdoc/Fd/empty.out_markdown b/contrib/mandoc/regress/mdoc/Fd/empty.out_markdown new file mode 100644 index 00000000000..bd2ef8191d5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fd/empty.out_markdown @@ -0,0 +1,17 @@ +FD-EMPTY(1) - General Commands Manual + +# NAME + +**Fd-empty** - empty preprocessor directive macros + +# SYNOPSIS + +**#include <sys/types.h>** +**#include <stdlib.h>** + +# DESCRIPTION + +leading text +trailing text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Fd/eos.in b/contrib/mandoc/regress/mdoc/Fd/eos.in new file mode 100644 index 00000000000..c0744f77463 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fd/eos.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: eos.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FD-EOS 1 +.Os +.Sh NAME +.Nm Fd-eos +.Nd end of sentence handling after the legacy include macro +.Sh DESCRIPTION +Let's use +.Fd string.h . +And then something else. diff --git a/contrib/mandoc/regress/mdoc/Fd/eos.out_ascii b/contrib/mandoc/regress/mdoc/Fd/eos.out_ascii new file mode 100644 index 00000000000..487c6a74b59 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fd/eos.out_ascii @@ -0,0 +1,10 @@ +FD-EOS(1) General Commands Manual FD-EOS(1) + +NNAAMMEE + FFdd--eeooss - end of sentence handling after the legacy include macro + +DDEESSCCRRIIPPTTIIOONN + Let's use ssttrriinngg..hh .. + And then something else. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Fd/eos.out_markdown b/contrib/mandoc/regress/mdoc/Fd/eos.out_markdown new file mode 100644 index 00000000000..8ec48cbbe6f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fd/eos.out_markdown @@ -0,0 +1,13 @@ +FD-EOS(1) - General Commands Manual + +# NAME + +**Fd-eos** - end of sentence handling after the legacy include macro + +# DESCRIPTION + +Let's use +**string.h .** +And then something else. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Fd/font.in b/contrib/mandoc/regress/mdoc/Fd/font.in new file mode 100644 index 00000000000..cfd0c06378c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fd/font.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: font.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FD-FONT 2 +.Os +.Sh NAME +.Nm Fd-font +.Nd changing the font inside the old-style include macro +.Sh DESCRIPTION +normal text +.Fd prefix\\fIheader\\fPsuffix +trailing text diff --git a/contrib/mandoc/regress/mdoc/Fd/font.out_ascii b/contrib/mandoc/regress/mdoc/Fd/font.out_ascii new file mode 100644 index 00000000000..cafe9387caa --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fd/font.out_ascii @@ -0,0 +1,10 @@ +FD-FONT(2) System Calls Manual FD-FONT(2) + +NNAAMMEE + FFdd--ffoonntt - changing the font inside the old-style include macro + +DDEESSCCRRIIPPTTIIOONN + normal text pprreeffiixx_h_e_a_d_e_rssuuffffiixx + trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Fd/font.out_markdown b/contrib/mandoc/regress/mdoc/Fd/font.out_markdown new file mode 100644 index 00000000000..7636ed4e576 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fd/font.out_markdown @@ -0,0 +1,13 @@ +FD-FONT(2) - System Calls Manual + +# NAME + +**Fd-font** - changing the font inside the old-style include macro + +# DESCRIPTION + +normal text +**prefix*header*suffix** +trailing text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Fl/Makefile b/contrib/mandoc/regress/mdoc/Fl/Makefile new file mode 100644 index 00000000000..f2b2a9aaff2 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fl/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.8 2014/08/21 12:56:24 schwarze Exp $ + +REGRESS_TARGETS = noarg multiarg parsed punct font +LINT_TARGETS = punct + +.include diff --git a/contrib/mandoc/regress/mdoc/Fl/font.in b/contrib/mandoc/regress/mdoc/Fl/font.in new file mode 100644 index 00000000000..4e9e18deb81 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fl/font.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: font.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FL-FONT 1 +.Os +.Sh NAME +.Nm Fl-font +.Nd changing fonts inside the flag macro +.Sh DESCRIPTION +normal text +.Fl bold\\fIemphasis\\fPback +trailing text diff --git a/contrib/mandoc/regress/mdoc/Fl/font.out_ascii b/contrib/mandoc/regress/mdoc/Fl/font.out_ascii new file mode 100644 index 00000000000..a9c06ac4ac1 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fl/font.out_ascii @@ -0,0 +1,9 @@ +FL-FONT(1) General Commands Manual FL-FONT(1) + +NNAAMMEE + FFll--ffoonntt - changing fonts inside the flag macro + +DDEESSCCRRIIPPTTIIOONN + normal text --bboolldd_e_m_p_h_a_s_i_sbbaacckk trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Fl/font.out_markdown b/contrib/mandoc/regress/mdoc/Fl/font.out_markdown new file mode 100644 index 00000000000..73029acf187 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fl/font.out_markdown @@ -0,0 +1,13 @@ +FL-FONT(1) - General Commands Manual + +# NAME + +**Fl-font** - changing fonts inside the flag macro + +# DESCRIPTION + +normal text +**-bold*emphasis*back** +trailing text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Fl/multiarg.in b/contrib/mandoc/regress/mdoc/Fl/multiarg.in new file mode 100644 index 00000000000..c8270e25d91 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fl/multiarg.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: multiarg.in,v 1.4 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FL-MULTIARG 1 +.Os +.Sh NAME +.Nm Fl-multiarg +.Nd multiple arguments to a Fl macro +.Sh DESCRIPTION +Each group of flags in +.Fl a b c def +gets its own dash. +.Pp +Punctuation characters like in +.Op Fl a | b +get no dash. diff --git a/contrib/mandoc/regress/mdoc/Fl/multiarg.out_ascii b/contrib/mandoc/regress/mdoc/Fl/multiarg.out_ascii new file mode 100644 index 00000000000..a2db7caac83 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fl/multiarg.out_ascii @@ -0,0 +1,11 @@ +FL-MULTIARG(1) General Commands Manual FL-MULTIARG(1) + +NNAAMMEE + FFll--mmuullttiiaarrgg - multiple arguments to a Fl macro + +DDEESSCCRRIIPPTTIIOONN + Each group of flags in --aa --bb --cc --ddeeff gets its own dash. + + Punctuation characters like in [--aa | --bb] get no dash. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Fl/multiarg.out_markdown b/contrib/mandoc/regress/mdoc/Fl/multiarg.out_markdown new file mode 100644 index 00000000000..c9a68a0dbd9 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fl/multiarg.out_markdown @@ -0,0 +1,17 @@ +FL-MULTIARG(1) - General Commands Manual + +# NAME + +**Fl-multiarg** - multiple arguments to a Fl macro + +# DESCRIPTION + +Each group of flags in +**-a** **-b** **-c** **-def** +gets its own dash. + +Punctuation characters like in +\[**-a** | **-b**] +get no dash. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Fl/noarg.in b/contrib/mandoc/regress/mdoc/Fl/noarg.in new file mode 100644 index 00000000000..5942c0ec5d3 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fl/noarg.in @@ -0,0 +1,20 @@ +.\" $OpenBSD: noarg.in,v 1.6 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FL-NOARG 1 +.Os +.Sh NAME +.Nm Fl-noarg +.Nd Fl macro without arguments +.Sh DESCRIPTION +Without an argument, it yields +.Fl +a dash. +.Pp +This is true even before middle +.Fl | and +trailing punctuation +.Fl . +.Pp +Following macros +.Fl Op flag +follow without white space. diff --git a/contrib/mandoc/regress/mdoc/Fl/noarg.out_ascii b/contrib/mandoc/regress/mdoc/Fl/noarg.out_ascii new file mode 100644 index 00000000000..84749744fef --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fl/noarg.out_ascii @@ -0,0 +1,13 @@ +FL-NOARG(1) General Commands Manual FL-NOARG(1) + +NNAAMMEE + FFll--nnooaarrgg - Fl macro without arguments + +DDEESSCCRRIIPPTTIIOONN + Without an argument, it yields -- a dash. + + This is true even before middle -- | --aanndd trailing punctuation --. + + Following macros --[flag] follow without white space. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Fl/noarg.out_markdown b/contrib/mandoc/regress/mdoc/Fl/noarg.out_markdown new file mode 100644 index 00000000000..efd4a959902 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fl/noarg.out_markdown @@ -0,0 +1,22 @@ +FL-NOARG(1) - General Commands Manual + +# NAME + +**Fl-noarg** - Fl macro without arguments + +# DESCRIPTION + +Without an argument, it yields +**-** +a dash. + +This is true even before middle +**-** | **-and** +trailing punctuation +**-**. + +Following macros +**-**\[flag] +follow without white space. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Fl/parsed.in b/contrib/mandoc/regress/mdoc/Fl/parsed.in new file mode 100644 index 00000000000..b463705474e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fl/parsed.in @@ -0,0 +1,19 @@ +.\" $OpenBSD: parsed.in,v 1.3 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FL-PARSED 1 +.Os +.Sh NAME +.Nm Fl-parsed +.Nd is the Fl macro parsed? +.Sh DESCRIPTION +.Op Fl Ux +.Pp +.Op Ux +.Pp +.Op Fl Cm x +.Pp +.Fl W all +versus +.Fl W Ns Cm all +.Pp +.Fl Cm help diff --git a/contrib/mandoc/regress/mdoc/Fl/parsed.out_ascii b/contrib/mandoc/regress/mdoc/Fl/parsed.out_ascii new file mode 100644 index 00000000000..86f8f010248 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fl/parsed.out_ascii @@ -0,0 +1,17 @@ +FL-PARSED(1) General Commands Manual FL-PARSED(1) + +NNAAMMEE + FFll--ppaarrsseedd - is the Fl macro parsed? + +DDEESSCCRRIIPPTTIIOONN + [--UNIX] + + [UNIX] + + [--xx] + + --WW --aallll versus --WWaallll + + --hheellpp + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Fl/parsed.out_markdown b/contrib/mandoc/regress/mdoc/Fl/parsed.out_markdown new file mode 100644 index 00000000000..9f1b0316e0b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fl/parsed.out_markdown @@ -0,0 +1,21 @@ +FL-PARSED(1) - General Commands Manual + +# NAME + +**Fl-parsed** - is the Fl macro parsed? + +# DESCRIPTION + +\[**-**UNIX] + +\[UNIX] + +\[**-**‌**x**] + +**-W** **-all** +versus +**-W**‌**all** + +**-**‌**help** + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Fl/punct.in b/contrib/mandoc/regress/mdoc/Fl/punct.in new file mode 100644 index 00000000000..7ed52b46032 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fl/punct.in @@ -0,0 +1,46 @@ +.\" $OpenBSD: punct.in,v 1.6 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FL-PUNCT 1 +.Os +.Sh NAME +.Nm Fl-punct +.Nd punctuation handling by the Fl macro +.Sh DESCRIPTION +closing punctuation +.Fl a ) +only one +.Fl ) +only more than one +.Fl ) ) +middle +.Fl a ) z +start +.Fl ) z +dot +.Fl . z +comma +.Fl , z +semicolon +.Fl ; z +colon +.Fl : z +quest +.Fl ? z +excl +.Fl ! z +paren +.Fl ) z +bracket +.Fl ] z +bar +.Fl | m +op paren +.Fl ( a +op bracket +.Fl [ a +.Pp +quoted punctuation: +.Fl a "(" b "|" c ")" d "," "Em" italic . +.Pp +trailing delimiter: +.Fl a. diff --git a/contrib/mandoc/regress/mdoc/Fl/punct.out_ascii b/contrib/mandoc/regress/mdoc/Fl/punct.out_ascii new file mode 100644 index 00000000000..a94900e66fb --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fl/punct.out_ascii @@ -0,0 +1,16 @@ +FL-PUNCT(1) General Commands Manual FL-PUNCT(1) + +NNAAMMEE + FFll--ppuunncctt - punctuation handling by the Fl macro + +DDEESSCCRRIIPPTTIIOONN + closing punctuation --aa) only one --) only more than one --)) middle --aa) --zz + start --) --zz dot --. --zz comma --, --zz semicolon --; --zz colon --: --zz quest --? --zz + excl --! --zz paren --) --zz bracket --] --zz bar -- | --mm op paren (--aa op bracket + [--aa + + quoted punctuation: --aa (--bb | --cc) --dd, _i_t_a_l_i_c. + + trailing delimiter: --aa.. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Fl/punct.out_lint b/contrib/mandoc/regress/mdoc/Fl/punct.out_lint new file mode 100644 index 00000000000..2e29f18dd5c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fl/punct.out_lint @@ -0,0 +1 @@ +mandoc: punct.in:46:6: STYLE: no blank before trailing delimiter: Fl a. diff --git a/contrib/mandoc/regress/mdoc/Fl/punct.out_markdown b/contrib/mandoc/regress/mdoc/Fl/punct.out_markdown new file mode 100644 index 00000000000..96a5f9a84a0 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fl/punct.out_markdown @@ -0,0 +1,48 @@ +FL-PUNCT(1) - General Commands Manual + +# NAME + +**Fl-punct** - punctuation handling by the Fl macro + +# DESCRIPTION + +closing punctuation +**-a**) +only one +**-**) +only more than one +**-**)) +middle +**-a**) **-z** +start +**-**) **-z** +dot +**-**. **-z** +comma +**-**, **-z** +semicolon +**-**; **-z** +colon +**-**: **-z** +quest +**-**? **-z** +excl +**-**! **-z** +paren +**-**) **-z** +bracket +**-**] **-z** +bar +**-** | **-m** +op paren +(**-a** +op bracket +\[**-a** + +quoted punctuation: +**-a** (**-b** | **-c**) **-d**, *italic*. + +trailing delimiter: +**-a.** + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Fo/Makefile b/contrib/mandoc/regress/mdoc/Fo/Makefile new file mode 100644 index 00000000000..09941a523ba --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/Makefile @@ -0,0 +1,15 @@ +# $OpenBSD: Makefile,v 1.13 2015/02/16 11:39:34 schwarze Exp $ + +REGRESS_TARGETS = basic break eos font noarg nohead +REGRESS_TARGETS += obsolete punct section warn +LINT_TARGETS = noarg nohead obsolete punct warn + +# groff-1.22.3 defects: +# - .Fo without an argument prints unbalanced parentheses +# - .nr nS is ignored + +SKIP_GROFF = nohead section + +SKIP_TMAN = eos + +.include diff --git a/contrib/mandoc/regress/mdoc/Fo/basic.in b/contrib/mandoc/regress/mdoc/Fo/basic.in new file mode 100644 index 00000000000..91f13a08dd2 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/basic.in @@ -0,0 +1,25 @@ +.\" $OpenBSD: basic.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FO-BASIC 1 +.Os +.Sh NAME +.Nm Fo-basic +.Nd function blocks +.Sh SYNOPSIS +.Ft double +.Fo sin +.Fa "double x" +.Fc +.Ft double +.Fo atan2 +.Fa "double y" "double x" +.Fc +.Sh DESCRIPTION +.Ft double +.Fo sin +.Fa "double x" +.Fc +.Ft double +.Fo atan2 +.Fa "double y" "double x" +.Fc diff --git a/contrib/mandoc/regress/mdoc/Fo/basic.out_ascii b/contrib/mandoc/regress/mdoc/Fo/basic.out_ascii new file mode 100644 index 00000000000..14eb5e2391e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/basic.out_ascii @@ -0,0 +1,16 @@ +FO-BASIC(1) General Commands Manual FO-BASIC(1) + +NNAAMMEE + FFoo--bbaassiicc - function blocks + +SSYYNNOOPPSSIISS + _d_o_u_b_l_e + ssiinn(_d_o_u_b_l_e _x); + + _d_o_u_b_l_e + aattaann22(_d_o_u_b_l_e _y, _d_o_u_b_l_e _x); + +DDEESSCCRRIIPPTTIIOONN + _d_o_u_b_l_e ssiinn(_d_o_u_b_l_e _x) _d_o_u_b_l_e aattaann22(_d_o_u_b_l_e _y, _d_o_u_b_l_e _x) + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Fo/basic.out_markdown b/contrib/mandoc/regress/mdoc/Fo/basic.out_markdown new file mode 100644 index 00000000000..c61fa7c5b9b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/basic.out_markdown @@ -0,0 +1,22 @@ +FO-BASIC(1) - General Commands Manual + +# NAME + +**Fo-basic** - function blocks + +# SYNOPSIS + +*double* +**sin**(*double x*); + +*double* +**atan2**(*double y*, *double x*); + +# DESCRIPTION + +*double* +**sin**(*double x*) +*double* +**atan2**(*double y*, *double x*) + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Fo/break.in b/contrib/mandoc/regress/mdoc/Fo/break.in new file mode 100644 index 00000000000..e5d1687bc00 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/break.in @@ -0,0 +1,50 @@ +.\" $OpenBSD: break.in,v 1.4 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FO-BREAK 1 +.Os +.Sh NAME +.Nm Fo-break +.Nd line breaks in function blocks +.Sh SYNOPSIS +.Fd using \&Fn: +.Ft my_long_return_type * +.Fn my_long_function "my_long_type first_argument" "my_long_type second_argument" +.Ft void +.Fn "this function name is so ridiculously long \ +that it will not fit on the line" "my_long_type first_argument" \ +"my_long_type second_argument" "my_long_type third_argument" +.Fd using \&Fo and single-argument \&Fa: +.Ft my_long_return_type * +.Fo my_long_function +.Fa "my_long_type first_argument" +.Fa "my_long_type second_argument" +.Fc +.Ft void +.Fo "this function name is so ridiculously long \ +that it will not fit on the line" +.Fa "my_long_type first_argument" +.Fa "my_long_type second_argument" +.Fa "my_long_type third_argument" +.Fc +.Fd using \&Fo and multi-argument \&Fa: +.Ft my_long_return_type * +.Fo my_long_function +.Fa "my_long_type first_argument" "my_long_type second_argument" +.Fc +.Sh DESCRIPTION +using Fn: +.br +.Fn my_long_function "my_long_type first_argument" "my_long_type second_argument" +.Pp +using Fo and single-argument Fa: +.br +.Fo my_long_function +.Fa "my_long_type first_argument" +.Fa "my_long_type second_argument" +.Fc +.Pp +using Fo and multi-argument Fa: +.br +.Fo my_long_function +.Fa "my_long_type first_argument" "my_long_type second_argument" +.Fc diff --git a/contrib/mandoc/regress/mdoc/Fo/break.out_ascii b/contrib/mandoc/regress/mdoc/Fo/break.out_ascii new file mode 100644 index 00000000000..33469747401 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/break.out_ascii @@ -0,0 +1,48 @@ +FO-BREAK(1) General Commands Manual FO-BREAK(1) + +NNAAMMEE + FFoo--bbrreeaakk - line breaks in function blocks + +SSYYNNOOPPSSIISS + uussiinngg FFnn:: + + _m_y___l_o_n_g___r_e_t_u_r_n___t_y_p_e _* + mmyy__lloonngg__ffuunnccttiioonn(_m_y___l_o_n_g___t_y_p_e _f_i_r_s_t___a_r_g_u_m_e_n_t, + _m_y___l_o_n_g___t_y_p_e _s_e_c_o_n_d___a_r_g_u_m_e_n_t); + + _v_o_i_d + tthhiiss ffuunnccttiioonn nnaammee iiss ssoo rriiddiiccuulloouussllyy lloonngg tthhaatt iitt wwiillll nnoott ffiitt oonn tthhee + lliinnee(_m_y___l_o_n_g___t_y_p_e _f_i_r_s_t___a_r_g_u_m_e_n_t, _m_y___l_o_n_g___t_y_p_e _s_e_c_o_n_d___a_r_g_u_m_e_n_t, + _m_y___l_o_n_g___t_y_p_e _t_h_i_r_d___a_r_g_u_m_e_n_t); + + uussiinngg FFoo aanndd ssiinnggllee--aarrgguummeenntt FFaa:: + + _m_y___l_o_n_g___r_e_t_u_r_n___t_y_p_e _* + mmyy__lloonngg__ffuunnccttiioonn(_m_y___l_o_n_g___t_y_p_e _f_i_r_s_t___a_r_g_u_m_e_n_t, + _m_y___l_o_n_g___t_y_p_e _s_e_c_o_n_d___a_r_g_u_m_e_n_t); + + _v_o_i_d + tthhiiss ffuunnccttiioonn nnaammee iiss ssoo rriiddiiccuulloouussllyy lloonngg tthhaatt iitt wwiillll nnoott ffiitt oonn tthhee + lliinnee(_m_y___l_o_n_g___t_y_p_e _f_i_r_s_t___a_r_g_u_m_e_n_t, _m_y___l_o_n_g___t_y_p_e _s_e_c_o_n_d___a_r_g_u_m_e_n_t, + _m_y___l_o_n_g___t_y_p_e _t_h_i_r_d___a_r_g_u_m_e_n_t); + + uussiinngg FFoo aanndd mmuullttii--aarrgguummeenntt FFaa:: + + _m_y___l_o_n_g___r_e_t_u_r_n___t_y_p_e _* + mmyy__lloonngg__ffuunnccttiioonn(_m_y___l_o_n_g___t_y_p_e _f_i_r_s_t___a_r_g_u_m_e_n_t, + _m_y___l_o_n_g___t_y_p_e _s_e_c_o_n_d___a_r_g_u_m_e_n_t); + +DDEESSCCRRIIPPTTIIOONN + using Fn: + mmyy__lloonngg__ffuunnccttiioonn(_m_y___l_o_n_g___t_y_p_e _f_i_r_s_t___a_r_g_u_m_e_n_t, _m_y___l_o_n_g___t_y_p_e + _s_e_c_o_n_d___a_r_g_u_m_e_n_t) + + using Fo and single-argument Fa: + mmyy__lloonngg__ffuunnccttiioonn(_m_y___l_o_n_g___t_y_p_e _f_i_r_s_t___a_r_g_u_m_e_n_t, + _m_y___l_o_n_g___t_y_p_e _s_e_c_o_n_d___a_r_g_u_m_e_n_t) + + using Fo and multi-argument Fa: + mmyy__lloonngg__ffuunnccttiioonn(_m_y___l_o_n_g___t_y_p_e _f_i_r_s_t___a_r_g_u_m_e_n_t, + _m_y___l_o_n_g___t_y_p_e _s_e_c_o_n_d___a_r_g_u_m_e_n_t) + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Fo/break.out_markdown b/contrib/mandoc/regress/mdoc/Fo/break.out_markdown new file mode 100644 index 00000000000..9e6d6a3b38f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/break.out_markdown @@ -0,0 +1,45 @@ +FO-BREAK(1) - General Commands Manual + +# NAME + +**Fo-break** - line breaks in function blocks + +# SYNOPSIS + +**using Fn:** + +*my\_long\_return\_type \*‌* +**my\_long\_function**(*my\_long\_type first\_argument*, *my\_long\_type second\_argument*); + +*void* +**this function name is so ridiculously long that it will not fit on the line**(*my\_long\_type first\_argument*, *my\_long\_type second\_argument*, *my\_long\_type third\_argument*); + +**using Fo and single-argument Fa:** + +*my\_long\_return\_type \*‌* +**my\_long\_function**(*my\_long\_type first\_argument*, +*my\_long\_type second\_argument*); + +*void* +**this function name is so ridiculously long that it will not fit on the line**(*my\_long\_type first\_argument*, +*my\_long\_type second\_argument*, +*my\_long\_type third\_argument*); + +**using Fo and multi-argument Fa:** + +*my\_long\_return\_type \*‌* +**my\_long\_function**(*my\_long\_type first\_argument*, *my\_long\_type second\_argument*); + +# DESCRIPTION + +using Fn: +**my\_long\_function**(*my\_long\_type first\_argument*, *my\_long\_type second\_argument*) + +using Fo and single-argument Fa: +**my\_long\_function**(*my\_long\_type first\_argument*, +*my\_long\_type second\_argument*) + +using Fo and multi-argument Fa: +**my\_long\_function**(*my\_long\_type first\_argument*, *my\_long\_type second\_argument*) + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Fo/eos.in b/contrib/mandoc/regress/mdoc/Fo/eos.in new file mode 100644 index 00000000000..772c03d42b3 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/eos.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: eos.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FO-EOS 1 +.Os +.Sh NAME +.Nm Fo-eos +.Nd end of sentence handling after a function block +.Sh DESCRIPTION +As an example of a trigonometric function, let us consider +.Fn "double sin" "double x" . +Or do you prefer +.Ft double +.Fo cos +.Fa double x +.Fc . +Either will do. diff --git a/contrib/mandoc/regress/mdoc/Fo/eos.out_ascii b/contrib/mandoc/regress/mdoc/Fo/eos.out_ascii new file mode 100644 index 00000000000..cdd4acdbee1 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/eos.out_ascii @@ -0,0 +1,10 @@ +FO-EOS(1) General Commands Manual FO-EOS(1) + +NNAAMMEE + FFoo--eeooss - end of sentence handling after a function block + +DDEESSCCRRIIPPTTIIOONN + As an example of a trigonometric function, let us consider ddoouubbllee + ssiinn(_d_o_u_b_l_e _x). Or do you prefer _d_o_u_b_l_e ccooss(_d_o_u_b_l_e, _x). Either will do. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Fo/eos.out_markdown b/contrib/mandoc/regress/mdoc/Fo/eos.out_markdown new file mode 100644 index 00000000000..ec3ba6ea4a4 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/eos.out_markdown @@ -0,0 +1,17 @@ +FO-EOS(1) - General Commands Manual + +# NAME + +**Fo-eos** - end of sentence handling after a function block + +# DESCRIPTION + +As an example of a trigonometric function, let us consider +**double sin**(*double x*). +Or do you prefer +*double* +**cos**(*double*, *x*) +. +Either will do. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Fo/font.in b/contrib/mandoc/regress/mdoc/Fo/font.in new file mode 100644 index 00000000000..343316e156d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/font.in @@ -0,0 +1,20 @@ +.\" $OpenBSD: font.in,v 1.3 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FO-FONT 1 +.Os +.Sh NAME +.Nm Fo-font +.Nd font nesting in function blocks +.Sh DESCRIPTION +.Fn prefix\\fIname\\fPsuffix "type arg" +trailing text +.Pp +.Fo prefix\\fIname\\fPsuffix +.Fa "type arg" +.Fc +trailing text +.Pp +.Fo function +.Fa prefix\\fBbold\\fPsuffix +.Fc "Sy" bold +trailing text diff --git a/contrib/mandoc/regress/mdoc/Fo/font.out_ascii b/contrib/mandoc/regress/mdoc/Fo/font.out_ascii new file mode 100644 index 00000000000..1dfe6436768 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/font.out_ascii @@ -0,0 +1,13 @@ +FO-FONT(1) General Commands Manual FO-FONT(1) + +NNAAMMEE + FFoo--ffoonntt - font nesting in function blocks + +DDEESSCCRRIIPPTTIIOONN + pprreeffiixx_n_a_m_essuuffffiixx(_t_y_p_e _a_r_g) trailing text + + pprreeffiixx_n_a_m_essuuffffiixx(_t_y_p_e _a_r_g) trailing text + + ffuunnccttiioonn(_p_r_e_f_i_xbboolldd_s_u_f_f_i_x) bboolldd trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Fo/font.out_markdown b/contrib/mandoc/regress/mdoc/Fo/font.out_markdown new file mode 100644 index 00000000000..4771e5d7c47 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/font.out_markdown @@ -0,0 +1,18 @@ +FO-FONT(1) - General Commands Manual + +# NAME + +**Fo-font** - font nesting in function blocks + +# DESCRIPTION + +**prefix*name*suffix**(*type arg*) +trailing text + +**prefix*name*suffix**(*type arg*) +trailing text + +**function**(*prefix**bold**suffix*) **bold** +trailing text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Fo/noarg.in b/contrib/mandoc/regress/mdoc/Fo/noarg.in new file mode 100644 index 00000000000..98784529760 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/noarg.in @@ -0,0 +1,45 @@ +.\" $OpenBSD: noarg.in,v 1.6 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FN-NOARG 1 +.Os +.Sh NAME +.Nm Fn-noarg +.Nd function name macro without arguments +.Sh DESCRIPTION +with arguments: +.Ft int +.Fn abs "int i" +.Ft long +.Fo labs bogus +.Fa "long i" +.Fc +void function arguments: +.Ft int +.Fn rand +.Ft long +.Fo random +.Fc +.Ft u_int32_t +.Fo arc4random +.Fa +.Fc +no name arguments: +.Ft int +.Fn +no type arguments: +.Ft +.Fn abs "int i" +no type and void function arguments: +.Ft +.Fn rand +.Ft +.Fo random +.Fc +.Ft +.Fo arc4random +.Fa +.Fc +no arguments at all: +.Ft +.Fn +end of test document diff --git a/contrib/mandoc/regress/mdoc/Fo/noarg.out_ascii b/contrib/mandoc/regress/mdoc/Fo/noarg.out_ascii new file mode 100644 index 00000000000..e67be7bc244 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/noarg.out_ascii @@ -0,0 +1,12 @@ +FN-NOARG(1) General Commands Manual FN-NOARG(1) + +NNAAMMEE + FFnn--nnooaarrgg - function name macro without arguments + +DDEESSCCRRIIPPTTIIOONN + with arguments: _i_n_t aabbss(_i_n_t _i) _l_o_n_g llaabbss(_l_o_n_g _i) void function arguments: + _i_n_t rraanndd() _l_o_n_g rraannddoomm() _u___i_n_t_3_2___t aarrcc44rraannddoomm() no name arguments: _i_n_t no + type arguments: aabbss(_i_n_t _i) no type and void function arguments: rraanndd() + rraannddoomm() aarrcc44rraannddoomm() no arguments at all: end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Fo/noarg.out_lint b/contrib/mandoc/regress/mdoc/Fo/noarg.out_lint new file mode 100644 index 00000000000..2a0a362baff --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/noarg.out_lint @@ -0,0 +1,10 @@ +mandoc: noarg.in:24:2: WARNING: skipping empty macro: Fa +mandoc: noarg.in:28:2: WARNING: skipping empty macro: Fn +mandoc: noarg.in:30:2: WARNING: skipping empty macro: Ft +mandoc: noarg.in:33:2: WARNING: skipping empty macro: Ft +mandoc: noarg.in:35:2: WARNING: skipping empty macro: Ft +mandoc: noarg.in:38:2: WARNING: skipping empty macro: Ft +mandoc: noarg.in:40:2: WARNING: skipping empty macro: Fa +mandoc: noarg.in:43:2: WARNING: skipping empty macro: Ft +mandoc: noarg.in:44:2: WARNING: skipping empty macro: Fn +mandoc: noarg.in:13:10: ERROR: skipping excess arguments: Fo ... bogus diff --git a/contrib/mandoc/regress/mdoc/Fo/noarg.out_markdown b/contrib/mandoc/regress/mdoc/Fo/noarg.out_markdown new file mode 100644 index 00000000000..d439067fada --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/noarg.out_markdown @@ -0,0 +1,32 @@ +FN-NOARG(1) - General Commands Manual + +# NAME + +**Fn-noarg** - function name macro without arguments + +# DESCRIPTION + +with arguments: +*int* +**abs**(*int i*) +*long* +**labs**(*long i*) +void function arguments: +*int* +**rand**() +*long* +**random**() +*u\_int32\_t* +**arc4random**() +no name arguments: +*int* +no type arguments: +**abs**(*int i*) +no type and void function arguments: +**rand**() +**random**() +**arc4random**() +no arguments at all: +end of test document + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Fo/nohead.in b/contrib/mandoc/regress/mdoc/Fo/nohead.in new file mode 100644 index 00000000000..33d3e843aa2 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/nohead.in @@ -0,0 +1,14 @@ +.\" $OpenBSD: nohead.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FO-NOHEAD 1 +.Os +.Sh NAME +.Nm Fo-nohead +.Nd function block macro without head argument +.Sh DESCRIPTION +initial text +.Ft int +.Fo +.Fa int +.Fc +final text diff --git a/contrib/mandoc/regress/mdoc/Fo/nohead.out_ascii b/contrib/mandoc/regress/mdoc/Fo/nohead.out_ascii new file mode 100644 index 00000000000..d0ac003847d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/nohead.out_ascii @@ -0,0 +1,9 @@ +FO-NOHEAD(1) General Commands Manual FO-NOHEAD(1) + +NNAAMMEE + FFoo--nnoohheeaadd - function block macro without head argument + +DDEESSCCRRIIPPTTIIOONN + initial text _i_n_t(_i_n_t) final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Fo/nohead.out_lint b/contrib/mandoc/regress/mdoc/Fo/nohead.out_lint new file mode 100644 index 00000000000..0f4661a8353 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/nohead.out_lint @@ -0,0 +1 @@ +mandoc: nohead.in:11:2: WARNING: missing function name, using "": Fo diff --git a/contrib/mandoc/regress/mdoc/Fo/nohead.out_markdown b/contrib/mandoc/regress/mdoc/Fo/nohead.out_markdown new file mode 100644 index 00000000000..f22d8a0ebd5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/nohead.out_markdown @@ -0,0 +1,13 @@ +FO-NOHEAD(1) - General Commands Manual + +# NAME + +**Fo-nohead** - function block macro without head argument + +# DESCRIPTION + +initial text +*int*(*int*) +final text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Fo/obsolete.in b/contrib/mandoc/regress/mdoc/Fo/obsolete.in new file mode 100644 index 00000000000..d3be8d23484 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/obsolete.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: obsolete.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FO-OBSOLETE 1 +.Os +.Sh NAME +.Nm Fo-obsolete +.Nd obsolete function macros +.Sh DESCRIPTION +old function type +.Ot fortran +.Pp +function return value +.Fr value diff --git a/contrib/mandoc/regress/mdoc/Fo/obsolete.out_ascii b/contrib/mandoc/regress/mdoc/Fo/obsolete.out_ascii new file mode 100644 index 00000000000..e7807a26e70 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/obsolete.out_ascii @@ -0,0 +1,11 @@ +FO-OBSOLETE(1) General Commands Manual FO-OBSOLETE(1) + +NNAAMMEE + FFoo--oobbssoolleettee - obsolete function macros + +DDEESSCCRRIIPPTTIIOONN + old function type _f_o_r_t_r_a_n + + function return value _v_a_l_u_e + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Fo/obsolete.out_lint b/contrib/mandoc/regress/mdoc/Fo/obsolete.out_lint new file mode 100644 index 00000000000..5a8893b63ab --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/obsolete.out_lint @@ -0,0 +1,2 @@ +mandoc: obsolete.in:10:2: WARNING: obsolete macro: Ot +mandoc: obsolete.in:13:2: WARNING: obsolete macro: Fr diff --git a/contrib/mandoc/regress/mdoc/Fo/obsolete.out_markdown b/contrib/mandoc/regress/mdoc/Fo/obsolete.out_markdown new file mode 100644 index 00000000000..9217be66ddd --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/obsolete.out_markdown @@ -0,0 +1,15 @@ +FO-OBSOLETE(1) - General Commands Manual + +# NAME + +**Fo-obsolete** - obsolete function macros + +# DESCRIPTION + +old function type +*fortran* + +function return value +*value* + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Fo/punct.in b/contrib/mandoc/regress/mdoc/Fo/punct.in new file mode 100644 index 00000000000..3b7802ec8eb --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/punct.in @@ -0,0 +1,14 @@ +.\" $OpenBSD: punct.in,v 1.4 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FO-PUNCT 1 +.Os +.Sh NAME +.Nm Fo-punct +.Nd punctuation on function input lines +.Sh DESCRIPTION +.Ft double +.Fn sin. "," cos "Em" italic +.Pp +.Fa x "," y: "Sy" bold +.Pp +.Ft int "," float: "Sy" bold diff --git a/contrib/mandoc/regress/mdoc/Fo/punct.out_ascii b/contrib/mandoc/regress/mdoc/Fo/punct.out_ascii new file mode 100644 index 00000000000..6f0082ac0af --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/punct.out_ascii @@ -0,0 +1,13 @@ +FO-PUNCT(1) General Commands Manual FO-PUNCT(1) + +NNAAMMEE + FFoo--ppuunncctt - punctuation on function input lines + +DDEESSCCRRIIPPTTIIOONN + _d_o_u_b_l_e ssiinn..(), cos _i_t_a_l_i_c + + _x, _y_: bboolldd + + _i_n_t, _f_l_o_a_t_: bboolldd + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Fo/punct.out_lint b/contrib/mandoc/regress/mdoc/Fo/punct.out_lint new file mode 100644 index 00000000000..23d0358b70f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/punct.out_lint @@ -0,0 +1,3 @@ +mandoc: punct.in:10:8: STYLE: no blank before trailing delimiter: Fn sin. +mandoc: punct.in:12:12: STYLE: no blank before trailing delimiter: Fa y: +mandoc: punct.in:14:18: STYLE: no blank before trailing delimiter: Ft float: diff --git a/contrib/mandoc/regress/mdoc/Fo/punct.out_markdown b/contrib/mandoc/regress/mdoc/Fo/punct.out_markdown new file mode 100644 index 00000000000..12a843e78fe --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/punct.out_markdown @@ -0,0 +1,16 @@ +FO-PUNCT(1) - General Commands Manual + +# NAME + +**Fo-punct** - punctuation on function input lines + +# DESCRIPTION + +*double* +**sin.**(), cos *italic* + +*x*, *y:* **bold** + +*int*, *float:* **bold** + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Fo/section.in b/contrib/mandoc/regress/mdoc/Fo/section.in new file mode 100644 index 00000000000..de76d55178e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/section.in @@ -0,0 +1,84 @@ +.\" $OpenBSD: section.in,v 1.3 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FN-SECTION 3 +.Os +.Sh NAME +.Nm Fn-section +.Nd special handling of Fn in various sections +.Sh SYNOPSIS +.Ft int +.Fn abs "int j" +.Ft double +.Fn sin "double x" +.Sh DESCRIPTION +.Ft int +.Fn abs "int j" +.Ft double +.Fn sin "double x" +.Sh RETURN VALUES +.Ft int +.Fn abs "int j" +.Ft double +.Fn sin "double x" +.Sh ENVIRONMENT +.Ft int +.Fn abs "int j" +.Ft double +.Fn sin "double x" +.Sh FILES +.Ft int +.Fn abs "int j" +.Ft double +.Fn sin "double x" +.Sh EXAMPLES +.Ft int +.Fn abs "int j" +.Ft double +.Fn sin "double x" +.Sh DIAGNOSTICS +.Ft int +.Fn abs "int j" +.Ft double +.Fn sin "double x" +.Sh ERRORS +.Ft int +.Fn abs "int j" +.Ft double +.Fn sin "double x" +.Sh SEE ALSO +.Ft int +.Fn abs "int j" +.Ft double +.Fn sin "double x" +.Sh STANDARDS +.Ft int +.Fn abs "int j" +.Ft double +.Fn sin "double x" +.Sh HISTORY +.Ft int +.Fn abs "int j" +.Ft double +.Fn sin "double x" +.Sh AUTHORS +.Ft int +.Fn abs "int j" +.Ft double +.Fn sin "double x" +.Sh CAVEATS +.Ft int +.Fn abs "int j" +.Ft double +.Fn sin "double x" +.Sh BUGS +.Ft int +.Fn abs "int j" +.Ft double +.Fn sin "double x" +.Sh CUSTOM +.nr nS 1 +.Ft int +.Fn abs "int j" +.Ft double +.Fn sin "double x" +.nr nS 0 diff --git a/contrib/mandoc/regress/mdoc/Fo/section.out_ascii b/contrib/mandoc/regress/mdoc/Fo/section.out_ascii new file mode 100644 index 00000000000..d2db755e7f1 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/section.out_ascii @@ -0,0 +1,59 @@ +FN-SECTION(3) Library Functions Manual FN-SECTION(3) + +NNAAMMEE + FFnn--sseeccttiioonn - special handling of Fn in various sections + +SSYYNNOOPPSSIISS + _i_n_t + aabbss(_i_n_t _j); + + _d_o_u_b_l_e + ssiinn(_d_o_u_b_l_e _x); + +DDEESSCCRRIIPPTTIIOONN + _i_n_t aabbss(_i_n_t _j) _d_o_u_b_l_e ssiinn(_d_o_u_b_l_e _x) + +RREETTUURRNN VVAALLUUEESS + _i_n_t aabbss(_i_n_t _j) _d_o_u_b_l_e ssiinn(_d_o_u_b_l_e _x) + +EENNVVIIRROONNMMEENNTT + _i_n_t aabbss(_i_n_t _j) _d_o_u_b_l_e ssiinn(_d_o_u_b_l_e _x) + +FFIILLEESS + _i_n_t aabbss(_i_n_t _j) _d_o_u_b_l_e ssiinn(_d_o_u_b_l_e _x) + +EEXXAAMMPPLLEESS + _i_n_t aabbss(_i_n_t _j) _d_o_u_b_l_e ssiinn(_d_o_u_b_l_e _x) + +DDIIAAGGNNOOSSTTIICCSS + _i_n_t aabbss(_i_n_t _j) _d_o_u_b_l_e ssiinn(_d_o_u_b_l_e _x) + +EERRRROORRSS + _i_n_t aabbss(_i_n_t _j) _d_o_u_b_l_e ssiinn(_d_o_u_b_l_e _x) + +SSEEEE AALLSSOO + _i_n_t aabbss(_i_n_t _j) _d_o_u_b_l_e ssiinn(_d_o_u_b_l_e _x) + +SSTTAANNDDAARRDDSS + _i_n_t aabbss(_i_n_t _j) _d_o_u_b_l_e ssiinn(_d_o_u_b_l_e _x) + +HHIISSTTOORRYY + _i_n_t aabbss(_i_n_t _j) _d_o_u_b_l_e ssiinn(_d_o_u_b_l_e _x) + +AAUUTTHHOORRSS + _i_n_t aabbss(_i_n_t _j) _d_o_u_b_l_e ssiinn(_d_o_u_b_l_e _x) + +CCAAVVEEAATTSS + _i_n_t aabbss(_i_n_t _j) _d_o_u_b_l_e ssiinn(_d_o_u_b_l_e _x) + +BBUUGGSS + _i_n_t aabbss(_i_n_t _j) _d_o_u_b_l_e ssiinn(_d_o_u_b_l_e _x) + +CCUUSSTTOOMM + _i_n_t + aabbss(_i_n_t _j); + + _d_o_u_b_l_e + ssiinn(_d_o_u_b_l_e _x); + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Fo/section.out_markdown b/contrib/mandoc/regress/mdoc/Fo/section.out_markdown new file mode 100644 index 00000000000..9b70883f920 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/section.out_markdown @@ -0,0 +1,114 @@ +FN-SECTION(3) - Library Functions Manual + +# NAME + +**Fn-section** - special handling of Fn in various sections + +# SYNOPSIS + +*int* +**abs**(*int j*); + +*double* +**sin**(*double x*); + +# DESCRIPTION + +*int* +**abs**(*int j*) +*double* +**sin**(*double x*) + +# RETURN VALUES + +*int* +**abs**(*int j*) +*double* +**sin**(*double x*) + +# ENVIRONMENT + +*int* +**abs**(*int j*) +*double* +**sin**(*double x*) + +# FILES + +*int* +**abs**(*int j*) +*double* +**sin**(*double x*) + +# EXAMPLES + +*int* +**abs**(*int j*) +*double* +**sin**(*double x*) + +# DIAGNOSTICS + +*int* +**abs**(*int j*) +*double* +**sin**(*double x*) + +# ERRORS + +*int* +**abs**(*int j*) +*double* +**sin**(*double x*) + +# SEE ALSO + +*int* +**abs**(*int j*) +*double* +**sin**(*double x*) + +# STANDARDS + +*int* +**abs**(*int j*) +*double* +**sin**(*double x*) + +# HISTORY + +*int* +**abs**(*int j*) +*double* +**sin**(*double x*) + +# AUTHORS + +*int* +**abs**(*int j*) +*double* +**sin**(*double x*) + +# CAVEATS + +*int* +**abs**(*int j*) +*double* +**sin**(*double x*) + +# BUGS + +*int* +**abs**(*int j*) +*double* +**sin**(*double x*) + +# CUSTOM + +*int* +**abs**(*int j*); + +*double* +**sin**(*double x*); + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Fo/warn.in b/contrib/mandoc/regress/mdoc/Fo/warn.in new file mode 100644 index 00000000000..eb7cf2a6818 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/warn.in @@ -0,0 +1,14 @@ +.\" $OpenBSD: warn.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FO-WARN 1 +.Os +.Sh NAME +.Nm Fo-warn +.Nd warnings related to function blocks +.Sh SYNOPSIS +.Ft double +.Fo sin() +.Fa "double x" +.Fc +.Ft double +.Fn atan2 "double y, double x" diff --git a/contrib/mandoc/regress/mdoc/Fo/warn.out_ascii b/contrib/mandoc/regress/mdoc/Fo/warn.out_ascii new file mode 100644 index 00000000000..85f0b46fb3e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/warn.out_ascii @@ -0,0 +1,13 @@ +FO-WARN(1) General Commands Manual FO-WARN(1) + +NNAAMMEE + FFoo--wwaarrnn - warnings related to function blocks + +SSYYNNOOPPSSIISS + _d_o_u_b_l_e + ssiinn(())(_d_o_u_b_l_e _x); + + _d_o_u_b_l_e + aattaann22(_d_o_u_b_l_e _y_, _d_o_u_b_l_e _x); + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Fo/warn.out_lint b/contrib/mandoc/regress/mdoc/Fo/warn.out_lint new file mode 100644 index 00000000000..3af27fc6d03 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/warn.out_lint @@ -0,0 +1,2 @@ +mandoc: warn.in:10:8: WARNING: parenthesis in function name: sin() +mandoc: warn.in:14:19: WARNING: comma in function argument: double y, double x diff --git a/contrib/mandoc/regress/mdoc/Fo/warn.out_markdown b/contrib/mandoc/regress/mdoc/Fo/warn.out_markdown new file mode 100644 index 00000000000..9d37abba962 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Fo/warn.out_markdown @@ -0,0 +1,15 @@ +FO-WARN(1) - General Commands Manual + +# NAME + +**Fo-warn** - warnings related to function blocks + +# SYNOPSIS + +*double* +**sin()**(*double x*); + +*double* +**atan2**(*double y, double x*); + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Ft/Makefile b/contrib/mandoc/regress/mdoc/Ft/Makefile new file mode 100644 index 00000000000..915e456c354 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ft/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.1 2012/07/09 17:52:09 schwarze Exp $ + +REGRESS_TARGETS = font + +.include diff --git a/contrib/mandoc/regress/mdoc/Ft/font.in b/contrib/mandoc/regress/mdoc/Ft/font.in new file mode 100644 index 00000000000..1ea7a3f5a6c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ft/font.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: font.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FT-FONT 1 +.Os +.Sh NAME +.Nm Ft-font +.Nd changing fonts inside the function return type macro +.Sh DESCRIPTION +normal text +.Ft emphasis\\fBbold\\fPback +trailing text diff --git a/contrib/mandoc/regress/mdoc/Ft/font.out_ascii b/contrib/mandoc/regress/mdoc/Ft/font.out_ascii new file mode 100644 index 00000000000..ea56b241351 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ft/font.out_ascii @@ -0,0 +1,9 @@ +FT-FONT(1) General Commands Manual FT-FONT(1) + +NNAAMMEE + FFtt--ffoonntt - changing fonts inside the function return type macro + +DDEESSCCRRIIPPTTIIOONN + normal text _e_m_p_h_a_s_i_sbboolldd_b_a_c_k trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ft/font.out_markdown b/contrib/mandoc/regress/mdoc/Ft/font.out_markdown new file mode 100644 index 00000000000..c7ef33c9b9e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ft/font.out_markdown @@ -0,0 +1,13 @@ +FT-FONT(1) - General Commands Manual + +# NAME + +**Ft-font** - changing fonts inside the function return type macro + +# DESCRIPTION + +normal text +*emphasis**bold**back* +trailing text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Ic/Makefile b/contrib/mandoc/regress/mdoc/Ic/Makefile new file mode 100644 index 00000000000..33faa380d96 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ic/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.4 2014/07/02 20:18:42 schwarze Exp $ + +REGRESS_TARGETS = font noarg punct +LINT_TARGETS = noarg + +.include diff --git a/contrib/mandoc/regress/mdoc/Ic/font.in b/contrib/mandoc/regress/mdoc/Ic/font.in new file mode 100644 index 00000000000..5a29207ca12 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ic/font.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: font.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt IC-FONT 1 +.Os +.Sh NAME +.Nm Ic-font +.Nd changing fonts inside the internal command macro +.Sh DESCRIPTION +normal text +.Ic bold\\fIemphasis\\fPback +trailing text diff --git a/contrib/mandoc/regress/mdoc/Ic/font.out_ascii b/contrib/mandoc/regress/mdoc/Ic/font.out_ascii new file mode 100644 index 00000000000..ce6a6edba40 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ic/font.out_ascii @@ -0,0 +1,9 @@ +IC-FONT(1) General Commands Manual IC-FONT(1) + +NNAAMMEE + IIcc--ffoonntt - changing fonts inside the internal command macro + +DDEESSCCRRIIPPTTIIOONN + normal text bboolldd_e_m_p_h_a_s_i_sbbaacckk trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ic/font.out_markdown b/contrib/mandoc/regress/mdoc/Ic/font.out_markdown new file mode 100644 index 00000000000..617ad01c01f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ic/font.out_markdown @@ -0,0 +1,13 @@ +IC-FONT(1) - General Commands Manual + +# NAME + +**Ic-font** - changing fonts inside the internal command macro + +# DESCRIPTION + +normal text +**bold*emphasis*back** +trailing text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Ic/noarg.in b/contrib/mandoc/regress/mdoc/Ic/noarg.in new file mode 100644 index 00000000000..c4001544f3f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ic/noarg.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: noarg.in,v 1.4 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt IC-NOARG 1 +.Os +.Sh NAME +.Nm Ic-noarg +.Nd interactive command without an argument +.Sh DESCRIPTION +with command: +.Ic ls. +no command: +.Ic +end of test document diff --git a/contrib/mandoc/regress/mdoc/Ic/noarg.out_ascii b/contrib/mandoc/regress/mdoc/Ic/noarg.out_ascii new file mode 100644 index 00000000000..6722ef56933 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ic/noarg.out_ascii @@ -0,0 +1,9 @@ +IC-NOARG(1) General Commands Manual IC-NOARG(1) + +NNAAMMEE + IIcc--nnooaarrgg - interactive command without an argument + +DDEESSCCRRIIPPTTIIOONN + with command: llss.. no command: end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ic/noarg.out_lint b/contrib/mandoc/regress/mdoc/Ic/noarg.out_lint new file mode 100644 index 00000000000..5f51ea6994c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ic/noarg.out_lint @@ -0,0 +1,2 @@ +mandoc: noarg.in:12:2: WARNING: skipping empty macro: Ic +mandoc: noarg.in:10:7: STYLE: no blank before trailing delimiter: Ic ls. diff --git a/contrib/mandoc/regress/mdoc/Ic/noarg.out_markdown b/contrib/mandoc/regress/mdoc/Ic/noarg.out_markdown new file mode 100644 index 00000000000..6fd542754cb --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ic/noarg.out_markdown @@ -0,0 +1,14 @@ +IC-NOARG(1) - General Commands Manual + +# NAME + +**Ic-noarg** - interactive command without an argument + +# DESCRIPTION + +with command: +**ls.** +no command: +end of test document + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Ic/punct.in b/contrib/mandoc/regress/mdoc/Ic/punct.in new file mode 100644 index 00000000000..12af06f42d6 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ic/punct.in @@ -0,0 +1,43 @@ +.\" $OpenBSD: punct.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt Ic-PUNCT 1 +.Os +.Sh NAME +.Nm Ic-punct +.Nd punctuation handling by the Ic macro +.Sh DESCRIPTION +closing punctuation +.Ic a ) +only one +.Ic ) +only more than one +.Ic ) ) +middle +.Ic a ) z +start +.Ic ) z +dot +.Ic . z +comma +.Ic , z +semicolon +.Ic ; z +colon +.Ic : z +quest +.Ic ? z +excl +.Ic ! z +paren +.Ic ) z +bracket +.Ic ] z +bar +.Ic | m +op paren +.Ic ( a +op bracket +.Ic [ a +.Pp +quoted punctuation: +.Ic a "(" b "|" c ")" d "," "Em" italic . diff --git a/contrib/mandoc/regress/mdoc/Ic/punct.out_ascii b/contrib/mandoc/regress/mdoc/Ic/punct.out_ascii new file mode 100644 index 00000000000..ff10d846b0f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ic/punct.out_ascii @@ -0,0 +1,13 @@ +Ic-PUNCT(1) General Commands Manual Ic-PUNCT(1) + +NNAAMMEE + IIcc--ppuunncctt - punctuation handling by the Ic macro + +DDEESSCCRRIIPPTTIIOONN + closing punctuation aa) only one ) only more than one )) middle aa) zz start + ) zz dot . zz comma , zz semicolon ; zz colon : zz quest ? zz excl ! zz paren ) + zz bracket ] zz bar | mm op paren (aa op bracket [aa + + quoted punctuation: aa (bb | cc) dd, _i_t_a_l_i_c. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ic/punct.out_markdown b/contrib/mandoc/regress/mdoc/Ic/punct.out_markdown new file mode 100644 index 00000000000..2f2e786e46f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ic/punct.out_markdown @@ -0,0 +1,45 @@ +Ic-PUNCT(1) - General Commands Manual + +# NAME + +**Ic-punct** - punctuation handling by the Ic macro + +# DESCRIPTION + +closing punctuation +**a**) +only one +) +only more than one +)) +middle +**a**) **z** +start +) **z** +dot +. **z** +comma +, **z** +semicolon +; **z** +colon +: **z** +quest +? **z** +excl +! **z** +paren +) **z** +bracket +] **z** +bar +| **m** +op paren +(**a** +op bracket +\[**a** + +quoted punctuation: +**a** (**b** | **c**) **d**, *italic*. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/In/Makefile b/contrib/mandoc/regress/mdoc/In/Makefile new file mode 100644 index 00000000000..790827bbcfa --- /dev/null +++ b/contrib/mandoc/regress/mdoc/In/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.6 2015/02/06 01:07:07 schwarze Exp $ + +REGRESS_TARGETS = break eos font noarg +LINT_TARGETS = noarg + +.include diff --git a/contrib/mandoc/regress/mdoc/In/break.in b/contrib/mandoc/regress/mdoc/In/break.in new file mode 100644 index 00000000000..442265bab23 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/In/break.in @@ -0,0 +1,27 @@ +.\" $OpenBSD: break.in,v 1.6 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt IN-BREAK 2 +.Os +.Sh NAME +.Nm In-break +.Nd line break before header include file +.Sh SYNOPSIS +.In fcntl.h +.Ft int +.Fn open "const char *path" "int flags" "mode_t mode" +.In sys/types.h +.In unistd.h +.Ft int +.Fn dup "int oldd" +.Ft ssize_t +.Fn write "int d" "const void *buf" "size_t nbytes" +.Sh DESCRIPTION +.In fcntl.h +.Ft int +.Fn open "const char *path" "int flags" "mode_t mode" +.In sys/types.h +.In unistd.h +.Ft int +.Fn dup "int oldd" +.Ft ssize_t +.Fn write "int d" "const void *buf" "size_t nbytes" diff --git a/contrib/mandoc/regress/mdoc/In/break.out_ascii b/contrib/mandoc/regress/mdoc/In/break.out_ascii new file mode 100644 index 00000000000..dd057d34222 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/In/break.out_ascii @@ -0,0 +1,26 @@ +IN-BREAK(2) System Calls Manual IN-BREAK(2) + +NNAAMMEE + IInn--bbrreeaakk - line break before header include file + +SSYYNNOOPPSSIISS + ##iinncclluuddee <> + + _i_n_t + ooppeenn(_c_o_n_s_t _c_h_a_r _*_p_a_t_h, _i_n_t _f_l_a_g_s, _m_o_d_e___t _m_o_d_e); + + ##iinncclluuddee <> + ##iinncclluuddee <> + + _i_n_t + dduupp(_i_n_t _o_l_d_d); + + _s_s_i_z_e___t + wwrriittee(_i_n_t _d, _c_o_n_s_t _v_o_i_d _*_b_u_f, _s_i_z_e___t _n_b_y_t_e_s); + +DDEESSCCRRIIPPTTIIOONN + <_f_c_n_t_l_._h> _i_n_t ooppeenn(_c_o_n_s_t _c_h_a_r _*_p_a_t_h, _i_n_t _f_l_a_g_s, _m_o_d_e___t _m_o_d_e) + <_s_y_s_/_t_y_p_e_s_._h> <_u_n_i_s_t_d_._h> _i_n_t dduupp(_i_n_t _o_l_d_d) _s_s_i_z_e___t wwrriittee(_i_n_t _d, _c_o_n_s_t + _v_o_i_d _*_b_u_f, _s_i_z_e___t _n_b_y_t_e_s) + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/In/break.out_markdown b/contrib/mandoc/regress/mdoc/In/break.out_markdown new file mode 100644 index 00000000000..acc86dddbea --- /dev/null +++ b/contrib/mandoc/regress/mdoc/In/break.out_markdown @@ -0,0 +1,35 @@ +IN-BREAK(2) - System Calls Manual + +# NAME + +**In-break** - line break before header include file + +# SYNOPSIS + +**#include <fcntl.h>** + +*int* +**open**(*const char \*path*, *int flags*, *mode\_t mode*); + +**#include <sys/types.h>** +**#include <unistd.h>** + +*int* +**dup**(*int oldd*); + +*ssize\_t* +**write**(*int d*, *const void \*buf*, *size\_t nbytes*); + +# DESCRIPTION + +<*fcntl.h*> +*int* +**open**(*const char \*path*, *int flags*, *mode\_t mode*) +<*sys/types.h*> +<*unistd.h*> +*int* +**dup**(*int oldd*) +*ssize\_t* +**write**(*int d*, *const void \*buf*, *size\_t nbytes*) + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/In/eos.in b/contrib/mandoc/regress/mdoc/In/eos.in new file mode 100644 index 00000000000..8b59f4acd71 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/In/eos.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: eos.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt IN-EOS 1 +.Os +.Sh NAME +.Nm In-eos +.Nd end of sentence handling after the include macro +.Sh DESCRIPTION +Let's use +.In string.h . +And then something else. diff --git a/contrib/mandoc/regress/mdoc/In/eos.out_ascii b/contrib/mandoc/regress/mdoc/In/eos.out_ascii new file mode 100644 index 00000000000..21dd47f4c0b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/In/eos.out_ascii @@ -0,0 +1,9 @@ +IN-EOS(1) General Commands Manual IN-EOS(1) + +NNAAMMEE + IInn--eeooss - end of sentence handling after the include macro + +DDEESSCCRRIIPPTTIIOONN + Let's use <_s_t_r_i_n_g_._h>. And then something else. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/In/eos.out_markdown b/contrib/mandoc/regress/mdoc/In/eos.out_markdown new file mode 100644 index 00000000000..32cf3851ccb --- /dev/null +++ b/contrib/mandoc/regress/mdoc/In/eos.out_markdown @@ -0,0 +1,13 @@ +IN-EOS(1) - General Commands Manual + +# NAME + +**In-eos** - end of sentence handling after the include macro + +# DESCRIPTION + +Let's use +<*string.h*>. +And then something else. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/In/font.in b/contrib/mandoc/regress/mdoc/In/font.in new file mode 100644 index 00000000000..73f49509e21 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/In/font.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: font.in,v 1.3 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt IN-FONT 2 +.Os +.Sh NAME +.Nm In-font +.Nd changing the font inside the include macro +.Sh DESCRIPTION +normal text +.In prefix\\fBheader\\fPsuffix | after ":" punctuation "Sy" bold +trailing text diff --git a/contrib/mandoc/regress/mdoc/In/font.out_ascii b/contrib/mandoc/regress/mdoc/In/font.out_ascii new file mode 100644 index 00000000000..87519e297e0 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/In/font.out_ascii @@ -0,0 +1,9 @@ +IN-FONT(2) System Calls Manual IN-FONT(2) + +NNAAMMEE + IInn--ffoonntt - changing the font inside the include macro + +DDEESSCCRRIIPPTTIIOONN + normal text <_p_r_e_f_i_xhheeaaddeerr_s_u_f_f_i_x> | after: punctuation bboolldd trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/In/font.out_markdown b/contrib/mandoc/regress/mdoc/In/font.out_markdown new file mode 100644 index 00000000000..26fa74aa0ae --- /dev/null +++ b/contrib/mandoc/regress/mdoc/In/font.out_markdown @@ -0,0 +1,13 @@ +IN-FONT(2) - System Calls Manual + +# NAME + +**In-font** - changing the font inside the include macro + +# DESCRIPTION + +normal text +<*prefix**header**suffix*> | after: punctuation **bold** +trailing text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/In/noarg.in b/contrib/mandoc/regress/mdoc/In/noarg.in new file mode 100644 index 00000000000..e56f9587805 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/In/noarg.in @@ -0,0 +1,21 @@ +.\" $OpenBSD: noarg.in,v 1.3 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt IN-NOARG 2 +.Os +.Sh NAME +.Nm In-noarg +.Nd include file macros without argument +.Sh SYNOPSIS +.In math.h +.Ft double +.Fn sin "double x" +.In +.Ft double +.Fn cos "double x" +.Sh DESCRIPTION +.In math.h: +.Ft double +.Fn sin "double x" +.In +.Ft double +.Fn cos "double x" diff --git a/contrib/mandoc/regress/mdoc/In/noarg.out_ascii b/contrib/mandoc/regress/mdoc/In/noarg.out_ascii new file mode 100644 index 00000000000..c7b3272e8b5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/In/noarg.out_ascii @@ -0,0 +1,18 @@ +IN-NOARG(2) System Calls Manual IN-NOARG(2) + +NNAAMMEE + IInn--nnooaarrgg - include file macros without argument + +SSYYNNOOPPSSIISS + ##iinncclluuddee <> + + _d_o_u_b_l_e + ssiinn(_d_o_u_b_l_e _x); + + _d_o_u_b_l_e + ccooss(_d_o_u_b_l_e _x); + +DDEESSCCRRIIPPTTIIOONN + <_m_a_t_h_._h_:> _d_o_u_b_l_e ssiinn(_d_o_u_b_l_e _x) _d_o_u_b_l_e ccooss(_d_o_u_b_l_e _x) + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/In/noarg.out_lint b/contrib/mandoc/regress/mdoc/In/noarg.out_lint new file mode 100644 index 00000000000..431d09e8b30 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/In/noarg.out_lint @@ -0,0 +1,3 @@ +mandoc: noarg.in:12:2: WARNING: skipping empty macro: In +mandoc: noarg.in:19:2: WARNING: skipping empty macro: In +mandoc: noarg.in:16:11: STYLE: no blank before trailing delimiter: In math.h: diff --git a/contrib/mandoc/regress/mdoc/In/noarg.out_markdown b/contrib/mandoc/regress/mdoc/In/noarg.out_markdown new file mode 100644 index 00000000000..5a581472692 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/In/noarg.out_markdown @@ -0,0 +1,25 @@ +IN-NOARG(2) - System Calls Manual + +# NAME + +**In-noarg** - include file macros without argument + +# SYNOPSIS + +**#include <math.h>** + +*double* +**sin**(*double x*); + +*double* +**cos**(*double x*); + +# DESCRIPTION + +<*math.h:*> +*double* +**sin**(*double x*) +*double* +**cos**(*double x*) + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Lb/Makefile b/contrib/mandoc/regress/mdoc/Lb/Makefile new file mode 100644 index 00000000000..952e0881d6a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Lb/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.6 2014/07/02 20:18:42 schwarze Exp $ + +REGRESS_TARGETS = break badargs eos +LINT_TARGETS = badargs + +.include diff --git a/contrib/mandoc/regress/mdoc/Lb/badargs.in b/contrib/mandoc/regress/mdoc/Lb/badargs.in new file mode 100644 index 00000000000..c846503924f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Lb/badargs.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: badargs.in,v 1.5 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt LB-BADARGS 3 +.Os +.Sh NAME +.Nm Lb-badargs +.Nd bad arguments to the library macro +.Sh LIBRARY +.Lb murks. +.Lb +.Lb mylib another. diff --git a/contrib/mandoc/regress/mdoc/Lb/badargs.out_ascii b/contrib/mandoc/regress/mdoc/Lb/badargs.out_ascii new file mode 100644 index 00000000000..e182e45c3af --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Lb/badargs.out_ascii @@ -0,0 +1,10 @@ +LB-BADARGS(3) Library Functions Manual LB-BADARGS(3) + +NNAAMMEE + LLbb--bbaaddaarrggss - bad arguments to the library macro + +LLIIBBRRAARRYY + library "murks." + library "mylib" another. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Lb/badargs.out_lint b/contrib/mandoc/regress/mdoc/Lb/badargs.out_lint new file mode 100644 index 00000000000..bb56945af32 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Lb/badargs.out_lint @@ -0,0 +1,5 @@ +mandoc: badargs.in:10:2: WARNING: skipping empty macro: Lb +mandoc: badargs.in:9:10: STYLE: no blank before trailing delimiter: Lb murks. +mandoc: badargs.in:9:5: WARNING: unknown library name: Lb murks. +mandoc: badargs.in:11:18: STYLE: no blank before trailing delimiter: Lb ... another. +mandoc: badargs.in:11:5: WARNING: unknown library name: Lb mylib diff --git a/contrib/mandoc/regress/mdoc/Lb/badargs.out_markdown b/contrib/mandoc/regress/mdoc/Lb/badargs.out_markdown new file mode 100644 index 00000000000..55e31bb141b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Lb/badargs.out_markdown @@ -0,0 +1,12 @@ +LB-BADARGS(3) - Library Functions Manual + +# NAME + +**Lb-badargs** - bad arguments to the library macro + +# LIBRARY + +library “murks.” +library “mylib” another. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Lb/break.in b/contrib/mandoc/regress/mdoc/Lb/break.in new file mode 100644 index 00000000000..4f88698c237 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Lb/break.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: break.in,v 1.4 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt LB-BREAK 3 +.Os +.Sh NAME +.Nm Lb-break +.Nd output line breaks after the library macro +.Sh LIBRARY +.Lb mylib +text +.Sh DESCRIPTION +.Lb mylib +text diff --git a/contrib/mandoc/regress/mdoc/Lb/break.out_ascii b/contrib/mandoc/regress/mdoc/Lb/break.out_ascii new file mode 100644 index 00000000000..35103da8aa3 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Lb/break.out_ascii @@ -0,0 +1,13 @@ +LB-BREAK(3) Library Functions Manual LB-BREAK(3) + +NNAAMMEE + LLbb--bbrreeaakk - output line breaks after the library macro + +LLIIBBRRAARRYY + library "mylib" + text + +DDEESSCCRRIIPPTTIIOONN + library "mylib" text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Lb/break.out_markdown b/contrib/mandoc/regress/mdoc/Lb/break.out_markdown new file mode 100644 index 00000000000..316516a6353 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Lb/break.out_markdown @@ -0,0 +1,17 @@ +LB-BREAK(3) - Library Functions Manual + +# NAME + +**Lb-break** - output line breaks after the library macro + +# LIBRARY + +library “mylib” +text + +# DESCRIPTION + +library “mylib” +text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Lb/eos.in b/contrib/mandoc/regress/mdoc/Lb/eos.in new file mode 100644 index 00000000000..be6d6500e99 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Lb/eos.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: eos.in,v 1.3 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt LB-EOS 1 +.Os +.Sh NAME +.Nm Lb-eos +.Nd end of sentence handling after the library macro +.Sh DESCRIPTION +Let's use the +.Lb mylib . +And some other libraries. diff --git a/contrib/mandoc/regress/mdoc/Lb/eos.out_ascii b/contrib/mandoc/regress/mdoc/Lb/eos.out_ascii new file mode 100644 index 00000000000..5c57a6c2ee0 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Lb/eos.out_ascii @@ -0,0 +1,9 @@ +LB-EOS(1) General Commands Manual LB-EOS(1) + +NNAAMMEE + LLbb--eeooss - end of sentence handling after the library macro + +DDEESSCCRRIIPPTTIIOONN + Let's use the library "mylib". And some other libraries. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Lb/eos.out_markdown b/contrib/mandoc/regress/mdoc/Lb/eos.out_markdown new file mode 100644 index 00000000000..c9a049dc89d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Lb/eos.out_markdown @@ -0,0 +1,13 @@ +LB-EOS(1) - General Commands Manual + +# NAME + +**Lb-eos** - end of sentence handling after the library macro + +# DESCRIPTION + +Let's use the +library “mylib”. +And some other libraries. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Li/Makefile b/contrib/mandoc/regress/mdoc/Li/Makefile new file mode 100644 index 00000000000..f5afd19956d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Li/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.4 2014/07/02 20:18:42 schwarze Exp $ + +REGRESS_TARGETS = punct font +LINT_TARGETS = punct + +.include diff --git a/contrib/mandoc/regress/mdoc/Li/font.in b/contrib/mandoc/regress/mdoc/Li/font.in new file mode 100644 index 00000000000..cb2c3f150de --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Li/font.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: font.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt LI-FONT 1 +.Os +.Sh NAME +.Nm Li-font +.Nd changing fonts inside the literal in-line macro +.Sh DESCRIPTION +normal text +.Li literal\\fIemphasis\\fPback +trailing text diff --git a/contrib/mandoc/regress/mdoc/Li/font.out_ascii b/contrib/mandoc/regress/mdoc/Li/font.out_ascii new file mode 100644 index 00000000000..a844e3d3e42 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Li/font.out_ascii @@ -0,0 +1,9 @@ +LI-FONT(1) General Commands Manual LI-FONT(1) + +NNAAMMEE + LLii--ffoonntt - changing fonts inside the literal in-line macro + +DDEESSCCRRIIPPTTIIOONN + normal text literal_e_m_p_h_a_s_i_sback trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Li/font.out_markdown b/contrib/mandoc/regress/mdoc/Li/font.out_markdown new file mode 100644 index 00000000000..cd47427618e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Li/font.out_markdown @@ -0,0 +1,13 @@ +LI-FONT(1) - General Commands Manual + +# NAME + +**Li-font** - changing fonts inside the literal in-line macro + +# DESCRIPTION + +normal text +`literalemphasisback` +trailing text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Li/punct.in b/contrib/mandoc/regress/mdoc/Li/punct.in new file mode 100644 index 00000000000..a3ca3cbcd47 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Li/punct.in @@ -0,0 +1,87 @@ +.\" $OpenBSD: punct.in,v 1.7 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt LI-PUNCT 1 +.Os +.Sh NAME +.Nm Li-punct +.Nd punctuation following a literal macro +.Sh DESCRIPTION +Leading punctuation: +.Li ( b +.Li "[" b +.Li | b +.Li . b +.Li , b +.Li ; b +.Li : b +.Li ? b +.Li ! b +.Li ) b +.Li ] b +.Pp +Trailing punctuation: +.Li a ( +.Li a [ +.Li a | +.Li a . +.Li a "," +.Li a ; +.Li a : +.Li a ? +.Li a ! +.Li a ) +.Li a ] +.Pp +Middle punctuation: +.Li a ( b +.Li a [ b +.Li a | b +.Li a . b +.Li a , b +.Li a ";" b +.Li a : b +.Li a ? b +.Li a ! b +.Li a ")" b +.Li a ] b +.Pp +Isolated punctuation: +.Li a Li ( Li b +.Li a Li [ Li b +.Li a Li | Li b +.Li a Li . Li b +.Li a Li , Li b +.Li a Li ; Li b +.Li a Li : Li b +.Li a Li ? Li b +.Li a Li ! Li b +.Li a Li ) Li b +.Li a Li ] Li b +.Pp +Isolated trailing punctuation: +.Li a Li ( +.Li a Li [ +.Li a Li | +.Li a Li . +.Li a Li , +.Li a Li ; +.Li a Li : +.Li a Li ? +.Li a Li ! +.Li a Li ) +.Li a Li ] +.Pp +Multiple isolated punctuation: +.Li a Li ( [ Li b +.Li a Li ) ] Li b +.Pp +Multiple punctuation: +.Li [ ( arg ) ] . +.Pp +Quoted: +.Li "a . b Nm" "Sy" bold +.Li ". b Nm" +.Li "." +.Pp +Missing blank: +.Li a. diff --git a/contrib/mandoc/regress/mdoc/Li/punct.out_ascii b/contrib/mandoc/regress/mdoc/Li/punct.out_ascii new file mode 100644 index 00000000000..a2489869873 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Li/punct.out_ascii @@ -0,0 +1,28 @@ +LI-PUNCT(1) General Commands Manual LI-PUNCT(1) + +NNAAMMEE + LLii--ppuunncctt - punctuation following a literal macro + +DDEESSCCRRIIPPTTIIOONN + Leading punctuation: (b [b | b . b , b ; b : b ? b ! b ) b ] b + + Trailing punctuation: a ( a [ a | a. a, a; a: a? a! a) a] + + Middle punctuation: a (b a [b a | b a. b a, b a; b a: b a? b a! b a) b a] + b + + Isolated punctuation: a (b a [b a | b a . b a , b a ; b a : b a ? b a ! b + a ) b a ] b + + Isolated trailing punctuation: a ( a [ a | a . a , a ; a : a ? a ! a ) + a ] + + Multiple isolated punctuation: a ([b a )] b + + Multiple punctuation: [(arg)]. + + Quoted: a . b Nm bboolldd . b Nm . + + Missing blank: a. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Li/punct.out_lint b/contrib/mandoc/regress/mdoc/Li/punct.out_lint new file mode 100644 index 00000000000..014743b8b9a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Li/punct.out_lint @@ -0,0 +1,26 @@ +mandoc: punct.in:49:7: WARNING: skipping empty macro: Li +mandoc: punct.in:50:7: WARNING: skipping empty macro: Li +mandoc: punct.in:51:7: WARNING: skipping empty macro: Li +mandoc: punct.in:52:7: WARNING: skipping empty macro: Li +mandoc: punct.in:53:7: WARNING: skipping empty macro: Li +mandoc: punct.in:54:7: WARNING: skipping empty macro: Li +mandoc: punct.in:55:7: WARNING: skipping empty macro: Li +mandoc: punct.in:56:7: WARNING: skipping empty macro: Li +mandoc: punct.in:57:7: WARNING: skipping empty macro: Li +mandoc: punct.in:58:7: WARNING: skipping empty macro: Li +mandoc: punct.in:59:7: WARNING: skipping empty macro: Li +mandoc: punct.in:62:7: WARNING: skipping empty macro: Li +mandoc: punct.in:63:7: WARNING: skipping empty macro: Li +mandoc: punct.in:64:7: WARNING: skipping empty macro: Li +mandoc: punct.in:65:7: WARNING: skipping empty macro: Li +mandoc: punct.in:66:7: WARNING: skipping empty macro: Li +mandoc: punct.in:67:7: WARNING: skipping empty macro: Li +mandoc: punct.in:68:7: WARNING: skipping empty macro: Li +mandoc: punct.in:69:7: WARNING: skipping empty macro: Li +mandoc: punct.in:70:7: WARNING: skipping empty macro: Li +mandoc: punct.in:71:7: WARNING: skipping empty macro: Li +mandoc: punct.in:72:7: WARNING: skipping empty macro: Li +mandoc: punct.in:75:7: WARNING: skipping empty macro: Li +mandoc: punct.in:76:7: WARNING: skipping empty macro: Li +mandoc: punct.in:84:2: WARNING: skipping empty macro: Li +mandoc: punct.in:87:6: STYLE: no blank before trailing delimiter: Li a. diff --git a/contrib/mandoc/regress/mdoc/Li/punct.out_markdown b/contrib/mandoc/regress/mdoc/Li/punct.out_markdown new file mode 100644 index 00000000000..6d5bfc4a5ed --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Li/punct.out_markdown @@ -0,0 +1,89 @@ +LI-PUNCT(1) - General Commands Manual + +# NAME + +**Li-punct** - punctuation following a literal macro + +# DESCRIPTION + +Leading punctuation: +(`b` +\[`b` +| `b` +. `b` +, `b` +; `b` +: `b` +? `b` +! `b` +) `b` +] `b` + +Trailing punctuation: +`a` ( +`a` \[ +`a` | +`a`. +`a`, +`a`; +`a`: +`a`? +`a`! +`a`) +`a`] + +Middle punctuation: +`a` (`b` +`a` \[`b` +`a` | `b` +`a`. `b` +`a`, `b` +`a`; `b` +`a`: `b` +`a`? `b` +`a`! `b` +`a`) `b` +`a`] `b` + +Isolated punctuation: +`a` (`b` +`a` \[`b` +`a` | `b` +`a` . `b` +`a` , `b` +`a` ; `b` +`a` : `b` +`a` ? `b` +`a` ! `b` +`a` ) `b` +`a` ] `b` + +Isolated trailing punctuation: +`a` ( +`a` \[ +`a` | +`a` . +`a` , +`a` ; +`a` : +`a` ? +`a` ! +`a` ) +`a` ] + +Multiple isolated punctuation: +`a` (\[`b` +`a` )] `b` + +Multiple punctuation: +\[(`arg`)]. + +Quoted: +`a . b Nm` **bold** +`. b Nm` +. + +Missing blank: +`a.` + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Lk/Makefile b/contrib/mandoc/regress/mdoc/Lk/Makefile new file mode 100644 index 00000000000..448b1c4fabf --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Lk/Makefile @@ -0,0 +1,10 @@ +# $OpenBSD: Makefile,v 1.3 2014/07/02 20:18:42 schwarze Exp $ + +REGRESS_TARGETS = link noarg font +LINT_TARGETS = noarg + +# it's unclear what font changes in link destinations should do + +SKIP_MARKDOWN ?= font + +.include diff --git a/contrib/mandoc/regress/mdoc/Lk/font.in b/contrib/mandoc/regress/mdoc/Lk/font.in new file mode 100644 index 00000000000..0ea73b9dd7f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Lk/font.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: font.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt LK-FONT 1 +.Os +.Sh NAME +.Nm Lk-font +.Nd changing the font inside the hyperlink macro +.Sh DESCRIPTION +normal text +.Lk http://www.\\fIopenbsd\\fP.org/ Open\\fBBSD\\fPweb +trailing text diff --git a/contrib/mandoc/regress/mdoc/Lk/font.out_ascii b/contrib/mandoc/regress/mdoc/Lk/font.out_ascii new file mode 100644 index 00000000000..58bddfe428a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Lk/font.out_ascii @@ -0,0 +1,9 @@ +LK-FONT(1) General Commands Manual LK-FONT(1) + +NNAAMMEE + LLkk--ffoonntt - changing the font inside the hyperlink macro + +DDEESSCCRRIIPPTTIIOONN + normal text _O_p_e_nBBSSDD_w_e_b: hhttttpp::////wwwwww.._o_p_e_n_b_s_d..oorrgg// trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Lk/link.in b/contrib/mandoc/regress/mdoc/Lk/link.in new file mode 100644 index 00000000000..02e3fcc6eb7 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Lk/link.in @@ -0,0 +1,17 @@ +.\" $OpenBSD: link.in,v 1.3 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt LK-LINK 1 +.Os +.Sh NAME +.Nm Lk-link +.Nd formatting of hyperlinks +.Sh DESCRIPTION +Here are some web sites of BSD operating systems: +.Lk http://www.freebsd.org/ FreeBSD +.Lk http://www.netbsd.org/ NetBSD +.Lk http://www.openbsd.org/ OpenBSD +.Sh SEE ALSO +Here are some web sites of BSD operating systems: +.Lk http://www.freebsd.org/ FreeBSD +.Lk http://www.netbsd.org/ NetBSD +.Lk http://www.openbsd.org/ OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Lk/link.out_ascii b/contrib/mandoc/regress/mdoc/Lk/link.out_ascii new file mode 100644 index 00000000000..0004d1ec6d8 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Lk/link.out_ascii @@ -0,0 +1,16 @@ +LK-LINK(1) General Commands Manual LK-LINK(1) + +NNAAMMEE + LLkk--lliinnkk - formatting of hyperlinks + +DDEESSCCRRIIPPTTIIOONN + Here are some web sites of BSD operating systems: _F_r_e_e_B_S_D: + hhttttpp::////wwwwww..ffrreeeebbssdd..oorrgg// _N_e_t_B_S_D: hhttttpp::////wwwwww..nneettbbssdd..oorrgg// _O_p_e_n_B_S_D: + hhttttpp::////wwwwww..ooppeennbbssdd..oorrgg// + +SSEEEE AALLSSOO + Here are some web sites of BSD operating systems: _F_r_e_e_B_S_D: + hhttttpp::////wwwwww..ffrreeeebbssdd..oorrgg// _N_e_t_B_S_D: hhttttpp::////wwwwww..nneettbbssdd..oorrgg// _O_p_e_n_B_S_D: + hhttttpp::////wwwwww..ooppeennbbssdd..oorrgg// + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Lk/link.out_markdown b/contrib/mandoc/regress/mdoc/Lk/link.out_markdown new file mode 100644 index 00000000000..97f315501c5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Lk/link.out_markdown @@ -0,0 +1,21 @@ +LK-LINK(1) - General Commands Manual + +# NAME + +**Lk-link** - formatting of hyperlinks + +# DESCRIPTION + +Here are some web sites of BSD operating systems: +[FreeBSD](http://www.freebsd.org/) +[NetBSD](http://www.netbsd.org/) +[OpenBSD](http://www.openbsd.org/) + +# SEE ALSO + +Here are some web sites of BSD operating systems: +[FreeBSD](http://www.freebsd.org/) +[NetBSD](http://www.netbsd.org/) +[OpenBSD](http://www.openbsd.org/) + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Lk/noarg.in b/contrib/mandoc/regress/mdoc/Lk/noarg.in new file mode 100644 index 00000000000..b09269defc6 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Lk/noarg.in @@ -0,0 +1,19 @@ +.\" $OpenBSD: noarg.in,v 1.6 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt LK-NOARG 1 +.Os +.Sh NAME +.Nm Lk-noarg +.Nd hyperlink macro without arguments +.Sh DESCRIPTION +multiple arguments +.Lk http://www.bsd.lv/ the bsd.lv project , +.Lk http://www.gnu.org/software/groff/ GNU troff "," +two arguments +.Lk http://mdocml.bsd.lv/ mandoc, +one argument +.Lk http://www.openbsd.org/, +no argument +.Lk +.Pp +end of test document diff --git a/contrib/mandoc/regress/mdoc/Lk/noarg.out_ascii b/contrib/mandoc/regress/mdoc/Lk/noarg.out_ascii new file mode 100644 index 00000000000..dd5ee4de89c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Lk/noarg.out_ascii @@ -0,0 +1,14 @@ +LK-NOARG(1) General Commands Manual LK-NOARG(1) + +NNAAMMEE + LLkk--nnooaarrgg - hyperlink macro without arguments + +DDEESSCCRRIIPPTTIIOONN + multiple arguments _t_h_e _b_s_d_._l_v _p_r_o_j_e_c_t: hhttttpp::////wwwwww..bbssdd..llvv//, _G_N_U _t_r_o_f_f: + hhttttpp::////wwwwww..ggnnuu..oorrgg//ssooffttwwaarree//ggrrooffff//, + two arguments _m_a_n_d_o_c_,: hhttttpp::////mmddooccmmll..bbssdd..llvv// one argument + hhttttpp::////wwwwww..ooppeennbbssdd..oorrgg//,, no argument + + end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Lk/noarg.out_lint b/contrib/mandoc/regress/mdoc/Lk/noarg.out_lint new file mode 100644 index 00000000000..4ea08e5b892 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Lk/noarg.out_lint @@ -0,0 +1,3 @@ +mandoc: noarg.in:17:2: WARNING: skipping empty macro: Lk +mandoc: noarg.in:13:33: STYLE: no blank before trailing delimiter: Lk ... mandoc, +mandoc: noarg.in:15:28: STYLE: no blank before trailing delimiter: Lk http://www.openbsd.org/, diff --git a/contrib/mandoc/regress/mdoc/Lk/noarg.out_markdown b/contrib/mandoc/regress/mdoc/Lk/noarg.out_markdown new file mode 100644 index 00000000000..7490af2dd96 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Lk/noarg.out_markdown @@ -0,0 +1,20 @@ +LK-NOARG(1) - General Commands Manual + +# NAME + +**Lk-noarg** - hyperlink macro without arguments + +# DESCRIPTION + +multiple arguments +[the bsd.lv project](http://www.bsd.lv/), +[GNU troff](http://www.gnu.org/software/groff/), +two arguments +[mandoc,](http://mdocml.bsd.lv/) +one argument +[http://www.openbsd.org/,](http://www.openbsd.org/,) +no argument + +end of test document + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Makefile b/contrib/mandoc/regress/mdoc/Makefile new file mode 100644 index 00000000000..86bdcb7a2ff --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Makefile @@ -0,0 +1,9 @@ +# $OpenBSD: Makefile,v 1.32 2017/01/11 17:39:45 schwarze Exp $ + +SUBDIR = Ad An Ap Aq Ar At Bd Bf Bk Bl Brq Bx Cd Cm +SUBDIR += D1 Db Dd Dl Dq Dt Dv Em Eo Er Ev Ex Fd Fl Fo Ft Ic In Lb Li Lk +SUBDIR += Ms Mt Nd Nm No Ns Oo Op Os Ox Pa Pf Pp Qq Rs Rv +SUBDIR += Sh Sm Sq St Sx Sy Tn Ud Ux Va Vt Xr blank break + +.include "../Makefile.sub" +.include diff --git a/contrib/mandoc/regress/mdoc/Makefile.inc b/contrib/mandoc/regress/mdoc/Makefile.inc new file mode 100644 index 00000000000..3c6f23849ea --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Makefile.inc @@ -0,0 +1,3 @@ +# $OpenBSD: Makefile.inc,v 1.1 2009/10/28 03:20:42 schwarze Exp $ + +.include "../Makefile.inc" diff --git a/contrib/mandoc/regress/mdoc/Ms/Makefile b/contrib/mandoc/regress/mdoc/Ms/Makefile new file mode 100644 index 00000000000..1be2a84aeb4 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ms/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.4 2014/07/02 20:18:42 schwarze Exp $ + +REGRESS_TARGETS = noarg font +LINT_TARGETS = noarg + +.include diff --git a/contrib/mandoc/regress/mdoc/Ms/font.in b/contrib/mandoc/regress/mdoc/Ms/font.in new file mode 100644 index 00000000000..212ea25d3c5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ms/font.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: font.in,v 1.4 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt MS-FONT 1 +.Os +.Sh NAME +.Nm Ms-font +.Nd changing fonts inside the mathematical symbol macro +.Sh DESCRIPTION +normal text +.Ms bold\\fIemphasis\\fPback | after ":" punctuation "Em" italic +trailing text diff --git a/contrib/mandoc/regress/mdoc/Ms/font.out_ascii b/contrib/mandoc/regress/mdoc/Ms/font.out_ascii new file mode 100644 index 00000000000..441fa6f69f1 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ms/font.out_ascii @@ -0,0 +1,9 @@ +MS-FONT(1) General Commands Manual MS-FONT(1) + +NNAAMMEE + MMss--ffoonntt - changing fonts inside the mathematical symbol macro + +DDEESSCCRRIIPPTTIIOONN + normal text bboolldd_e_m_p_h_a_s_i_sbbaacckk | aafftteerr: ppuunnccttuuaattiioonn _i_t_a_l_i_c trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ms/font.out_markdown b/contrib/mandoc/regress/mdoc/Ms/font.out_markdown new file mode 100644 index 00000000000..9c7b4f7d48c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ms/font.out_markdown @@ -0,0 +1,13 @@ +MS-FONT(1) - General Commands Manual + +# NAME + +**Ms-font** - changing fonts inside the mathematical symbol macro + +# DESCRIPTION + +normal text +**bold*emphasis*back** | **after**: **punctuation** *italic* +trailing text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Ms/noarg.in b/contrib/mandoc/regress/mdoc/Ms/noarg.in new file mode 100644 index 00000000000..1ae65feb9fb --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ms/noarg.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: noarg.in,v 1.4 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt MS-NOARG 1 +.Os +.Sh NAME +.Nm Ms-noarg +.Nd mathematical symbol without an argument +.Sh DESCRIPTION +with symbol: +.Ms alpha. +no symbol: +.Ms +end of test document diff --git a/contrib/mandoc/regress/mdoc/Ms/noarg.out_ascii b/contrib/mandoc/regress/mdoc/Ms/noarg.out_ascii new file mode 100644 index 00000000000..b369829fbca --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ms/noarg.out_ascii @@ -0,0 +1,9 @@ +MS-NOARG(1) General Commands Manual MS-NOARG(1) + +NNAAMMEE + MMss--nnooaarrgg - mathematical symbol without an argument + +DDEESSCCRRIIPPTTIIOONN + with symbol: aallpphhaa.. no symbol: end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ms/noarg.out_lint b/contrib/mandoc/regress/mdoc/Ms/noarg.out_lint new file mode 100644 index 00000000000..dac31165bd9 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ms/noarg.out_lint @@ -0,0 +1,2 @@ +mandoc: noarg.in:12:2: WARNING: skipping empty macro: Ms +mandoc: noarg.in:10:10: STYLE: no blank before trailing delimiter: Ms alpha. diff --git a/contrib/mandoc/regress/mdoc/Ms/noarg.out_markdown b/contrib/mandoc/regress/mdoc/Ms/noarg.out_markdown new file mode 100644 index 00000000000..f145f5dfc11 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ms/noarg.out_markdown @@ -0,0 +1,14 @@ +MS-NOARG(1) - General Commands Manual + +# NAME + +**Ms-noarg** - mathematical symbol without an argument + +# DESCRIPTION + +with symbol: +**alpha.** +no symbol: +end of test document + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Mt/Makefile b/contrib/mandoc/regress/mdoc/Mt/Makefile new file mode 100644 index 00000000000..bfb496d51a4 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Mt/Makefile @@ -0,0 +1,10 @@ +# $OpenBSD: Makefile,v 1.5 2012/07/09 17:52:09 schwarze Exp $ + +REGRESS_TARGETS = simple font +LINT_TARGETS = simple + +# it's unclear what font changes in link destinations should do + +SKIP_MARKDOWN ?= font + +.include diff --git a/contrib/mandoc/regress/mdoc/Mt/font.in b/contrib/mandoc/regress/mdoc/Mt/font.in new file mode 100644 index 00000000000..83df764f992 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Mt/font.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: font.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt MT-FONT 1 +.Os +.Sh NAME +.Nm Mt-font +.Nd changing fonts inside the mailto macro +.Sh DESCRIPTION +normal text +.Mt emphasis\\fBbold\\fPback +trailing text diff --git a/contrib/mandoc/regress/mdoc/Mt/font.out_ascii b/contrib/mandoc/regress/mdoc/Mt/font.out_ascii new file mode 100644 index 00000000000..8f8509de6ad --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Mt/font.out_ascii @@ -0,0 +1,9 @@ +MT-FONT(1) General Commands Manual MT-FONT(1) + +NNAAMMEE + MMtt--ffoonntt - changing fonts inside the mailto macro + +DDEESSCCRRIIPPTTIIOONN + normal text _e_m_p_h_a_s_i_sbboolldd_b_a_c_k trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Mt/simple.in b/contrib/mandoc/regress/mdoc/Mt/simple.in new file mode 100644 index 00000000000..3eef6a48eae --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Mt/simple.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: simple.in,v 1.6 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt MT-SIMPLE 1 +.Os +.Sh NAME +.Nm Mt-simple +.Nd mailto +.Sh DESCRIPTION +Please send mail to +.Mt schwarze@openbsd.org ";" "Sy" bold . +.Pp +Pay attention to +.Mt punctuation@localhost. +.Pp +Do not send mail to +.Mt . diff --git a/contrib/mandoc/regress/mdoc/Mt/simple.out_ascii b/contrib/mandoc/regress/mdoc/Mt/simple.out_ascii new file mode 100644 index 00000000000..74640da6a63 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Mt/simple.out_ascii @@ -0,0 +1,13 @@ +MT-SIMPLE(1) General Commands Manual MT-SIMPLE(1) + +NNAAMMEE + MMtt--ssiimmppllee - mailto + +DDEESSCCRRIIPPTTIIOONN + Please send mail to _s_c_h_w_a_r_z_e_@_o_p_e_n_b_s_d_._o_r_g; bboolldd. + + Pay attention to _p_u_n_c_t_u_a_t_i_o_n_@_l_o_c_a_l_h_o_s_t_. + + Do not send mail to _~. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Mt/simple.out_lint b/contrib/mandoc/regress/mdoc/Mt/simple.out_lint new file mode 100644 index 00000000000..8d91776bf70 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Mt/simple.out_lint @@ -0,0 +1 @@ +mandoc: simple.in:13:26: STYLE: no blank before trailing delimiter: Mt punctuation@localhost. diff --git a/contrib/mandoc/regress/mdoc/Mt/simple.out_markdown b/contrib/mandoc/regress/mdoc/Mt/simple.out_markdown new file mode 100644 index 00000000000..8138b7dfa9b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Mt/simple.out_markdown @@ -0,0 +1,18 @@ +MT-SIMPLE(1) - General Commands Manual + +# NAME + +**Mt-simple** - mailto + +# DESCRIPTION + +Please send mail to +[schwarze@openbsd.org](mailto:schwarze@openbsd.org); **bold**. + +Pay attention to +[punctuation@localhost.](mailto:punctuation@localhost.) + +Do not send mail to +[~](mailto:~). + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Nd/Makefile b/contrib/mandoc/regress/mdoc/Nd/Makefile new file mode 100644 index 00000000000..06a09a7a44e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nd/Makefile @@ -0,0 +1,8 @@ +# $OpenBSD: Makefile,v 1.5 2015/02/11 13:37:31 schwarze Exp $ + +REGRESS_TARGETS = broken hyph noarg par +LINT_TARGETS = broken noarg + +SKIP_MARKDOWN ?= broken + +.include diff --git a/contrib/mandoc/regress/mdoc/Nd/broken.in b/contrib/mandoc/regress/mdoc/Nd/broken.in new file mode 100644 index 00000000000..705654a4ace --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nd/broken.in @@ -0,0 +1,31 @@ +.\" $OpenBSD: broken.in,v 1.3 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ND-BROKEN 1 +.Os +.Sh NAME +.Oo +.Nm Nd-broken +.Nd description lines ended +.Oc +by explicit blocks +.Sh DESCRIPTION +Start nested lists: +.Bl -tag -width Ds +.Bl -tag -width Ds +.It inner tag +inner text +.Nd inner description +.El +back to outer list +.It outer tag +outer text +.El +.Pp +Broken together with a child block: +.\" Crashed before mdoc_macro.c OpenBSD rev. 1.171 +.Ao ao +.Bo bo +.Nd nd +.Pq pq bc Bc ac +.Ac Op op +end of file diff --git a/contrib/mandoc/regress/mdoc/Nd/broken.out_ascii b/contrib/mandoc/regress/mdoc/Nd/broken.out_ascii new file mode 100644 index 00000000000..561fad9e590 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nd/broken.out_ascii @@ -0,0 +1,19 @@ +ND-BROKEN(1) General Commands Manual ND-BROKEN(1) + +NNAAMMEE + [NNdd--bbrrookkeenn - description lines ended] by explicit blocks + +DDEESSCCRRIIPPTTIIOONN + Start nested lists: + + inner tag + inner text - inner description + back to outer list + + outer tag + outer text + + Broken together with a child block: [op] end of + file + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Nd/broken.out_lint b/contrib/mandoc/regress/mdoc/Nd/broken.out_lint new file mode 100644 index 00000000000..32681d8a78d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nd/broken.out_lint @@ -0,0 +1,9 @@ +mandoc: broken.in:29:11: WARNING: blocks badly nested: Bo breaks Pq +mandoc: broken.in:6:2: WARNING: bad NAME section content: Oo +mandoc: broken.in:10:1: WARNING: bad NAME section content: text +mandoc: broken.in:5:2: WARNING: NAME section without Nm before Nd +mandoc: broken.in:5:2: WARNING: NAME section without description +mandoc: broken.in:17:2: WARNING: description line outside NAME section: Nd +mandoc: broken.in:14:2: WARNING: moving content out of list: Bl +mandoc: broken.in:19:1: WARNING: moving content out of list: text +mandoc: broken.in:28:2: WARNING: description line outside NAME section: Nd diff --git a/contrib/mandoc/regress/mdoc/Nd/hyph.in b/contrib/mandoc/regress/mdoc/Nd/hyph.in new file mode 100644 index 00000000000..69915f8f2c8 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nd/hyph.in @@ -0,0 +1,12 @@ +.\" $OpenBSD: hyph.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ND-HYPH 1 +.Os +.Sh NAME +.Nm Nd-hyph +.Nd when there is already a hyphen within the the word, \ +line-breaking is permitted at that place +.Sh DESCRIPTION +Even in the document description line in the +.Sx NAME +section. diff --git a/contrib/mandoc/regress/mdoc/Nd/hyph.out_ascii b/contrib/mandoc/regress/mdoc/Nd/hyph.out_ascii new file mode 100644 index 00000000000..1bdf9e0f5d7 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nd/hyph.out_ascii @@ -0,0 +1,10 @@ +ND-HYPH(1) General Commands Manual ND-HYPH(1) + +NNAAMMEE + NNdd--hhyypphh - when there is already a hyphen within the the word, line- + breaking is permitted at that place + +DDEESSCCRRIIPPTTIIOONN + Even in the document description line in the _N_A_M_E section. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Nd/hyph.out_markdown b/contrib/mandoc/regress/mdoc/Nd/hyph.out_markdown new file mode 100644 index 00000000000..f267a7b4f89 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nd/hyph.out_markdown @@ -0,0 +1,13 @@ +ND-HYPH(1) - General Commands Manual + +# NAME + +**Nd-hyph** - when there is already a hyphen within the the word, line-breaking is permitted at that place + +# DESCRIPTION + +Even in the document description line in the +*NAME* +section. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Nd/noarg.in b/contrib/mandoc/regress/mdoc/Nd/noarg.in new file mode 100644 index 00000000000..7ad97f1642d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nd/noarg.in @@ -0,0 +1,9 @@ +.\" $OpenBSD: noarg.in,v 1.3 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ND-ARG0 1 +.Os +.Sh NAME +.Nm Nd-arg0 +.Nd +.Sh DESCRIPTION +empty description line diff --git a/contrib/mandoc/regress/mdoc/Nd/noarg.out_ascii b/contrib/mandoc/regress/mdoc/Nd/noarg.out_ascii new file mode 100644 index 00000000000..890627e7248 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nd/noarg.out_ascii @@ -0,0 +1,9 @@ +ND-ARG0(1) General Commands Manual ND-ARG0(1) + +NNAAMMEE + NNdd--aarrgg00 - + +DDEESSCCRRIIPPTTIIOONN + empty description line + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Nd/noarg.out_lint b/contrib/mandoc/regress/mdoc/Nd/noarg.out_lint new file mode 100644 index 00000000000..27e2ba72a31 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nd/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:7:2: WARNING: missing description line, using "": Nd diff --git a/contrib/mandoc/regress/mdoc/Nd/noarg.out_markdown b/contrib/mandoc/regress/mdoc/Nd/noarg.out_markdown new file mode 100644 index 00000000000..1e4db0fd3a4 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nd/noarg.out_markdown @@ -0,0 +1,11 @@ +ND-ARG0(1) - General Commands Manual + +# NAME + +**Nd-arg0** - + +# DESCRIPTION + +empty description line + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Nd/par.in b/contrib/mandoc/regress/mdoc/Nd/par.in new file mode 100644 index 00000000000..f5d60ee1fe3 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nd/par.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: par.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ND-PAR 1 +.Os +.Sh NAME +.Nm Nd-par +.Nd paragraph macro +after one-line description +.Pp +Usually, there shouldn't be additional text in the NAME section. +.Sh DESCRIPTION +The text belongs here. +.Nd stray +description macro +.Pp +Back to normal state. diff --git a/contrib/mandoc/regress/mdoc/Nd/par.out_ascii b/contrib/mandoc/regress/mdoc/Nd/par.out_ascii new file mode 100644 index 00000000000..fd3a5904cb6 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nd/par.out_ascii @@ -0,0 +1,13 @@ +ND-PAR(1) General Commands Manual ND-PAR(1) + +NNAAMMEE + NNdd--ppaarr - paragraph macro after one-line description + + Usually, there shouldn't be additional text in the NAME section. + +DDEESSCCRRIIPPTTIIOONN + The text belongs here. - stray description macro + + Back to normal state. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Nd/par.out_markdown b/contrib/mandoc/regress/mdoc/Nd/par.out_markdown new file mode 100644 index 00000000000..2ec53e65790 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nd/par.out_markdown @@ -0,0 +1,17 @@ +ND-PAR(1) - General Commands Manual + +# NAME + +**Nd-par** - paragraph macro +after one-line description + +Usually, there shouldn't be additional text in the NAME section. + +# DESCRIPTION + +The text belongs here. - stray +description macro + +Back to normal state. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Nm/Makefile b/contrib/mandoc/regress/mdoc/Nm/Makefile new file mode 100644 index 00000000000..8ec7606f864 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/Makefile @@ -0,0 +1,26 @@ +# $OpenBSD: Makefile,v 1.13 2017/02/06 03:44:37 schwarze Exp $ + +REGRESS_TARGETS = badNAME badNAMEuse break broken +REGRESS_TARGETS += empty emptyNAME emptyNAMEuse +REGRESS_TARGETS += font long par parns punct + +LINT_TARGETS = badNAME badNAMEuse break broken punct + +# groff-1.22.3/mandoc differences: +# - When the head of an Nm block in the SYNOPSIS is broken by an +# explicit block end macro on the same line, formatting differs, +# but doesn't make sense either way. +# - Groff doesn't support the nS register. + +SKIP_GROFF = broken parns +SKIP_TMAN = broken par parns + +# groff-1.22.3 defect: +# When a SYNOPSIS Nm block head breaks a sub block, all the +# remaining content in the document gets lost. + +SKIP_GROFF += break + +SKIP_MARKDOWN ?= badNAME badNAMEuse emptyNAME emptyNAMEuse + +.include diff --git a/contrib/mandoc/regress/mdoc/Nm/badNAME.in b/contrib/mandoc/regress/mdoc/Nm/badNAME.in new file mode 100644 index 00000000000..e663a6b09c4 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/badNAME.in @@ -0,0 +1,9 @@ +.\" $OpenBSD: badNAME.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt NM-BADNAME 1 +.Os +.Sh NAME +.Nm Bx +.Nd text production macro on the NAME \&Nm line +.Sh SYNOPSIS +badNAME diff --git a/contrib/mandoc/regress/mdoc/Nm/badNAME.out_ascii b/contrib/mandoc/regress/mdoc/Nm/badNAME.out_ascii new file mode 100644 index 00000000000..7e2d3b18e71 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/badNAME.out_ascii @@ -0,0 +1,9 @@ +NM-BADNAME(1) General Commands Manual NM-BADNAME(1) + +NNAAMMEE + BSD - text production macro on the NAME Nm line + +SSYYNNOOPPSSIISS + badNAME + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Nm/badNAME.out_lint b/contrib/mandoc/regress/mdoc/Nm/badNAME.out_lint new file mode 100644 index 00000000000..b35f38b1833 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/badNAME.out_lint @@ -0,0 +1,2 @@ +mandoc: badNAME.in:6:2: ERROR: missing manual name, using "": Nm +mandoc: badNAME.in:6:5: WARNING: bad NAME section content: Bx diff --git a/contrib/mandoc/regress/mdoc/Nm/badNAMEuse.in b/contrib/mandoc/regress/mdoc/Nm/badNAMEuse.in new file mode 100644 index 00000000000..6a88d1e5e24 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/badNAMEuse.in @@ -0,0 +1,10 @@ +.\" $OpenBSD: badNAMEuse.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt NM-BADNAMEUSE 1 +.Os +.Sh NAME +.Nm Bx +.Nd text production macro on the NAME \&Nm line, used later +.Sh SYNOPSIS +.Nm some_name +.Nm diff --git a/contrib/mandoc/regress/mdoc/Nm/badNAMEuse.out_ascii b/contrib/mandoc/regress/mdoc/Nm/badNAMEuse.out_ascii new file mode 100644 index 00000000000..733e4bbb566 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/badNAMEuse.out_ascii @@ -0,0 +1,10 @@ +NM-BADNAMEUSE(1) General Commands Manual NM-BADNAMEUSE(1) + +NNAAMMEE + BSD - text production macro on the NAME Nm line, used later + +SSYYNNOOPPSSIISS + ssoommee__nnaammee + ssoommee__nnaammee + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Nm/badNAMEuse.out_lint b/contrib/mandoc/regress/mdoc/Nm/badNAMEuse.out_lint new file mode 100644 index 00000000000..5428b646cdc --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/badNAMEuse.out_lint @@ -0,0 +1,2 @@ +mandoc: badNAMEuse.in:6:2: ERROR: missing manual name, using "": Nm +mandoc: badNAMEuse.in:6:5: WARNING: bad NAME section content: Bx diff --git a/contrib/mandoc/regress/mdoc/Nm/break.in b/contrib/mandoc/regress/mdoc/Nm/break.in new file mode 100644 index 00000000000..12088b9df4e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/break.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: break.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt NM-BREAK 1 +.Os +.Sh NAME +.Nm Nm-break +.Nd name block head breaking another block +.Sh SYNOPSIS +.Nm before Bo within +.Sh DESCRIPTION +initial text +.Nm +final text diff --git a/contrib/mandoc/regress/mdoc/Nm/break.out_ascii b/contrib/mandoc/regress/mdoc/Nm/break.out_ascii new file mode 100644 index 00000000000..e9a086e2b02 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/break.out_ascii @@ -0,0 +1,12 @@ +NM-BREAK(1) General Commands Manual NM-BREAK(1) + +NNAAMMEE + NNmm--bbrreeaakk - name block head breaking another block + +SSYYNNOOPPSSIISS + bbeeffoorree [[wwiitthhiinn]] + +DDEESSCCRRIIPPTTIIOONN + initial text NNmm--bbrreeaakk final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Nm/break.out_lint b/contrib/mandoc/regress/mdoc/Nm/break.out_lint new file mode 100644 index 00000000000..22cbb8d4e1d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/break.out_lint @@ -0,0 +1 @@ +mandoc: break.in:10:2: ERROR: inserting missing end of block: Sh breaks Bo diff --git a/contrib/mandoc/regress/mdoc/Nm/break.out_markdown b/contrib/mandoc/regress/mdoc/Nm/break.out_markdown new file mode 100644 index 00000000000..ccbc4e5a03a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/break.out_markdown @@ -0,0 +1,17 @@ +NM-BREAK(1) - General Commands Manual + +# NAME + +**Nm-break** - name block head breaking another block + +# SYNOPSIS + +**before \[within]** + +# DESCRIPTION + +initial text +**Nm-break** +final text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Nm/broken.in b/contrib/mandoc/regress/mdoc/Nm/broken.in new file mode 100644 index 00000000000..c139b204472 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/broken.in @@ -0,0 +1,22 @@ +.\" $OpenBSD: broken.in,v 1.3 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt NM-BROKEN 1 +.Os +.Sh NAME +.Nm Nm-broken +.Nd broken synapsis name block +.Sh SYNOPSIS +.Ft int +.Fo function +.Nm name Fc tail +.\" Crashed in validation before mdoc_macro.c OpenBSD rev. 1.167 +.Bl -dash +.Oo oo +.Nm nm +.Bk -words +oc +.Oc +.Ek +.It +item +.El diff --git a/contrib/mandoc/regress/mdoc/Nm/broken.out_ascii b/contrib/mandoc/regress/mdoc/Nm/broken.out_ascii new file mode 100644 index 00000000000..477e47c43a3 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/broken.out_ascii @@ -0,0 +1,14 @@ +NM-BROKEN(1) General Commands Manual NM-BROKEN(1) + +NNAAMMEE + NNmm--bbrrookkeenn - broken synapsis name block + +SSYYNNOOPPSSIISS + _i_n_t + ffuunnccttiioonn(nnaammee); + tail [oo + nnmm oc] + + -- item + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Nm/broken.out_lint b/contrib/mandoc/regress/mdoc/Nm/broken.out_lint new file mode 100644 index 00000000000..81c149c6065 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/broken.out_lint @@ -0,0 +1,2 @@ +mandoc: broken.in:18:2: WARNING: blocks badly nested: Oo breaks Bk +mandoc: broken.in:14:2: WARNING: moving content out of list: Oo diff --git a/contrib/mandoc/regress/mdoc/Nm/broken.out_markdown b/contrib/mandoc/regress/mdoc/Nm/broken.out_markdown new file mode 100644 index 00000000000..9c66e9a0fd8 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/broken.out_markdown @@ -0,0 +1,19 @@ +NM-BROKEN(1) - General Commands Manual + +# NAME + +**Nm-broken** - broken synapsis name block + +# SYNOPSIS + +*int* +**function**(**name**); + +tail +\[oo +**nm** +oc] + +- item + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Nm/empty.in b/contrib/mandoc/regress/mdoc/Nm/empty.in new file mode 100644 index 00000000000..1b501560e14 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/empty.in @@ -0,0 +1,14 @@ +.\" $OpenBSD: empty.in,v 1.4 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt NM-EMPTY 2 +.Os +.Sh NAME +.Nm Nm-empty +.Nd handling of empty name macros +.Sh SYNOPSIS +.Nm +.Nm +.Sh DESCRIPTION +The +.Nm +utility ... diff --git a/contrib/mandoc/regress/mdoc/Nm/empty.out_ascii b/contrib/mandoc/regress/mdoc/Nm/empty.out_ascii new file mode 100644 index 00000000000..e2153e088ff --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/empty.out_ascii @@ -0,0 +1,13 @@ +NM-EMPTY(2) System Calls Manual NM-EMPTY(2) + +NNAAMMEE + NNmm--eemmppttyy - handling of empty name macros + +SSYYNNOOPPSSIISS + NNmm--eemmppttyy + NNmm--eemmppttyy + +DDEESSCCRRIIPPTTIIOONN + The NNmm--eemmppttyy utility ... + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Nm/empty.out_markdown b/contrib/mandoc/regress/mdoc/Nm/empty.out_markdown new file mode 100644 index 00000000000..fad65475f91 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/empty.out_markdown @@ -0,0 +1,18 @@ +NM-EMPTY(2) - System Calls Manual + +# NAME + +**Nm-empty** - handling of empty name macros + +# SYNOPSIS + +**Nm-empty** +**Nm-empty** + +# DESCRIPTION + +The +**Nm-empty** +utility ... + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Nm/emptyNAME.in b/contrib/mandoc/regress/mdoc/Nm/emptyNAME.in new file mode 100644 index 00000000000..5495f9de59c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/emptyNAME.in @@ -0,0 +1,9 @@ +.\" $OpenBSD: emptyNAME.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt NM-EMPTYNAME 1 +.Os +.Sh NAME +.Nm +.Nd empty NAME \&Nm line +.Sh SYNOPSIS +emptyNAME diff --git a/contrib/mandoc/regress/mdoc/Nm/emptyNAME.out_ascii b/contrib/mandoc/regress/mdoc/Nm/emptyNAME.out_ascii new file mode 100644 index 00000000000..b51be3a8294 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/emptyNAME.out_ascii @@ -0,0 +1,9 @@ +NM-EMPTYNAME(1) General Commands Manual NM-EMPTYNAME(1) + +NNAAMMEE + - empty NAME Nm line + +SSYYNNOOPPSSIISS + emptyNAME + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Nm/emptyNAMEuse.in b/contrib/mandoc/regress/mdoc/Nm/emptyNAMEuse.in new file mode 100644 index 00000000000..9e80cddc8e6 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/emptyNAMEuse.in @@ -0,0 +1,10 @@ +.\" $OpenBSD: emptyNAMEuse.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt NM-EMPTYNAMEUSE 1 +.Os +.Sh NAME +.Nm +.Nd empty NAME \&Nm line, used later +.Sh SYNOPSIS +.Nm some_name +.Nm diff --git a/contrib/mandoc/regress/mdoc/Nm/emptyNAMEuse.out_ascii b/contrib/mandoc/regress/mdoc/Nm/emptyNAMEuse.out_ascii new file mode 100644 index 00000000000..89c7b3da6b8 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/emptyNAMEuse.out_ascii @@ -0,0 +1,10 @@ +NM-EMPTYNAMEUSE(1) General Commands Manual NM-EMPTYNAMEUSE(1) + +NNAAMMEE + - empty NAME Nm line, used later + +SSYYNNOOPPSSIISS + ssoommee__nnaammee + ssoommee__nnaammee + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Nm/font.in b/contrib/mandoc/regress/mdoc/Nm/font.in new file mode 100644 index 00000000000..edb7da9bac1 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/font.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: font.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt NM-FONT 1 +.Os +.Sh NAME +.Nm Nm-font +.Nd changing fonts inside the name macro +.Sh DESCRIPTION +normal text +.Nm bold\\fIemphasis\\fPback +trailing text diff --git a/contrib/mandoc/regress/mdoc/Nm/font.out_ascii b/contrib/mandoc/regress/mdoc/Nm/font.out_ascii new file mode 100644 index 00000000000..75607e82599 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/font.out_ascii @@ -0,0 +1,9 @@ +NM-FONT(1) General Commands Manual NM-FONT(1) + +NNAAMMEE + NNmm--ffoonntt - changing fonts inside the name macro + +DDEESSCCRRIIPPTTIIOONN + normal text bboolldd_e_m_p_h_a_s_i_sbbaacckk trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Nm/font.out_markdown b/contrib/mandoc/regress/mdoc/Nm/font.out_markdown new file mode 100644 index 00000000000..75ac9ef7e67 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/font.out_markdown @@ -0,0 +1,13 @@ +NM-FONT(1) - General Commands Manual + +# NAME + +**Nm-font** - changing fonts inside the name macro + +# DESCRIPTION + +normal text +**bold*emphasis*back** +trailing text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Nm/long.in b/contrib/mandoc/regress/mdoc/Nm/long.in new file mode 100644 index 00000000000..4e64fa08a42 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/long.in @@ -0,0 +1,12 @@ +.\" $OpenBSD: long.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt NM-LONG 1 +.Os +.Sh NAME +.Nm \&Nm-long +.Nd long \&Nm in the SYNOPSIS +.Sh SYNOPSIS +.Nm "This is a terribly long name, it is so long that it does not fit \ +one one single line -" +.Fl o +.Ar diff --git a/contrib/mandoc/regress/mdoc/Nm/long.out_ascii b/contrib/mandoc/regress/mdoc/Nm/long.out_ascii new file mode 100644 index 00000000000..fb8f9da339c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/long.out_ascii @@ -0,0 +1,14 @@ +NM-LONG(1) General Commands Manual NM-LONG(1) + +NNAAMMEE + NNmm--lloonngg - long Nm in the SYNOPSIS + +SSYYNNOOPPSSIISS + TThhiiss iiss aa tteerrrriibbllyy lloonngg nnaammee,, iitt iiss ssoo lloonngg tthhaatt iitt ddooeess nnoott ffiitt oonnee oonnee + ssiinnggllee + lliinnee + -- + --oo + _f_i_l_e _._._. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Nm/long.out_markdown b/contrib/mandoc/regress/mdoc/Nm/long.out_markdown new file mode 100644 index 00000000000..f20024526d2 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/long.out_markdown @@ -0,0 +1,13 @@ +NM-LONG(1) - General Commands Manual + +# NAME + +**Nm-long** - long Nm in the SYNOPSIS + +# SYNOPSIS + +**This is a terribly long name, it is so long that it does not fit one one single line -** +**-o** +*file ...* + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Nm/par.in b/contrib/mandoc/regress/mdoc/Nm/par.in new file mode 100644 index 00000000000..71ce8bf712a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/par.in @@ -0,0 +1,12 @@ +.\" $OpenBSD: par.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt NM-PAR 1 +.Os +.Sh NAME +.Nm Nm-par +.Nd paragraph macro in a synopsis name block +.Sh SYNOPSIS +.Nm +.Fl a +.Pp +.Fl b diff --git a/contrib/mandoc/regress/mdoc/Nm/par.out_ascii b/contrib/mandoc/regress/mdoc/Nm/par.out_ascii new file mode 100644 index 00000000000..53568cda91b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/par.out_ascii @@ -0,0 +1,11 @@ +NM-PAR(1) General Commands Manual NM-PAR(1) + +NNAAMMEE + NNmm--ppaarr - paragraph macro in a synopsis name block + +SSYYNNOOPPSSIISS + NNmm--ppaarr --aa + + --bb + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Nm/par.out_markdown b/contrib/mandoc/regress/mdoc/Nm/par.out_markdown new file mode 100644 index 00000000000..e45e2e2b458 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/par.out_markdown @@ -0,0 +1,14 @@ +NM-PAR(1) - General Commands Manual + +# NAME + +**Nm-par** - paragraph macro in a synopsis name block + +# SYNOPSIS + +**Nm-par** +**-a** + +**-b** + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Nm/parns.in b/contrib/mandoc/regress/mdoc/Nm/parns.in new file mode 100644 index 00000000000..f2befbfeb36 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/parns.in @@ -0,0 +1,24 @@ +.\" $OpenBSD: parns.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt NM-PAR 1 +.Os +.Sh NAME +.Nm Nm-par +.Nd paragraph macro in a name block +.Sh DESCRIPTION +.nr nS 1 +.Nm +.Fl a +.Pp +.Fl b +.Nm +.Fl a +.nr nS 0 +.Pp +.Fl b +.nr nS 1 +.Nm +.Oo Fl a +.nr nS 0 +.Pp +.Fl b Oc diff --git a/contrib/mandoc/regress/mdoc/Nm/parns.out_ascii b/contrib/mandoc/regress/mdoc/Nm/parns.out_ascii new file mode 100644 index 00000000000..be51ead8007 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/parns.out_ascii @@ -0,0 +1,17 @@ +NM-PAR(1) General Commands Manual NM-PAR(1) + +NNAAMMEE + NNmm--ppaarr - paragraph macro in a name block + +DDEESSCCRRIIPPTTIIOONN + NNmm--ppaarr --aa + + --bb + NNmm--ppaarr --aa + + --bb + NNmm--ppaarr [--aa + + --bb] + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Nm/parns.out_markdown b/contrib/mandoc/regress/mdoc/Nm/parns.out_markdown new file mode 100644 index 00000000000..8bfc492e452 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/parns.out_markdown @@ -0,0 +1,22 @@ +NM-PAR(1) - General Commands Manual + +# NAME + +**Nm-par** - paragraph macro in a name block + +# DESCRIPTION + +**Nm-par** +**-a** + +**-b** +**Nm-par** +**-a** + +**-b** +**Nm-par** +\[**-a** + +**-b**] + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Nm/punct.in b/contrib/mandoc/regress/mdoc/Nm/punct.in new file mode 100644 index 00000000000..61eb7da848c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/punct.in @@ -0,0 +1,43 @@ +.\" $OpenBSD: punct.in,v 1.3 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt NM-PUNCT 1 +.Os +.Sh NAME +.Nm Nm-punct +.Nd punctuation handling by the Nm macro +.Sh DESCRIPTION +closing punctuation +.Nm a ) +only one +.Nm ) +only more than one +.Nm ) ) +middle +.Nm a ) z +start +.Nm ) z +dot +.Nm . z +comma +.Nm , z +semicolon +.Nm ; z +colon +.Nm : z +quest +.Nm ? z +excl +.Nm ! z +paren +.Nm ) z +bracket +.Nm ] z +bar +.Nm | m +op paren +.Nm ( a +op bracket +.Nm [ a +.Pp +Missing blank: +.Nm Nm-punct. diff --git a/contrib/mandoc/regress/mdoc/Nm/punct.out_ascii b/contrib/mandoc/regress/mdoc/Nm/punct.out_ascii new file mode 100644 index 00000000000..bb184d5708c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/punct.out_ascii @@ -0,0 +1,14 @@ +NM-PUNCT(1) General Commands Manual NM-PUNCT(1) + +NNAAMMEE + NNmm--ppuunncctt - punctuation handling by the Nm macro + +DDEESSCCRRIIPPTTIIOONN + closing punctuation aa) only one NNmm--ppuunncctt) only more than one NNmm--ppuunncctt)) + middle aa) zz start NNmm--ppuunncctt) z dot NNmm--ppuunncctt. z comma NNmm--ppuunncctt, z semicolon + NNmm--ppuunncctt; z colon NNmm--ppuunncctt: z quest NNmm--ppuunncctt? z excl NNmm--ppuunncctt! z paren + NNmm--ppuunncctt) z bracket NNmm--ppuunncctt] z bar | mm op paren (aa op bracket [aa + + Missing blank: NNmm--ppuunncctt.. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Nm/punct.out_lint b/contrib/mandoc/regress/mdoc/Nm/punct.out_lint new file mode 100644 index 00000000000..08436a69929 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/punct.out_lint @@ -0,0 +1 @@ +mandoc: punct.in:43:13: STYLE: no blank before trailing delimiter: Nm Nm-punct. diff --git a/contrib/mandoc/regress/mdoc/Nm/punct.out_markdown b/contrib/mandoc/regress/mdoc/Nm/punct.out_markdown new file mode 100644 index 00000000000..79b81d23616 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Nm/punct.out_markdown @@ -0,0 +1,45 @@ +NM-PUNCT(1) - General Commands Manual + +# NAME + +**Nm-punct** - punctuation handling by the Nm macro + +# DESCRIPTION + +closing punctuation +**a**) +only one +**Nm-punct**) +only more than one +**Nm-punct**)) +middle +**a**) **z** +start +**Nm-punct**) z +dot +**Nm-punct**. z +comma +**Nm-punct**, z +semicolon +**Nm-punct**; z +colon +**Nm-punct**: z +quest +**Nm-punct**? z +excl +**Nm-punct**! z +paren +**Nm-punct**) z +bracket +**Nm-punct**] z +bar +| **m** +op paren +(**a** +op bracket +\[**a** + +Missing blank: +**Nm-punct.** + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/No/Makefile b/contrib/mandoc/regress/mdoc/No/Makefile new file mode 100644 index 00000000000..3110bf2b06d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/No/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.4 2014/11/17 06:44:35 schwarze Exp $ + +REGRESS_TARGETS = punct spacing +LINT_TARGETS = punct + +.include diff --git a/contrib/mandoc/regress/mdoc/No/punct.in b/contrib/mandoc/regress/mdoc/No/punct.in new file mode 100644 index 00000000000..72b52b41339 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/No/punct.in @@ -0,0 +1,87 @@ +.\" $OpenBSD: punct.in,v 1.6 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt NO-PUNCT 1 +.Os +.Sh NAME +.Nm No-punct +.Nd punctuation after the normal macro +.Sh DESCRIPTION +Leading punctuation: +.No "(" b +.No [ b +.No | b +.No . b +.No , b +.No ; b +.No : b +.No ? b +.No ! b +.No ) b +.No ] b +.Pp +Trailing punctuation: +.No a ( +.No a [ +.No a | +.No a . +.No a , +.No a ; +.No a : +.No a ? +.No a ! +.No a ) +.No a "]" +.Pp +Middle punctuation: +.No a ( b +.No a "[" b +.No a | b +.No a . b +.No a , b +.No a ; b +.No a : b +.No a "?" b +.No a ! b +.No a ) b +.No a ] b +.Pp +Isolated punctuation: +.No a No ( No b +.No a No [ No b +.No a No | No b +.No a No . No b +.No a No , No b +.No a No ; No b +.No a No : No b +.No a No ? No b +.No a No ! No b +.No a No ) No b +.No a No ] No b +.Pp +Isolated trailing punctuation: +.No a No ( +.No a No [ +.No a No | +.No a No . +.No a No , +.No a No ; +.No a No : +.No a No ? +.No a No ! +.No a No ) +.No a No ] +.Pp +Multiple isolated punctuation: +.No a No ( [ No b +.No a No ) ] No b +.Pp +Multiple punctuation: +.No [ ( arg ) ] . +.Pp +Quoted: +.No "a . b Nm" "Sy" bold +.No ". b Nm" +.No "." +.Pp +Missing blank: +.No a. diff --git a/contrib/mandoc/regress/mdoc/No/punct.out_ascii b/contrib/mandoc/regress/mdoc/No/punct.out_ascii new file mode 100644 index 00000000000..07ca0c5fa8a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/No/punct.out_ascii @@ -0,0 +1,28 @@ +NO-PUNCT(1) General Commands Manual NO-PUNCT(1) + +NNAAMMEE + NNoo--ppuunncctt - punctuation after the normal macro + +DDEESSCCRRIIPPTTIIOONN + Leading punctuation: (b [b | b . b , b ; b : b ? b ! b ) b ] b + + Trailing punctuation: a ( a [ a | a. a, a; a: a? a! a) a] + + Middle punctuation: a (b a [b a | b a. b a, b a; b a: b a? b a! b a) b a] + b + + Isolated punctuation: a (b a [b a | b a . b a , b a ; b a : b a ? b a ! b + a ) b a ] b + + Isolated trailing punctuation: a ( a [ a | a . a , a ; a : a ? a ! a ) + a ] + + Multiple isolated punctuation: a ([b a )] b + + Multiple punctuation: [(arg)]. + + Quoted: a . b Nm bboolldd . b Nm . + + Missing blank: a. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/No/punct.out_lint b/contrib/mandoc/regress/mdoc/No/punct.out_lint new file mode 100644 index 00000000000..e046da6a10c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/No/punct.out_lint @@ -0,0 +1,25 @@ +mandoc: punct.in:49:7: WARNING: skipping empty macro: No +mandoc: punct.in:50:7: WARNING: skipping empty macro: No +mandoc: punct.in:51:7: WARNING: skipping empty macro: No +mandoc: punct.in:52:7: WARNING: skipping empty macro: No +mandoc: punct.in:53:7: WARNING: skipping empty macro: No +mandoc: punct.in:54:7: WARNING: skipping empty macro: No +mandoc: punct.in:55:7: WARNING: skipping empty macro: No +mandoc: punct.in:56:7: WARNING: skipping empty macro: No +mandoc: punct.in:57:7: WARNING: skipping empty macro: No +mandoc: punct.in:58:7: WARNING: skipping empty macro: No +mandoc: punct.in:59:7: WARNING: skipping empty macro: No +mandoc: punct.in:62:7: WARNING: skipping empty macro: No +mandoc: punct.in:63:7: WARNING: skipping empty macro: No +mandoc: punct.in:64:7: WARNING: skipping empty macro: No +mandoc: punct.in:65:7: WARNING: skipping empty macro: No +mandoc: punct.in:66:7: WARNING: skipping empty macro: No +mandoc: punct.in:67:7: WARNING: skipping empty macro: No +mandoc: punct.in:68:7: WARNING: skipping empty macro: No +mandoc: punct.in:69:7: WARNING: skipping empty macro: No +mandoc: punct.in:70:7: WARNING: skipping empty macro: No +mandoc: punct.in:71:7: WARNING: skipping empty macro: No +mandoc: punct.in:72:7: WARNING: skipping empty macro: No +mandoc: punct.in:75:7: WARNING: skipping empty macro: No +mandoc: punct.in:76:7: WARNING: skipping empty macro: No +mandoc: punct.in:84:2: WARNING: skipping empty macro: No diff --git a/contrib/mandoc/regress/mdoc/No/punct.out_markdown b/contrib/mandoc/regress/mdoc/No/punct.out_markdown new file mode 100644 index 00000000000..88e7360b140 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/No/punct.out_markdown @@ -0,0 +1,89 @@ +NO-PUNCT(1) - General Commands Manual + +# NAME + +**No-punct** - punctuation after the normal macro + +# DESCRIPTION + +Leading punctuation: +(b +\[b +| b +. b +, b +; b +: b +? b +! b +) b +] b + +Trailing punctuation: +a ( +a \[ +a | +a. +a, +a; +a: +a? +a! +a) +a] + +Middle punctuation: +a (b +a \[b +a | b +a. b +a, b +a; b +a: b +a? b +a! b +a) b +a] b + +Isolated punctuation: +a (b +a \[b +a | b +a . b +a , b +a ; b +a : b +a ? b +a ! b +a ) b +a ] b + +Isolated trailing punctuation: +a ( +a \[ +a | +a . +a , +a ; +a : +a ? +a ! +a ) +a ] + +Multiple isolated punctuation: +a (\[b +a )] b + +Multiple punctuation: +\[(arg)]. + +Quoted: +a . b Nm **bold** +. b Nm +. + +Missing blank: +a. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/No/spacing.in b/contrib/mandoc/regress/mdoc/No/spacing.in new file mode 100644 index 00000000000..c9b77d7fbb8 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/No/spacing.in @@ -0,0 +1,25 @@ +.\" $OpenBSD: spacing.in,v 1.3 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt NO-SPACING 1 +.Os +.Sh NAME +.Nm No-spacing +.Nd spacing around the normal macro +.Sh DESCRIPTION +Text before +.No and +after the macro. +Macros on the line +.Op before +.No and +.Op after +the macro. +Macros +.Em before No and Em after +the macro on the same line. +Punctuation before ( +.No and +) after the macro. +The macro +.Op No in +an enclosure. diff --git a/contrib/mandoc/regress/mdoc/No/spacing.out_ascii b/contrib/mandoc/regress/mdoc/No/spacing.out_ascii new file mode 100644 index 00000000000..0c9d58d9e17 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/No/spacing.out_ascii @@ -0,0 +1,11 @@ +NO-SPACING(1) General Commands Manual NO-SPACING(1) + +NNAAMMEE + NNoo--ssppaacciinngg - spacing around the normal macro + +DDEESSCCRRIIPPTTIIOONN + Text before and after the macro. Macros on the line [before] and [after] + the macro. Macros _b_e_f_o_r_e and _a_f_t_e_r the macro on the same line. + Punctuation before ( and ) after the macro. The macro [in] an enclosure. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/No/spacing.out_markdown b/contrib/mandoc/regress/mdoc/No/spacing.out_markdown new file mode 100644 index 00000000000..7b72bbb0b40 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/No/spacing.out_markdown @@ -0,0 +1,27 @@ +NO-SPACING(1) - General Commands Manual + +# NAME + +**No-spacing** - spacing around the normal macro + +# DESCRIPTION + +Text before +and +after the macro. +Macros on the line +\[before] +and +\[after] +the macro. +Macros +*before* and *after* +the macro on the same line. +Punctuation before ( +and +) after the macro. +The macro +\[in] +an enclosure. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Ns/Makefile b/contrib/mandoc/regress/mdoc/Ns/Makefile new file mode 100644 index 00000000000..45db66cc5eb --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ns/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.5 2014/07/02 11:42:56 schwarze Exp $ + +REGRESS_TARGETS = position punct +LINT_TARGETS = position + +.include diff --git a/contrib/mandoc/regress/mdoc/Ns/position.in b/contrib/mandoc/regress/mdoc/Ns/position.in new file mode 100644 index 00000000000..c906ec521fc --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ns/position.in @@ -0,0 +1,36 @@ +.\" $OpenBSD: position.in,v 1.6 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt NS-POSITION 1 +.Os +.Sh NAME +.Nm Ns-position +.Nd effect of the position of the no space macro on the line +.Sh DESCRIPTION +At the beginning of a macro line: +.Op before +.Ns Op after +.Pp +After just a block closing macro: +.Oo before +.Oc Ns Op after +.Pp +After some macro and a block closing: +.Oo before +.No still before Oc Ns Op after +.Pp +In the middle of a macro line: +.Oo before Oc Ns Op after +.Pp +After closing punctuation: +.Oo before Oc : Ns Op after +.Pp +Before closing punctuation: +.Oo before Oc Ns : Op after +.Pp +At the end of a macro line: +.Oo before Oc Ns +.Op after +.Pp +At the end of partial implicit: +.Op before Ns +.Op after diff --git a/contrib/mandoc/regress/mdoc/Ns/position.out_ascii b/contrib/mandoc/regress/mdoc/Ns/position.out_ascii new file mode 100644 index 00000000000..fd56211d9d9 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ns/position.out_ascii @@ -0,0 +1,23 @@ +NS-POSITION(1) General Commands Manual NS-POSITION(1) + +NNAAMMEE + NNss--ppoossiittiioonn - effect of the position of the no space macro on the line + +DDEESSCCRRIIPPTTIIOONN + At the beginning of a macro line: [before] [after] + + After just a block closing macro: [before][after] + + After some macro and a block closing: [before still before][after] + + In the middle of a macro line: [before][after] + + After closing punctuation: [before]:[after] + + Before closing punctuation: [before]: [after] + + At the end of a macro line: [before][after] + + At the end of partial implicit: [before][after] + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ns/position.out_lint b/contrib/mandoc/regress/mdoc/Ns/position.out_lint new file mode 100644 index 00000000000..16f4cdd8555 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ns/position.out_lint @@ -0,0 +1,2 @@ +mandoc: position.in:11:2: WARNING: skipping no-space macro +mandoc: position.in:28:15: WARNING: skipping no-space macro diff --git a/contrib/mandoc/regress/mdoc/Ns/position.out_markdown b/contrib/mandoc/regress/mdoc/Ns/position.out_markdown new file mode 100644 index 00000000000..6c906883833 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ns/position.out_markdown @@ -0,0 +1,35 @@ +NS-POSITION(1) - General Commands Manual + +# NAME + +**Ns-position** - effect of the position of the no space macro on the line + +# DESCRIPTION + +At the beginning of a macro line: +\[before] +\[after] + +After just a block closing macro: +\[before]\[after] + +After some macro and a block closing: +\[before +still before]\[after] + +In the middle of a macro line: +\[before]\[after] + +After closing punctuation: +\[before]:\[after] + +Before closing punctuation: +\[before]: \[after] + +At the end of a macro line: +\[before]\[after] + +At the end of partial implicit: +\[before]\[after] + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Ns/punct.in b/contrib/mandoc/regress/mdoc/Ns/punct.in new file mode 100644 index 00000000000..a8263cf29f9 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ns/punct.in @@ -0,0 +1,14 @@ +.\" $OpenBSD: punct.in,v 1.4 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt NS-PUNCT 1 +.Os +.Sh NAME +.Nm Ns-punct +.Nd punctuation after the no space macro +.Sh DESCRIPTION +Normal words: +.No no Ns ns No no +Opening punctuation: +.No no Ns "(" ns No no +Closing punctuation: +.No no "Ns" ns ")" No no diff --git a/contrib/mandoc/regress/mdoc/Ns/punct.out_ascii b/contrib/mandoc/regress/mdoc/Ns/punct.out_ascii new file mode 100644 index 00000000000..ac761de52c9 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ns/punct.out_ascii @@ -0,0 +1,10 @@ +NS-PUNCT(1) General Commands Manual NS-PUNCT(1) + +NNAAMMEE + NNss--ppuunncctt - punctuation after the no space macro + +DDEESSCCRRIIPPTTIIOONN + Normal words: nons no Opening punctuation: no(ns no Closing punctuation: + nons) no + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ns/punct.out_markdown b/contrib/mandoc/regress/mdoc/Ns/punct.out_markdown new file mode 100644 index 00000000000..d67acfb8c3e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ns/punct.out_markdown @@ -0,0 +1,16 @@ +NS-PUNCT(1) - General Commands Manual + +# NAME + +**Ns-punct** - punctuation after the no space macro + +# DESCRIPTION + +Normal words: +nons no +Opening punctuation: +no(ns no +Closing punctuation: +nons) no + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Oo/Makefile b/contrib/mandoc/regress/mdoc/Oo/Makefile new file mode 100644 index 00000000000..e98c947566d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Oo/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.1 2012/07/07 14:10:55 schwarze Exp $ + +REGRESS_TARGETS = punct +LINT_TARGETS = punct + +.include diff --git a/contrib/mandoc/regress/mdoc/Oo/punct.in b/contrib/mandoc/regress/mdoc/Oo/punct.in new file mode 100644 index 00000000000..59fd328a8d9 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Oo/punct.in @@ -0,0 +1,28 @@ +.\" $OpenBSD: punct.in,v 1.4 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt OO-PUNCT 1 +.Os +.Sh NAME +.Nm Oo-punct +.Nd punctuation handling by the Oo macro +.Sh DESCRIPTION +at the beginning: +.Oo "(" z +.Oo | z +.Oo . z +.Oc Oc "Sy" bold Oc +.Pp +in the middle: +.Oo a "(" z +.Oo a | z +.Oo a . z +.Oc Oc Oc +.Pp +at the end: +.Oo Oo a ( +.Oc | +.Oc +.Pp +missing blank: +.Oo a. +.Oc diff --git a/contrib/mandoc/regress/mdoc/Oo/punct.out_ascii b/contrib/mandoc/regress/mdoc/Oo/punct.out_ascii new file mode 100644 index 00000000000..6c4fbfa33d2 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Oo/punct.out_ascii @@ -0,0 +1,15 @@ +OO-PUNCT(1) General Commands Manual OO-PUNCT(1) + +NNAAMMEE + OOoo--ppuunncctt - punctuation handling by the Oo macro + +DDEESSCCRRIIPPTTIIOONN + at the beginning: ([z [| z [. z]] bboolldd] + + in the middle: [a (z [a | z [a. z]]] + + at the end: [[a (] |] + + missing blank: [a.] + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Oo/punct.out_lint b/contrib/mandoc/regress/mdoc/Oo/punct.out_lint new file mode 100644 index 00000000000..9f9beaaefa1 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Oo/punct.out_lint @@ -0,0 +1 @@ +mandoc: punct.in:27:6: STYLE: no blank before trailing delimiter: Oo a. diff --git a/contrib/mandoc/regress/mdoc/Oo/punct.out_markdown b/contrib/mandoc/regress/mdoc/Oo/punct.out_markdown new file mode 100644 index 00000000000..5ad939656a0 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Oo/punct.out_markdown @@ -0,0 +1,26 @@ +OO-PUNCT(1) - General Commands Manual + +# NAME + +**Oo-punct** - punctuation handling by the Oo macro + +# DESCRIPTION + +at the beginning: +(\[z +\[| z +\[. z]] **bold**] + +in the middle: +\[a (z +\[a | z +\[a. z]]] + +at the end: +\[\[a (] +|] + +missing blank: +\[a.] + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Op/Makefile b/contrib/mandoc/regress/mdoc/Op/Makefile new file mode 100644 index 00000000000..4a2d6fdad57 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Op/Makefile @@ -0,0 +1,9 @@ +# $OpenBSD: Makefile,v 1.3 2014/07/02 11:42:56 schwarze Exp $ + +REGRESS_TARGETS = break broken punct +LINT_TARGETS = break broken punct + +SKIP_GROFF = break +SKIP_ASCII = break + +.include diff --git a/contrib/mandoc/regress/mdoc/Op/break.in b/contrib/mandoc/regress/mdoc/Op/break.in new file mode 100644 index 00000000000..ceedb3242a3 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Op/break.in @@ -0,0 +1,30 @@ +.\" $OpenBSD: break.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt OP-BREAK 1 +.Os +.Sh NAME +.Nm Op-break +.Nd partial explicit block broken by partial implicit block +.Sh DESCRIPTION +before both +.Op inside first Do inside both +inside second +.Dc +after both +.Pp +0 +.Op 1 Op 12 Do 123 +3 +.Dc +0 +.\" The following does not work yet: +.ig +.Pp +0 +.Op 1 Op 12 Do 123 Do 1234 +34 +.Dc +4 +.Dc +0 +.. diff --git a/contrib/mandoc/regress/mdoc/Op/break.out_lint b/contrib/mandoc/regress/mdoc/Op/break.out_lint new file mode 100644 index 00000000000..a7fee520260 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Op/break.out_lint @@ -0,0 +1,3 @@ +mandoc: break.in:10:2: WARNING: blocks badly nested: Op breaks Do +mandoc: break.in:16:7: WARNING: blocks badly nested: Op breaks Do +mandoc: break.in:16:2: WARNING: blocks badly nested: Op breaks Do diff --git a/contrib/mandoc/regress/mdoc/Op/break.out_markdown b/contrib/mandoc/regress/mdoc/Op/break.out_markdown new file mode 100644 index 00000000000..4e920f9d663 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Op/break.out_markdown @@ -0,0 +1,19 @@ +OP-BREAK(1) - General Commands Manual + +# NAME + +**Op-break** - partial explicit block broken by partial implicit block + +# DESCRIPTION + +before both +\[inside first "inside both] +inside second" +after both + +0 +\[1 \[12 "123]] +3" +0 + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Op/broken.in b/contrib/mandoc/regress/mdoc/Op/broken.in new file mode 100644 index 00000000000..12a4c805f4c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Op/broken.in @@ -0,0 +1,25 @@ +.\" $OpenBSD: broken.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt OP-BROKEN 1 +.Os +.Sh NAME +.Nm Op-broken +.Nd partial implicit block broken by partial explicit block +.Sh DESCRIPTION +before both +.Do inside first +.Op inside both Dc inside second +after both +.Pp +0 +.Do 1 +.Op 12 Op 123 Dc 23 +0 +.\" The following does not work yet, see mdoc_macro.c rev. 1.47. +.ig +.Pp +0 +.Do 1 Do 12 +.Op 123 Op 1234 Dc 134 Dc 34 +0 +.. diff --git a/contrib/mandoc/regress/mdoc/Op/broken.out_ascii b/contrib/mandoc/regress/mdoc/Op/broken.out_ascii new file mode 100644 index 00000000000..5e005e7bc04 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Op/broken.out_ascii @@ -0,0 +1,11 @@ +OP-BROKEN(1) General Commands Manual OP-BROKEN(1) + +NNAAMMEE + OOpp--bbrrookkeenn - partial implicit block broken by partial explicit block + +DDEESSCCRRIIPPTTIIOONN + before both "inside first [inside both" inside second] after both + + 0 "1 [12 [123" 23]] 0 + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Op/broken.out_lint b/contrib/mandoc/regress/mdoc/Op/broken.out_lint new file mode 100644 index 00000000000..208a050b881 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Op/broken.out_lint @@ -0,0 +1,2 @@ +mandoc: broken.in:11:17: WARNING: blocks badly nested: Do breaks Op +mandoc: broken.in:16:15: WARNING: blocks badly nested: Do breaks Op diff --git a/contrib/mandoc/regress/mdoc/Op/broken.out_markdown b/contrib/mandoc/regress/mdoc/Op/broken.out_markdown new file mode 100644 index 00000000000..bd7dac6f5a5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Op/broken.out_markdown @@ -0,0 +1,19 @@ +OP-BROKEN(1) - General Commands Manual + +# NAME + +**Op-broken** - partial implicit block broken by partial explicit block + +# DESCRIPTION + +before both +"inside first +\[inside both" inside second] +after both + +0 +"1 +\[12 \[123" 23]] +0 + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Op/punct.in b/contrib/mandoc/regress/mdoc/Op/punct.in new file mode 100644 index 00000000000..937e6197c9e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Op/punct.in @@ -0,0 +1,35 @@ +.\" $OpenBSD: punct.in,v 1.6 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt OP-PUNCT 1 +.Os +.Sh NAME +.Nm Op-punct +.Nd punctuation handling by the Op macro +.Sh DESCRIPTION +at the beginning: +.Op "(" z +.Op | z +.Op . z +.Pp +in the middle: +.Op a "(" z +.Op a | z +.Op a . z +.Pp +at the end: +.Op a ( +.Op a | +.Op a . +.Pp +punctuation only: +.Op ( +.Op | +.Op . +.Pp +more than one: +.Op ( ( +.Op | | +.Op . . +.Pp +Missing blank: +.Op a. diff --git a/contrib/mandoc/regress/mdoc/Op/punct.out_ascii b/contrib/mandoc/regress/mdoc/Op/punct.out_ascii new file mode 100644 index 00000000000..a60f2b1b5e3 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Op/punct.out_ascii @@ -0,0 +1,19 @@ +OP-PUNCT(1) General Commands Manual OP-PUNCT(1) + +NNAAMMEE + OOpp--ppuunncctt - punctuation handling by the Op macro + +DDEESSCCRRIIPPTTIIOONN + at the beginning: ([z] [| z] [. z] + + in the middle: [a (z] [a | z] [a. z] + + at the end: [a (] [a |] [a]. + + punctuation only: ([] [|] []. + + more than one: (([] [| |] [].. + + Missing blank: [a.] + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Op/punct.out_lint b/contrib/mandoc/regress/mdoc/Op/punct.out_lint new file mode 100644 index 00000000000..26ab6fec1f2 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Op/punct.out_lint @@ -0,0 +1 @@ +mandoc: punct.in:35:6: STYLE: no blank before trailing delimiter: Op a. diff --git a/contrib/mandoc/regress/mdoc/Op/punct.out_markdown b/contrib/mandoc/regress/mdoc/Op/punct.out_markdown new file mode 100644 index 00000000000..d5aab3241a0 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Op/punct.out_markdown @@ -0,0 +1,37 @@ +OP-PUNCT(1) - General Commands Manual + +# NAME + +**Op-punct** - punctuation handling by the Op macro + +# DESCRIPTION + +at the beginning: +(\[z] +\[| z] +\[. z] + +in the middle: +\[a (z] +\[a | z] +\[a. z] + +at the end: +\[a (] +\[a |] +\[a]. + +punctuation only: +(\[] +\[|] +\[]. + +more than one: +((\[] +\[| |] +\[].. + +Missing blank: +\[a.] + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Os/Makefile b/contrib/mandoc/regress/mdoc/Os/Makefile new file mode 100644 index 00000000000..b3e0fe06787 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Os/Makefile @@ -0,0 +1,8 @@ +# $OpenBSD: Makefile,v 1.2 2014/11/21 01:52:45 schwarze Exp $ + +REGRESS_TARGETS = dupe late long missing +LINT_TARGETS = dupe late missing + +SKIP_GROFF = long + +.include diff --git a/contrib/mandoc/regress/mdoc/Os/dupe.in b/contrib/mandoc/regress/mdoc/Os/dupe.in new file mode 100644 index 00000000000..495a1132cf3 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Os/dupe.in @@ -0,0 +1,12 @@ +.\" $OpenBSD: dupe.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Os NetBSD +.Dt OS-DUPE 1 +.Os FreeBSD +.Sh NAME +.Nm Os-dupe +.Nd repeated operating system macros +.Sh DESCRIPTION +initial text +.Os OpenBSD +final text diff --git a/contrib/mandoc/regress/mdoc/Os/dupe.out_ascii b/contrib/mandoc/regress/mdoc/Os/dupe.out_ascii new file mode 100644 index 00000000000..c120c4e1c93 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Os/dupe.out_ascii @@ -0,0 +1,9 @@ +OS-DUPE(1) General Commands Manual OS-DUPE(1) + +NNAAMMEE + OOss--dduuppee - repeated operating system macros + +DDEESSCCRRIIPPTTIIOONN + initial text final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Os/dupe.out_lint b/contrib/mandoc/regress/mdoc/Os/dupe.out_lint new file mode 100644 index 00000000000..63b9dfd2fc6 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Os/dupe.out_lint @@ -0,0 +1,9 @@ +mandoc: dupe.in:3:5: STYLE: operating system explicitly specified: Os NetBSD (NetBSD) +mandoc: dupe.in:2:5: STYLE: Mdocdate found: Dd $Mdocdate: (NetBSD) +mandoc: dupe.in:4:2: WARNING: prologue macros out of order: Dt after Os +mandoc: dupe.in:5:2: ERROR: duplicate prologue macro: Os +mandoc: dupe.in:5:5: STYLE: operating system explicitly specified: Os FreeBSD (NetBSD) +mandoc: dupe.in:2:5: STYLE: Mdocdate found: Dd $Mdocdate: (NetBSD) +mandoc: dupe.in:11:2: ERROR: duplicate prologue macro: Os +mandoc: dupe.in:11:5: STYLE: operating system explicitly specified: Os OpenBSD (NetBSD) +mandoc: dupe.in: STYLE: RCS id missing: (NetBSD) diff --git a/contrib/mandoc/regress/mdoc/Os/dupe.out_markdown b/contrib/mandoc/regress/mdoc/Os/dupe.out_markdown new file mode 100644 index 00000000000..8186cb3dad0 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Os/dupe.out_markdown @@ -0,0 +1,12 @@ +OS-DUPE(1) - General Commands Manual + +# NAME + +**Os-dupe** - repeated operating system macros + +# DESCRIPTION + +initial text +final text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Os/late.in b/contrib/mandoc/regress/mdoc/Os/late.in new file mode 100644 index 00000000000..c8e8419c0a1 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Os/late.in @@ -0,0 +1,10 @@ +.\" $OpenBSD: late.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt OS-LATE 1 +.Sh NAME +.Nm Os-late +.Nd late operating system macro +.Sh DESCRIPTION +initial text +.Os +final text diff --git a/contrib/mandoc/regress/mdoc/Os/late.out_ascii b/contrib/mandoc/regress/mdoc/Os/late.out_ascii new file mode 100644 index 00000000000..a87e26907ba --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Os/late.out_ascii @@ -0,0 +1,9 @@ +OS-LATE(1) General Commands Manual OS-LATE(1) + +NNAAMMEE + OOss--llaattee - late operating system macro + +DDEESSCCRRIIPPTTIIOONN + initial text final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Os/late.out_lint b/contrib/mandoc/regress/mdoc/Os/late.out_lint new file mode 100644 index 00000000000..672654fa2b5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Os/late.out_lint @@ -0,0 +1 @@ +mandoc: late.in:9:2: WARNING: late prologue macro: Os diff --git a/contrib/mandoc/regress/mdoc/Os/late.out_markdown b/contrib/mandoc/regress/mdoc/Os/late.out_markdown new file mode 100644 index 00000000000..6e81da24237 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Os/late.out_markdown @@ -0,0 +1,12 @@ +OS-LATE(1) - General Commands Manual + +# NAME + +**Os-late** - late operating system macro + +# DESCRIPTION + +initial text +final text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Os/long.in b/contrib/mandoc/regress/mdoc/Os/long.in new file mode 100644 index 00000000000..4155d3d2ca2 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Os/long.in @@ -0,0 +1,9 @@ +.\" $OpenBSD: long.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt OS-LONG 1 +.Os 1234567890123456789012345678901234567890123456789012345678901234567890123456789 +.Sh NAME +.Nm Os-long +.Nd long operating system string +.Sh DESCRIPTION +some text diff --git a/contrib/mandoc/regress/mdoc/Os/long.out_ascii b/contrib/mandoc/regress/mdoc/Os/long.out_ascii new file mode 100644 index 00000000000..0c54042d5f3 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Os/long.out_ascii @@ -0,0 +1,11 @@ +OS-LONG(1) General Commands Manual OS-LONG(1) + +NNAAMMEE + OOss--lloonngg - long operating system string + +DDEESSCCRRIIPPTTIIOONN + some text + +1234567890123456789012345678901234567890123456789012345678901234567890123456789 + July 4, 2017 +1234567890123456789012345678901234567890123456789012345678901234567890123456789 diff --git a/contrib/mandoc/regress/mdoc/Os/long.out_markdown b/contrib/mandoc/regress/mdoc/Os/long.out_markdown new file mode 100644 index 00000000000..3770e4857d6 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Os/long.out_markdown @@ -0,0 +1,11 @@ +OS-LONG(1) - General Commands Manual + +# NAME + +**Os-long** - long operating system string + +# DESCRIPTION + +some text + +1234567890123456789012345678901234567890123456789012345678901234567890123456789 - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Os/missing.in b/contrib/mandoc/regress/mdoc/Os/missing.in new file mode 100644 index 00000000000..5c76534b684 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Os/missing.in @@ -0,0 +1,8 @@ +.\" $OpenBSD: missing.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt OS-MISSING 1 +.Sh NAME +.Nm Os-missing +.Nd operating system macro missing in prologue +.Sh DESCRIPTION +some text diff --git a/contrib/mandoc/regress/mdoc/Os/missing.out_ascii b/contrib/mandoc/regress/mdoc/Os/missing.out_ascii new file mode 100644 index 00000000000..adbf88e154b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Os/missing.out_ascii @@ -0,0 +1,9 @@ +OS-MISSING(1) General Commands Manual OS-MISSING(1) + +NNAAMMEE + OOss--mmiissssiinngg - operating system macro missing in prologue + +DDEESSCCRRIIPPTTIIOONN + some text + + July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Os/missing.out_lint b/contrib/mandoc/regress/mdoc/Os/missing.out_lint new file mode 100644 index 00000000000..8b1f80b2672 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Os/missing.out_lint @@ -0,0 +1 @@ +mandoc: missing.in: WARNING: missing Os macro, using "" diff --git a/contrib/mandoc/regress/mdoc/Os/missing.out_markdown b/contrib/mandoc/regress/mdoc/Os/missing.out_markdown new file mode 100644 index 00000000000..a93ba060bcd --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Os/missing.out_markdown @@ -0,0 +1,11 @@ +OS-MISSING(1) - General Commands Manual + +# NAME + +**Os-missing** - operating system macro missing in prologue + +# DESCRIPTION + +some text + + \- July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Ox/Makefile b/contrib/mandoc/regress/mdoc/Ox/Makefile new file mode 100644 index 00000000000..8c9fac07501 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ox/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.3 2012/07/18 16:55:54 schwarze Exp $ + +REGRESS_TARGETS = keep + +.include diff --git a/contrib/mandoc/regress/mdoc/Ox/keep.in b/contrib/mandoc/regress/mdoc/Ox/keep.in new file mode 100644 index 00000000000..63ef8dd3988 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ox/keep.in @@ -0,0 +1,12 @@ +.\" $OpenBSD: keep.in,v 1.3 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt OX-KEEP 1 +.Os +.Sh NAME +.Nm Ox-keep +.Nd interaction of unix variant macros and word keeps +.Sh DESCRIPTION +Because we use a keep, +.Bk -words +.Ox 4.9 must be at the beginning of a new line. +.Ek diff --git a/contrib/mandoc/regress/mdoc/Ox/keep.out_ascii b/contrib/mandoc/regress/mdoc/Ox/keep.out_ascii new file mode 100644 index 00000000000..9df5b2246e3 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ox/keep.out_ascii @@ -0,0 +1,10 @@ +OX-KEEP(1) General Commands Manual OX-KEEP(1) + +NNAAMMEE + OOxx--kkeeeepp - interaction of unix variant macros and word keeps + +DDEESSCCRRIIPPTTIIOONN + Because we use a keep, + OpenBSD 4.9 must be at the beginning of a new line. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ox/keep.out_markdown b/contrib/mandoc/regress/mdoc/Ox/keep.out_markdown new file mode 100644 index 00000000000..9930e0676ab --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ox/keep.out_markdown @@ -0,0 +1,12 @@ +OX-KEEP(1) - General Commands Manual + +# NAME + +**Ox-keep** - interaction of unix variant macros and word keeps + +# DESCRIPTION + +Because we use a keep, +OpenBSD 4.9 must be at the beginning of a new line. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Pa/Makefile b/contrib/mandoc/regress/mdoc/Pa/Makefile new file mode 100644 index 00000000000..d94cd735050 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Pa/Makefile @@ -0,0 +1,8 @@ +# $OpenBSD: Makefile,v 1.4 2014/08/21 12:56:24 schwarze Exp $ + +REGRESS_TARGETS = font punct +LINT_TARGETS = punct + +# XXX The FILES target doesn't currently work. + +.include diff --git a/contrib/mandoc/regress/mdoc/Pa/font.in b/contrib/mandoc/regress/mdoc/Pa/font.in new file mode 100644 index 00000000000..4e805ac6e6f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Pa/font.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: font.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt PA-FONT 1 +.Os +.Sh NAME +.Nm Pa-font +.Nd changing fonts inside the path macro +.Sh DESCRIPTION +normal text +.Pa emphasis\\fBbold\\fPback +trailing text diff --git a/contrib/mandoc/regress/mdoc/Pa/font.out_ascii b/contrib/mandoc/regress/mdoc/Pa/font.out_ascii new file mode 100644 index 00000000000..9ec6e361a49 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Pa/font.out_ascii @@ -0,0 +1,9 @@ +PA-FONT(1) General Commands Manual PA-FONT(1) + +NNAAMMEE + PPaa--ffoonntt - changing fonts inside the path macro + +DDEESSCCRRIIPPTTIIOONN + normal text _e_m_p_h_a_s_i_sbboolldd_b_a_c_k trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Pa/font.out_markdown b/contrib/mandoc/regress/mdoc/Pa/font.out_markdown new file mode 100644 index 00000000000..cffed413d46 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Pa/font.out_markdown @@ -0,0 +1,13 @@ +PA-FONT(1) - General Commands Manual + +# NAME + +**Pa-font** - changing fonts inside the path macro + +# DESCRIPTION + +normal text +*emphasis**bold**back* +trailing text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Pa/punct.in b/contrib/mandoc/regress/mdoc/Pa/punct.in new file mode 100644 index 00000000000..38de5276a8a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Pa/punct.in @@ -0,0 +1,46 @@ +.\" $OpenBSD: punct.in,v 1.4 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt PA-PUNCT 1 +.Os +.Sh NAME +.Nm Pa-punct +.Nd punctuation handling by the Pa macro +.Sh DESCRIPTION +closing punctuation +.Pa a ) +only one +.Pa ) +only more than one +.Pa ) ) +middle +.Pa a ) z +start +.Pa ) z +dot +.Pa . z +comma +.Pa , z +semicolon +.Pa ; z +colon +.Pa : z +quest +.Pa ? z +excl +.Pa ! z +paren +.Pa ) z +bracket +.Pa ] z +bar +.Pa | m +op paren +.Pa ( a +op bracket +.Pa [ a +.Pp +quoted punctuation: +.Pa a "(" b "|" c ")" d "," "Sy" bold . +.Pp +missing blank: +.Pa a. diff --git a/contrib/mandoc/regress/mdoc/Pa/punct.out_ascii b/contrib/mandoc/regress/mdoc/Pa/punct.out_ascii new file mode 100644 index 00000000000..e32f311432d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Pa/punct.out_ascii @@ -0,0 +1,15 @@ +PA-PUNCT(1) General Commands Manual PA-PUNCT(1) + +NNAAMMEE + PPaa--ppuunncctt - punctuation handling by the Pa macro + +DDEESSCCRRIIPPTTIIOONN + closing punctuation _a) only one _~) only more than one _~)) middle _a) _z + start _~) _z dot _~. _z comma _~, _z semicolon _~; _z colon _~: _z quest _~? _z excl + _~! _z paren _~) _z bracket _~] _z bar | _m op paren (_a op bracket [_a + + quoted punctuation: _a (_b | _c) _d, bboolldd. + + missing blank: _a_. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Pa/punct.out_lint b/contrib/mandoc/regress/mdoc/Pa/punct.out_lint new file mode 100644 index 00000000000..8c2bdf4042d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Pa/punct.out_lint @@ -0,0 +1 @@ +mandoc: punct.in:46:6: STYLE: no blank before trailing delimiter: Pa a. diff --git a/contrib/mandoc/regress/mdoc/Pa/punct.out_markdown b/contrib/mandoc/regress/mdoc/Pa/punct.out_markdown new file mode 100644 index 00000000000..9f2294bc859 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Pa/punct.out_markdown @@ -0,0 +1,48 @@ +PA-PUNCT(1) - General Commands Manual + +# NAME + +**Pa-punct** - punctuation handling by the Pa macro + +# DESCRIPTION + +closing punctuation +*a*) +only one +*~*) +only more than one +*~*)) +middle +*a*) *z* +start +*~*) *z* +dot +*~*. *z* +comma +*~*, *z* +semicolon +*~*; *z* +colon +*~*: *z* +quest +*~*? *z* +excl +*~*! *z* +paren +*~*) *z* +bracket +*~*] *z* +bar +| *m* +op paren +(*a* +op bracket +\[*a* + +quoted punctuation: +*a* (*b* | *c*) *d*, **bold**. + +missing blank: +*a.* + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Pf/Makefile b/contrib/mandoc/regress/mdoc/Pf/Makefile new file mode 100644 index 00000000000..c222abf1c3d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Pf/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.3 2014/11/30 05:28:00 schwarze Exp $ + +REGRESS_TARGETS = spacing +LINT_TARGETS = spacing + +.include diff --git a/contrib/mandoc/regress/mdoc/Pf/spacing.in b/contrib/mandoc/regress/mdoc/Pf/spacing.in new file mode 100644 index 00000000000..9c0587a3514 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Pf/spacing.in @@ -0,0 +1,32 @@ +.\" $OpenBSD: spacing.in,v 1.4 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt PF-SPACING 1 +.Os +.Sh NAME +.Nm Pf-spacing +.Nd spacing around the prefix macro +.Sh DESCRIPTION +Closing punctuation goes +.Pf . right . +But +.Pf . . double +prefixes don't work. +Opening punctuation goes +.Pf ( left . +But again, prefix +.Pf ( ) pairs +don't work. +Even normal text gets +.Pf pre fixed . +The first +.Pf Ar gument +is not parsed. +Nothing can be +.Pf prefixed +to the next line. +Trailing punctuation still counts as +.Em eos Pf . +.Po But it does not fall out of enclosures Pf . Pc +.Pp +It makes no sense at the very +.Em end Pf diff --git a/contrib/mandoc/regress/mdoc/Pf/spacing.out_ascii b/contrib/mandoc/regress/mdoc/Pf/spacing.out_ascii new file mode 100644 index 00000000000..95c41bb96d4 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Pf/spacing.out_ascii @@ -0,0 +1,15 @@ +PF-SPACING(1) General Commands Manual PF-SPACING(1) + +NNAAMMEE + PPff--ssppaacciinngg - spacing around the prefix macro + +DDEESSCCRRIIPPTTIIOONN + Closing punctuation goes .right. But .. double prefixes don't work. + Opening punctuation goes (left. But again, prefix () pairs don't work. + Even normal text gets prefixed. The first Argument is not parsed. + Nothing can be prefixed to the next line. Trailing punctuation still + counts as _e_o_s . (But it does not fall out of enclosures .) + + It makes no sense at the very _e_n_d + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Pf/spacing.out_lint b/contrib/mandoc/regress/mdoc/Pf/spacing.out_lint new file mode 100644 index 00000000000..55d4341f97b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Pf/spacing.out_lint @@ -0,0 +1,3 @@ +mandoc: spacing.in:25:2: WARNING: nothing follows prefix: Pf prefixed +mandoc: spacing.in:28:9: WARNING: nothing follows prefix: Pf . +mandoc: spacing.in:32:9: WARNING: nothing follows prefix: Pf at eol diff --git a/contrib/mandoc/regress/mdoc/Pf/spacing.out_markdown b/contrib/mandoc/regress/mdoc/Pf/spacing.out_markdown new file mode 100644 index 00000000000..b08fef3bc92 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Pf/spacing.out_markdown @@ -0,0 +1,34 @@ +PF-SPACING(1) - General Commands Manual + +# NAME + +**Pf-spacing** - spacing around the prefix macro + +# DESCRIPTION + +Closing punctuation goes +.right. +But +.. double +prefixes don't work. +Opening punctuation goes +(left. +But again, prefix +() pairs +don't work. +Even normal text gets +prefixed. +The first +Argument +is not parsed. +Nothing can be +prefixed +to the next line. +Trailing punctuation still counts as +*eos* . +(But it does not fall out of enclosures .) + +It makes no sense at the very +*end* + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Pp/Makefile b/contrib/mandoc/regress/mdoc/Pp/Makefile new file mode 100644 index 00000000000..04e1bc3b394 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Pp/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.4 2015/02/04 19:11:17 schwarze Exp $ + +REGRESS_TARGETS = arg +LINT_TARGETS = arg + +.include diff --git a/contrib/mandoc/regress/mdoc/Pp/arg.in b/contrib/mandoc/regress/mdoc/Pp/arg.in new file mode 100644 index 00000000000..274e558df8f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Pp/arg.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: arg.in,v 1.4 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt PP-ARG 1 +.Os +.Sh NAME +.Nm Pp-arg +.Nd paragraph macro with arguments +.Sh DESCRIPTION +line 1 +.Pp drop this +line 2 +.br drop this +line 3 +.sp 1v drop this +line 4 diff --git a/contrib/mandoc/regress/mdoc/Pp/arg.out_ascii b/contrib/mandoc/regress/mdoc/Pp/arg.out_ascii new file mode 100644 index 00000000000..a15f1598080 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Pp/arg.out_ascii @@ -0,0 +1,14 @@ +PP-ARG(1) General Commands Manual PP-ARG(1) + +NNAAMMEE + PPpp--aarrgg - paragraph macro with arguments + +DDEESSCCRRIIPPTTIIOONN + line 1 + + line 2 + line 3 + + line 4 + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Pp/arg.out_lint b/contrib/mandoc/regress/mdoc/Pp/arg.out_lint new file mode 100644 index 00000000000..f49d27d421c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Pp/arg.out_lint @@ -0,0 +1,3 @@ +mandoc: arg.in:12:5: ERROR: skipping all arguments: br drop this +mandoc: arg.in:14:8: ERROR: skipping excess arguments: sp ... drop this +mandoc: arg.in:10:2: ERROR: skipping all arguments: Pp drop diff --git a/contrib/mandoc/regress/mdoc/Pp/arg.out_markdown b/contrib/mandoc/regress/mdoc/Pp/arg.out_markdown new file mode 100644 index 00000000000..17c7753a9d7 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Pp/arg.out_markdown @@ -0,0 +1,16 @@ +PP-ARG(1) - General Commands Manual + +# NAME + +**Pp-arg** - paragraph macro with arguments + +# DESCRIPTION + +line 1 + +line 2 +line 3 + +line 4 + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Qq/Makefile b/contrib/mandoc/regress/mdoc/Qq/Makefile new file mode 100644 index 00000000000..59ca18f5a4f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Qq/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2011/12/04 03:09:25 schwarze Exp $ + +REGRESS_TARGETS = empty +LINT_TARGETS = empty + +.include diff --git a/contrib/mandoc/regress/mdoc/Qq/empty.in b/contrib/mandoc/regress/mdoc/Qq/empty.in new file mode 100644 index 00000000000..06666411591 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Qq/empty.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: empty.in,v 1.5 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt QQ-EMPTY 1 +.Os +.Sh NAME +.Nm Qq-empty +.Nd empty implicit enclosure macros +.Sh DESCRIPTION +An empty +.Qq +and a full +.Qq "(" user@host) +quotation. +And another +.Qo "(" full) Qc one "Sy" bold . diff --git a/contrib/mandoc/regress/mdoc/Qq/empty.out_ascii b/contrib/mandoc/regress/mdoc/Qq/empty.out_ascii new file mode 100644 index 00000000000..ceb6681984c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Qq/empty.out_ascii @@ -0,0 +1,10 @@ +QQ-EMPTY(1) General Commands Manual QQ-EMPTY(1) + +NNAAMMEE + QQqq--eemmppttyy - empty implicit enclosure macros + +DDEESSCCRRIIPPTTIIOONN + An empty "" and a full ("user@host)" quotation. And another ("full)" one + bboolldd. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Qq/empty.out_lint b/contrib/mandoc/regress/mdoc/Qq/empty.out_lint new file mode 100644 index 00000000000..879cd127595 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Qq/empty.out_lint @@ -0,0 +1,2 @@ +mandoc: empty.in:12:18: STYLE: no blank before trailing delimiter: Qq user@host) +mandoc: empty.in:15:13: STYLE: no blank before trailing delimiter: Qo full) diff --git a/contrib/mandoc/regress/mdoc/Qq/empty.out_markdown b/contrib/mandoc/regress/mdoc/Qq/empty.out_markdown new file mode 100644 index 00000000000..4088082ac40 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Qq/empty.out_markdown @@ -0,0 +1,17 @@ +QQ-EMPTY(1) - General Commands Manual + +# NAME + +**Qq-empty** - empty implicit enclosure macros + +# DESCRIPTION + +An empty +"" +and a full +("user@host)" +quotation. +And another +("full)" one **bold**. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Rs/Makefile b/contrib/mandoc/regress/mdoc/Rs/Makefile new file mode 100644 index 00000000000..3732dc0a8be --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/Makefile @@ -0,0 +1,12 @@ +# $OpenBSD: Makefile,v 1.7 2015/02/04 18:03:28 schwarze Exp $ + +REGRESS_TARGETS = allch args break empty three_authors +UTF8_TARGETS = allch break empty three_authors +LINT_TARGETS = allch args empty + +# groff-1.22.3 defect: +# - arguments after .Rs cause the macro to be ignored + +SKIP_GROFF = args + +.include diff --git a/contrib/mandoc/regress/mdoc/Rs/allch.in b/contrib/mandoc/regress/mdoc/Rs/allch.in new file mode 100644 index 00000000000..54aa6c6f7e1 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/allch.in @@ -0,0 +1,49 @@ +.\" $OpenBSD: allch.in,v 1.4 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt RS-ALLCH 1 +.Os +.Sh NAME +.Nm Rs-allch +.Nd reference block using all supported child macros +.Sh DESCRIPTION +reference on the same line: +.Rs +.%A author name +.%T title of article +.%B book title +.%I issuer name +some +.%J journal name +.%R report name +.%N number of journal +.%V volume number +.Em bogus +text +.%U "uniform resource locator" +.%P page number +.%Q institutional author +.%C city name +.%D date of publication +.%O optional information +.Re +.Sh SEE ALSO +reference after a blank line: +.Rs +.%A author name +.%T title of article +.%B book title +.%I issuer name +some +.Em bogus +.%J journal name +.%R report name +.%N number of journal +.%V volume number +text +.%U "uniform resource locator" +.%P page number +.%Q institutional author +.%C city name +.%D date of publication +.%O optional information +.Re diff --git a/contrib/mandoc/regress/mdoc/Rs/allch.out_ascii b/contrib/mandoc/regress/mdoc/Rs/allch.out_ascii new file mode 100644 index 00000000000..e1bc4cf4c9e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/allch.out_ascii @@ -0,0 +1,21 @@ +RS-ALLCH(1) General Commands Manual RS-ALLCH(1) + +NNAAMMEE + RRss--aallllcchh - reference block using all supported child macros + +DDEESSCCRRIIPPTTIIOONN + reference on the same line: some _b_o_g_u_s text author name, "title of + article", _b_o_o_k _t_i_t_l_e, _i_s_s_u_e_r _n_a_m_e, _j_o_u_r_n_a_l _n_a_m_e, report name, number of + journal, volume number, uniform resource locator, page number, + institutional author, city name, date of publication, optional + information. + +SSEEEE AALLSSOO + reference after a blank line: + + some _b_o_g_u_s text author name, "title of article", _b_o_o_k _t_i_t_l_e, _i_s_s_u_e_r _n_a_m_e, + _j_o_u_r_n_a_l _n_a_m_e, report name, number of journal, volume number, uniform + resource locator, page number, institutional author, city name, date of + publication, optional information. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Rs/allch.out_lint b/contrib/mandoc/regress/mdoc/Rs/allch.out_lint new file mode 100644 index 00000000000..0a963265418 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/allch.out_lint @@ -0,0 +1,6 @@ +mandoc: allch.in:15:1: WARNING: invalid content in Rs block: text +mandoc: allch.in:20:2: WARNING: invalid content in Rs block: Em +mandoc: allch.in:21:1: WARNING: invalid content in Rs block: text +mandoc: allch.in:36:1: WARNING: invalid content in Rs block: text +mandoc: allch.in:37:2: WARNING: invalid content in Rs block: Em +mandoc: allch.in:42:1: WARNING: invalid content in Rs block: text diff --git a/contrib/mandoc/regress/mdoc/Rs/allch.out_markdown b/contrib/mandoc/regress/mdoc/Rs/allch.out_markdown new file mode 100644 index 00000000000..9e10a86363c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/allch.out_markdown @@ -0,0 +1,50 @@ +RS-ALLCH(1) - General Commands Manual + +# NAME + +**Rs-allch** - reference block using all supported child macros + +# DESCRIPTION + +reference on the same line: +some +*bogus* +text +author name, +"title of article", +*book title*, +*issuer name*, +*journal name*, +report name, +number of journal, +volume number, +[uniform resource locator](uniform resource locator), +page number, +institutional author, +city name, +date of publication, +optional information. + +# SEE ALSO + +reference after a blank line: + +some +*bogus* +text +author name, +"title of article", +*book title*, +*issuer name*, +*journal name*, +report name, +number of journal, +volume number, +[uniform resource locator](uniform resource locator), +page number, +institutional author, +city name, +date of publication, +optional information. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Rs/allch.out_utf8 b/contrib/mandoc/regress/mdoc/Rs/allch.out_utf8 new file mode 100644 index 00000000000..ea5a7378894 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/allch.out_utf8 @@ -0,0 +1,21 @@ +RS-ALLCH(1) General Commands Manual RS-ALLCH(1) + +NNAAMMEE + RRss--aallllcchh – reference block using all supported child macros + +DDEESSCCRRIIPPTTIIOONN + reference on the same line: some _b_o_g_u_s text author name, “title of + article”, _b_o_o_k _t_i_t_l_e, _i_s_s_u_e_r _n_a_m_e, _j_o_u_r_n_a_l _n_a_m_e, report name, number of + journal, volume number, uniform resource locator, page number, + institutional author, city name, date of publication, optional + information. + +SSEEEE AALLSSOO + reference after a blank line: + + some _b_o_g_u_s text author name, “title of article”, _b_o_o_k _t_i_t_l_e, _i_s_s_u_e_r _n_a_m_e, + _j_o_u_r_n_a_l _n_a_m_e, report name, number of journal, volume number, uniform + resource locator, page number, institutional author, city name, date of + publication, optional information. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Rs/args.in b/contrib/mandoc/regress/mdoc/Rs/args.in new file mode 100644 index 00000000000..990f0431b0f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/args.in @@ -0,0 +1,19 @@ +.\" $OpenBSD: args.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt RS-ARGS 1 +.Os +.Sh NAME +.Nm Rs-args +.Nd arguments on a reference block header line +.Sh SEE ALSO +initial text +.Rs bogus +.%A author name +.%B book title +.Re +middle text +.Rs Sy bogus +.%A author name +.%B book title +.Re +final text diff --git a/contrib/mandoc/regress/mdoc/Rs/args.out_ascii b/contrib/mandoc/regress/mdoc/Rs/args.out_ascii new file mode 100644 index 00000000000..cd43aa44c59 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/args.out_ascii @@ -0,0 +1,13 @@ +RS-ARGS(1) General Commands Manual RS-ARGS(1) + +NNAAMMEE + RRss--aarrggss - arguments on a reference block header line + +SSEEEE AALLSSOO + initial text + + author name, _b_o_o_k _t_i_t_l_e. middle text + + author name, _b_o_o_k _t_i_t_l_e. final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Rs/args.out_lint b/contrib/mandoc/regress/mdoc/Rs/args.out_lint new file mode 100644 index 00000000000..7942b392b72 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/args.out_lint @@ -0,0 +1,2 @@ +mandoc: args.in:10:5: ERROR: skipping all arguments: Rs bogus +mandoc: args.in:15:5: ERROR: skipping all arguments: Rs Sy diff --git a/contrib/mandoc/regress/mdoc/Rs/args.out_markdown b/contrib/mandoc/regress/mdoc/Rs/args.out_markdown new file mode 100644 index 00000000000..20fda04d8c5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/args.out_markdown @@ -0,0 +1,19 @@ +RS-ARGS(1) - General Commands Manual + +# NAME + +**Rs-args** - arguments on a reference block header line + +# SEE ALSO + +initial text + +author name, +*book title*. +middle text + +author name, +*book title*. +final text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Rs/break.in b/contrib/mandoc/regress/mdoc/Rs/break.in new file mode 100644 index 00000000000..63425a862ee --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/break.in @@ -0,0 +1,28 @@ +.\" $OpenBSD: break.in,v 1.5 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt RS-BREAK 1 +.Os +.Sh NAME +.Nm Rs-break +.Nd line break before reference start +.Sh DESCRIPTION +reference on the same line: +.Rs +.%A author +.%J journal +.%N 42 +.Re +.Sh SEE ALSO +reference after a blank line: +.Rs +.%A author +.%J journal +.%N 42 +.Re +.Sh SEE Em ALSO +reference after a blank line: +.Rs +.%A author +.%J journal +.%N 42 +.Re diff --git a/contrib/mandoc/regress/mdoc/Rs/break.out_ascii b/contrib/mandoc/regress/mdoc/Rs/break.out_ascii new file mode 100644 index 00000000000..0c9625837e4 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/break.out_ascii @@ -0,0 +1,19 @@ +RS-BREAK(1) General Commands Manual RS-BREAK(1) + +NNAAMMEE + RRss--bbrreeaakk - line break before reference start + +DDEESSCCRRIIPPTTIIOONN + reference on the same line: author, _j_o_u_r_n_a_l, 42. + +SSEEEE AALLSSOO + reference after a blank line: + + author, _j_o_u_r_n_a_l, 42. + +SSEEEE _A_L_S_O + reference after a blank line: + + author, _j_o_u_r_n_a_l, 42. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Rs/break.out_markdown b/contrib/mandoc/regress/mdoc/Rs/break.out_markdown new file mode 100644 index 00000000000..ad6adfb3c3c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/break.out_markdown @@ -0,0 +1,30 @@ +RS-BREAK(1) - General Commands Manual + +# NAME + +**Rs-break** - line break before reference start + +# DESCRIPTION + +reference on the same line: +author, +*journal*, +42\. + +# SEE ALSO + +reference after a blank line: + +author, +*journal*, +42\. + +# SEE *ALSO* + +reference after a blank line: + +author, +*journal*, +42\. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Rs/break.out_utf8 b/contrib/mandoc/regress/mdoc/Rs/break.out_utf8 new file mode 100644 index 00000000000..9cd3bb59d1d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/break.out_utf8 @@ -0,0 +1,19 @@ +RS-BREAK(1) General Commands Manual RS-BREAK(1) + +NNAAMMEE + RRss--bbrreeaakk – line break before reference start + +DDEESSCCRRIIPPTTIIOONN + reference on the same line: author, _j_o_u_r_n_a_l, 42. + +SSEEEE AALLSSOO + reference after a blank line: + + author, _j_o_u_r_n_a_l, 42. + +SSEEEE _A_L_S_O + reference after a blank line: + + author, _j_o_u_r_n_a_l, 42. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Rs/empty.in b/contrib/mandoc/regress/mdoc/Rs/empty.in new file mode 100644 index 00000000000..6ebcb2b63bf --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/empty.in @@ -0,0 +1,17 @@ +.\" $OpenBSD: empty.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt RS-EMPTY 1 +.Os +.Sh NAME +.Nm Rs-empty +.Nd empty reference blocks +.Sh DESCRIPTION +initial text +.Rs +.Re +final text +.Sh SEE ALSO +initial text +.Rs +.Re +final text diff --git a/contrib/mandoc/regress/mdoc/Rs/empty.out_ascii b/contrib/mandoc/regress/mdoc/Rs/empty.out_ascii new file mode 100644 index 00000000000..b87e4ad83bf --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/empty.out_ascii @@ -0,0 +1,14 @@ +RS-EMPTY(1) General Commands Manual RS-EMPTY(1) + +NNAAMMEE + RRss--eemmppttyy - empty reference blocks + +DDEESSCCRRIIPPTTIIOONN + initial text final text + +SSEEEE AALLSSOO + initial text + + final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Rs/empty.out_lint b/contrib/mandoc/regress/mdoc/Rs/empty.out_lint new file mode 100644 index 00000000000..52554b25fe2 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/empty.out_lint @@ -0,0 +1,2 @@ +mandoc: empty.in:10:2: WARNING: empty reference block: Rs +mandoc: empty.in:15:2: WARNING: empty reference block: Rs diff --git a/contrib/mandoc/regress/mdoc/Rs/empty.out_markdown b/contrib/mandoc/regress/mdoc/Rs/empty.out_markdown new file mode 100644 index 00000000000..372bddbbddd --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/empty.out_markdown @@ -0,0 +1,18 @@ +RS-EMPTY(1) - General Commands Manual + +# NAME + +**Rs-empty** - empty reference blocks + +# DESCRIPTION + +initial text +final text + +# SEE ALSO + +initial text + +final text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Rs/empty.out_utf8 b/contrib/mandoc/regress/mdoc/Rs/empty.out_utf8 new file mode 100644 index 00000000000..c554bddf6a5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/empty.out_utf8 @@ -0,0 +1,14 @@ +RS-EMPTY(1) General Commands Manual RS-EMPTY(1) + +NNAAMMEE + RRss--eemmppttyy – empty reference blocks + +DDEESSCCRRIIPPTTIIOONN + initial text final text + +SSEEEE AALLSSOO + initial text + + final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Rs/three_authors.in b/contrib/mandoc/regress/mdoc/Rs/three_authors.in new file mode 100644 index 00000000000..bc3a8cf2c84 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/three_authors.in @@ -0,0 +1,14 @@ +.\" $OpenBSD: three_authors.in,v 1.3 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt RS-THREE_AUTHORS 1 +.Os +.Sh NAME +.Nm Rs-three_authors +.Nd listing three authors in a reference block +.Sh AUTHORS +.Rs +.%A kristaps +.%A joerg +.%A ingo +.%T mandoc +.Re diff --git a/contrib/mandoc/regress/mdoc/Rs/three_authors.out_ascii b/contrib/mandoc/regress/mdoc/Rs/three_authors.out_ascii new file mode 100644 index 00000000000..04c0b2dde38 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/three_authors.out_ascii @@ -0,0 +1,9 @@ +RS-THREE_AUTHORS(1) General Commands Manual RS-THREE_AUTHORS(1) + +NNAAMMEE + RRss--tthhrreeee__aauutthhoorrss - listing three authors in a reference block + +AAUUTTHHOORRSS + kristaps, joerg, and ingo, _m_a_n_d_o_c. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Rs/three_authors.out_markdown b/contrib/mandoc/regress/mdoc/Rs/three_authors.out_markdown new file mode 100644 index 00000000000..ae5b494daea --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/three_authors.out_markdown @@ -0,0 +1,14 @@ +RS-THREE\_AUTHORS(1) - General Commands Manual + +# NAME + +**Rs-three\_authors** - listing three authors in a reference block + +# AUTHORS + +kristaps, +joerg, and +ingo, +*mandoc*. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Rs/three_authors.out_utf8 b/contrib/mandoc/regress/mdoc/Rs/three_authors.out_utf8 new file mode 100644 index 00000000000..a174a8fb452 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rs/three_authors.out_utf8 @@ -0,0 +1,9 @@ +RS-THREE_AUTHORS(1) General Commands Manual RS-THREE_AUTHORS(1) + +NNAAMMEE + RRss--tthhrreeee__aauutthhoorrss – listing three authors in a reference block + +AAUUTTHHOORRSS + kristaps, joerg, and ingo, _m_a_n_d_o_c. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Rv/Makefile b/contrib/mandoc/regress/mdoc/Rv/Makefile new file mode 100644 index 00000000000..ad804eecaa3 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rv/Makefile @@ -0,0 +1,15 @@ +# $OpenBSD: Makefile,v 1.1 2014/08/14 02:00:53 schwarze Exp $ + +REGRESS_TARGETS = args noname nostd +LINT_TARGETS = noname nostd + +# groff-1.22.2 defect: +# - .Rv without -std produces no output + +SKIP_GROFF = nostd + +# ugly name section output, do not test this for now + +SKIP_MARKDOWN ?= noname + +.include diff --git a/contrib/mandoc/regress/mdoc/Rv/args.in b/contrib/mandoc/regress/mdoc/Rv/args.in new file mode 100644 index 00000000000..b793bf9987e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rv/args.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: args.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt RV-ARGS 3 +.Os +.Sh NAME +.Nm Rv-args +.Nd arguments to the return value macro +.Sh RETURN VALUES +no arguments: +.Rv -std +.Pp +one argument: +.Rv -std one +.Pp +two arguments: +.Rv -std one two diff --git a/contrib/mandoc/regress/mdoc/Rv/args.out_ascii b/contrib/mandoc/regress/mdoc/Rv/args.out_ascii new file mode 100644 index 00000000000..106f63ad81f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rv/args.out_ascii @@ -0,0 +1,22 @@ +RV-ARGS(3) Library Functions Manual RV-ARGS(3) + +NNAAMMEE + RRvv--aarrggss - arguments to the return value macro + +RREETTUURRNN VVAALLUUEESS + no arguments: + Upon successful completion, the value 0 is returned; otherwise the + value -1 is returned and the global variable _e_r_r_n_o is set to indicate the + error. + + one argument: + The oonnee() function returns the value 0 if successful; otherwise the + value -1 is returned and the global variable _e_r_r_n_o is set to indicate the + error. + + two arguments: + The oonnee() and ttwwoo() functions return the value 0 if successful; otherwise + the value -1 is returned and the global variable _e_r_r_n_o is set to indicate + the error. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Rv/args.out_markdown b/contrib/mandoc/regress/mdoc/Rv/args.out_markdown new file mode 100644 index 00000000000..b90701810e5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rv/args.out_markdown @@ -0,0 +1,18 @@ +RV-ARGS(3) - Library Functions Manual + +# NAME + +**Rv-args** - arguments to the return value macro + +# RETURN VALUES + +no arguments: +Upon successful completion, the value 0 is returned; otherwise the value -1 is returned and the global variable *errno* is set to indicate the error. + +one argument: +The **one**() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable *errno* is set to indicate the error. + +two arguments: +The **one**() and **two**() functions return the value 0 if successful; otherwise the value -1 is returned and the global variable *errno* is set to indicate the error. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Rv/noname.in b/contrib/mandoc/regress/mdoc/Rv/noname.in new file mode 100644 index 00000000000..cae2281622e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rv/noname.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: noname.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt RV-NONAME 3 +.Os +.Sh NAME +.Nm +.Nd return value macro without an available name +.Sh RETURN VALUES +no arguments: +.Rv -std +.Pp +one argument: +.Rv -std one +.Pp +two arguments: +.Rv -std one two diff --git a/contrib/mandoc/regress/mdoc/Rv/noname.out_ascii b/contrib/mandoc/regress/mdoc/Rv/noname.out_ascii new file mode 100644 index 00000000000..c6454d5abd5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rv/noname.out_ascii @@ -0,0 +1,22 @@ +RV-NONAME(3) Library Functions Manual RV-NONAME(3) + +NNAAMMEE + - return value macro without an available name + +RREETTUURRNN VVAALLUUEESS + no arguments: + Upon successful completion, the value 0 is returned; otherwise the + value -1 is returned and the global variable _e_r_r_n_o is set to indicate the + error. + + one argument: + The oonnee() function returns the value 0 if successful; otherwise the + value -1 is returned and the global variable _e_r_r_n_o is set to indicate the + error. + + two arguments: + The oonnee() and ttwwoo() functions return the value 0 if successful; otherwise + the value -1 is returned and the global variable _e_r_r_n_o is set to indicate + the error. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Rv/noname.out_lint b/contrib/mandoc/regress/mdoc/Rv/noname.out_lint new file mode 100644 index 00000000000..71652b6f331 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rv/noname.out_lint @@ -0,0 +1 @@ +mandoc: noname.in:6:2: ERROR: missing manual name, using "": Nm diff --git a/contrib/mandoc/regress/mdoc/Rv/nostd.in b/contrib/mandoc/regress/mdoc/Rv/nostd.in new file mode 100644 index 00000000000..fdbe66165de --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rv/nostd.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: nostd.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt RV-NOSTD 3 +.Os +.Sh NAME +.Nm Rv-nostd +.Nd return value macros without -std arguments +.Sh RETURN VALUES +no arguments: +.Rv +.Pp +one argument: +.Rv one +.Pp +two arguments: +.Rv one two diff --git a/contrib/mandoc/regress/mdoc/Rv/nostd.out_ascii b/contrib/mandoc/regress/mdoc/Rv/nostd.out_ascii new file mode 100644 index 00000000000..1279afe897a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rv/nostd.out_ascii @@ -0,0 +1,22 @@ +RV-NOSTD(3) Library Functions Manual RV-NOSTD(3) + +NNAAMMEE + RRvv--nnoossttdd - return value macros without -std arguments + +RREETTUURRNN VVAALLUUEESS + no arguments: + Upon successful completion, the value 0 is returned; otherwise the + value -1 is returned and the global variable _e_r_r_n_o is set to indicate the + error. + + one argument: + The oonnee() function returns the value 0 if successful; otherwise the + value -1 is returned and the global variable _e_r_r_n_o is set to indicate the + error. + + two arguments: + The oonnee() and ttwwoo() functions return the value 0 if successful; otherwise + the value -1 is returned and the global variable _e_r_r_n_o is set to indicate + the error. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Rv/nostd.out_lint b/contrib/mandoc/regress/mdoc/Rv/nostd.out_lint new file mode 100644 index 00000000000..881d3c9a754 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rv/nostd.out_lint @@ -0,0 +1,3 @@ +mandoc: nostd.in:10:2: WARNING: missing -std argument, adding it: Rv +mandoc: nostd.in:13:2: WARNING: missing -std argument, adding it: Rv +mandoc: nostd.in:16:2: WARNING: missing -std argument, adding it: Rv diff --git a/contrib/mandoc/regress/mdoc/Rv/nostd.out_markdown b/contrib/mandoc/regress/mdoc/Rv/nostd.out_markdown new file mode 100644 index 00000000000..d2000267545 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Rv/nostd.out_markdown @@ -0,0 +1,18 @@ +RV-NOSTD(3) - Library Functions Manual + +# NAME + +**Rv-nostd** - return value macros without -std arguments + +# RETURN VALUES + +no arguments: +Upon successful completion, the value 0 is returned; otherwise the value -1 is returned and the global variable *errno* is set to indicate the error. + +one argument: +The **one**() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable *errno* is set to indicate the error. + +two arguments: +The **one**() and **two**() functions return the value 0 if successful; otherwise the value -1 is returned and the global variable *errno* is set to indicate the error. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sh/Makefile b/contrib/mandoc/regress/mdoc/Sh/Makefile new file mode 100644 index 00000000000..9610ec4c66d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/Makefile @@ -0,0 +1,16 @@ +# $OpenBSD: Makefile,v 1.7 2017/01/08 00:10:22 schwarze Exp $ + +REGRESS_TARGETS = badNAME before empty emptyNAME first nohead order +REGRESS_TARGETS += orderNAME parbefore parborder punctNAME subbefore +LINT_TARGETS = badNAME before empty emptyNAME first nohead order +LINT_TARGETS += orderNAME parbefore parborder punctNAME subbefore + +# groff-1.22.3 defects: +# - .Pp before .Sh NAME causes a blank line before the header line +# - .Ss before .Sh NAME puts the subsection header before the header line +# - missing .Sh NAME causes loss of the header and footer lines +# - .Sh DESCRIPTION Xo aborts the parser + +SKIP_GROFF = parbefore subbefore first empty + +.include diff --git a/contrib/mandoc/regress/mdoc/Sh/badNAME.in b/contrib/mandoc/regress/mdoc/Sh/badNAME.in new file mode 100644 index 00000000000..386fc2dddc8 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/badNAME.in @@ -0,0 +1,9 @@ +.\" $OpenBSD: badNAME.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SH-BADNAME 1 +.Os +.Sh NAME +.Em bad NAME section +.Nm Sh-badNAME +.Sh DESCRIPTION +The description appears before the name and is not marked up with Nd. diff --git a/contrib/mandoc/regress/mdoc/Sh/badNAME.out_ascii b/contrib/mandoc/regress/mdoc/Sh/badNAME.out_ascii new file mode 100644 index 00000000000..8735f79730a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/badNAME.out_ascii @@ -0,0 +1,9 @@ +SH-BADNAME(1) General Commands Manual SH-BADNAME(1) + +NNAAMMEE + _b_a_d _N_A_M_E _s_e_c_t_i_o_n SShh--bbaaddNNAAMMEE + +DDEESSCCRRIIPPTTIIOONN + The description appears before the name and is not marked up with Nd. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sh/badNAME.out_lint b/contrib/mandoc/regress/mdoc/Sh/badNAME.out_lint new file mode 100644 index 00000000000..38746e7414e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/badNAME.out_lint @@ -0,0 +1,2 @@ +mandoc: badNAME.in:6:2: WARNING: bad NAME section content: Em +mandoc: badNAME.in:5:2: WARNING: NAME section without description diff --git a/contrib/mandoc/regress/mdoc/Sh/badNAME.out_markdown b/contrib/mandoc/regress/mdoc/Sh/badNAME.out_markdown new file mode 100644 index 00000000000..4593abb9388 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/badNAME.out_markdown @@ -0,0 +1,12 @@ +SH-BADNAME(1) - General Commands Manual + +# NAME + +*bad NAME section* +**Sh-badNAME** + +# DESCRIPTION + +The description appears before the name and is not marked up with Nd. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sh/before.in b/contrib/mandoc/regress/mdoc/Sh/before.in new file mode 100644 index 00000000000..82f8bdb499b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/before.in @@ -0,0 +1,12 @@ +.\" $OpenBSD: before.in,v 1.5 2017/07/28 12:37:51 schwarze Exp $ +.Dd $Mdocdate: July 28 2017 $ +.Dt SH-BEFORE 1 +.Os +Plain text and +.Em a macro +before the first section header. +.Sh NAME +.Nm Sh-before +.Nd content before the first section header +.Sh DESCRIPTION +some text diff --git a/contrib/mandoc/regress/mdoc/Sh/before.out_ascii b/contrib/mandoc/regress/mdoc/Sh/before.out_ascii new file mode 100644 index 00000000000..5447dfeaa76 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/before.out_ascii @@ -0,0 +1,11 @@ +SH-BEFORE(1) General Commands Manual SH-BEFORE(1) + +Plain text and _a _m_a_c_r_o before the first section header. + +NNAAMMEE + SShh--bbeeffoorree - content before the first section header + +DDEESSCCRRIIPPTTIIOONN + some text + +OpenBSD July 28, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sh/before.out_lint b/contrib/mandoc/regress/mdoc/Sh/before.out_lint new file mode 100644 index 00000000000..5d5e0f767f4 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/before.out_lint @@ -0,0 +1 @@ +mandoc: before.in:5:1: WARNING: content before first section header: text diff --git a/contrib/mandoc/regress/mdoc/Sh/before.out_markdown b/contrib/mandoc/regress/mdoc/Sh/before.out_markdown new file mode 100644 index 00000000000..069798b0260 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/before.out_markdown @@ -0,0 +1,15 @@ +SH-BEFORE(1) - General Commands Manual + +Plain text and +*a macro* +before the first section header. + +# NAME + +**Sh-before** - content before the first section header + +# DESCRIPTION + +some text + +OpenBSD - July 28, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sh/empty.in b/contrib/mandoc/regress/mdoc/Sh/empty.in new file mode 100644 index 00000000000..2fb9d652b3c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/empty.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: empty.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SH-EMPTY 1 +.Os +.Sh NAME +.Nm Sh-empty +.Nd empty sections +.Sh SYNOPSIS +.Sh DESCRIPTION Xo +.Sh BUGS +Quite some. diff --git a/contrib/mandoc/regress/mdoc/Sh/empty.out_ascii b/contrib/mandoc/regress/mdoc/Sh/empty.out_ascii new file mode 100644 index 00000000000..bea45206536 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/empty.out_ascii @@ -0,0 +1,11 @@ +SH-EMPTY(1) General Commands Manual SH-EMPTY(1) + +NNAAMMEE + SShh--eemmppttyy - empty sections + +SSYYNNOOPPSSIISS +DDEESSCCRRIIPPTTIIOONN +BBUUGGSS + Quite some. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sh/empty.out_lint b/contrib/mandoc/regress/mdoc/Sh/empty.out_lint new file mode 100644 index 00000000000..3410a7190c7 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/empty.out_lint @@ -0,0 +1 @@ +mandoc: empty.in:10:2: ERROR: inserting missing end of block: Sh breaks Xo diff --git a/contrib/mandoc/regress/mdoc/Sh/empty.out_markdown b/contrib/mandoc/regress/mdoc/Sh/empty.out_markdown new file mode 100644 index 00000000000..212f51e2361 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/empty.out_markdown @@ -0,0 +1,15 @@ +SH-EMPTY(1) - General Commands Manual + +# NAME + +**Sh-empty** - empty sections + +# SYNOPSIS + +# DESCRIPTION + +# BUGS + +Quite some. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sh/emptyNAME.in b/contrib/mandoc/regress/mdoc/Sh/emptyNAME.in new file mode 100644 index 00000000000..80f25c42131 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/emptyNAME.in @@ -0,0 +1,7 @@ +.\" $OpenBSD: emptyNAME.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SH-EMPTYNAME 1 +.Os +.Sh NAME +.Sh DESCRIPTION +The NAME section is empty. diff --git a/contrib/mandoc/regress/mdoc/Sh/emptyNAME.out_ascii b/contrib/mandoc/regress/mdoc/Sh/emptyNAME.out_ascii new file mode 100644 index 00000000000..03137fc71bb --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/emptyNAME.out_ascii @@ -0,0 +1,7 @@ +SH-EMPTYNAME(1) General Commands Manual SH-EMPTYNAME(1) + +NNAAMMEE +DDEESSCCRRIIPPTTIIOONN + The NAME section is empty. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sh/emptyNAME.out_lint b/contrib/mandoc/regress/mdoc/Sh/emptyNAME.out_lint new file mode 100644 index 00000000000..d676efcec89 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/emptyNAME.out_lint @@ -0,0 +1,2 @@ +mandoc: emptyNAME.in:5:2: WARNING: NAME section without Nm before Nd +mandoc: emptyNAME.in:5:2: WARNING: NAME section without description diff --git a/contrib/mandoc/regress/mdoc/Sh/emptyNAME.out_markdown b/contrib/mandoc/regress/mdoc/Sh/emptyNAME.out_markdown new file mode 100644 index 00000000000..4ca22dafe23 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/emptyNAME.out_markdown @@ -0,0 +1,9 @@ +SH-EMPTYNAME(1) - General Commands Manual + +# NAME + +# DESCRIPTION + +The NAME section is empty. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sh/first.in b/contrib/mandoc/regress/mdoc/Sh/first.in new file mode 100644 index 00000000000..205e93680ba --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/first.in @@ -0,0 +1,6 @@ +.\" $OpenBSD: first.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SH-FIRST 1 +.Os +.Sh DESCRIPTION +The first section is not a NAME section. diff --git a/contrib/mandoc/regress/mdoc/Sh/first.out_ascii b/contrib/mandoc/regress/mdoc/Sh/first.out_ascii new file mode 100644 index 00000000000..06f9bdc5b35 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/first.out_ascii @@ -0,0 +1,6 @@ +SH-FIRST(1) General Commands Manual SH-FIRST(1) + +DDEESSCCRRIIPPTTIIOONN + The first section is not a NAME section. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sh/first.out_lint b/contrib/mandoc/regress/mdoc/Sh/first.out_lint new file mode 100644 index 00000000000..7f440c8e60b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/first.out_lint @@ -0,0 +1 @@ +mandoc: first.in:5:2: WARNING: first section is not "NAME": Sh DESCRIPTION diff --git a/contrib/mandoc/regress/mdoc/Sh/first.out_markdown b/contrib/mandoc/regress/mdoc/Sh/first.out_markdown new file mode 100644 index 00000000000..40a1e5e80ca --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/first.out_markdown @@ -0,0 +1,7 @@ +SH-FIRST(1) - General Commands Manual + +# DESCRIPTION + +The first section is not a NAME section. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sh/nohead.in b/contrib/mandoc/regress/mdoc/Sh/nohead.in new file mode 100644 index 00000000000..35bd7e3de84 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/nohead.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: nohead.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SH-NOHEAD 1 +.Os +.Sh NAME +.Nm Sh-nohead +.Nd sections without header lines +.Sh DESCRIPTION +empty section header: +.Sh +empty subsection header: +.Ss +text diff --git a/contrib/mandoc/regress/mdoc/Sh/nohead.out_ascii b/contrib/mandoc/regress/mdoc/Sh/nohead.out_ascii new file mode 100644 index 00000000000..f711cf4f08d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/nohead.out_ascii @@ -0,0 +1,9 @@ +SH-NOHEAD(1) General Commands Manual SH-NOHEAD(1) + +NNAAMMEE + SShh--nnoohheeaadd - sections without header lines + +DDEESSCCRRIIPPTTIIOONN + empty section header: empty subsection header: text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sh/nohead.out_lint b/contrib/mandoc/regress/mdoc/Sh/nohead.out_lint new file mode 100644 index 00000000000..1fe6638fcc2 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/nohead.out_lint @@ -0,0 +1,2 @@ +mandoc: nohead.in:10:2: WARNING: skipping empty macro: Sh +mandoc: nohead.in:12:2: WARNING: skipping empty macro: Ss diff --git a/contrib/mandoc/regress/mdoc/Sh/nohead.out_markdown b/contrib/mandoc/regress/mdoc/Sh/nohead.out_markdown new file mode 100644 index 00000000000..a36c4a2d8ed --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/nohead.out_markdown @@ -0,0 +1,13 @@ +SH-NOHEAD(1) - General Commands Manual + +# NAME + +**Sh-nohead** - sections without header lines + +# DESCRIPTION + +empty section header: +empty subsection header: +text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sh/order.in b/contrib/mandoc/regress/mdoc/Sh/order.in new file mode 100644 index 00000000000..4008285ba07 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/order.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: order.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SH-ORDER 1 +.Os +.Sh NAME +.Nm Sh-order +.Nd sections out of conventional order +.Sh DESCRIPTION +some text +.Sh SYNOPSIS +.Sh SYNOPSIS +.Sh ERRORS +.Vt int errno diff --git a/contrib/mandoc/regress/mdoc/Sh/order.out_ascii b/contrib/mandoc/regress/mdoc/Sh/order.out_ascii new file mode 100644 index 00000000000..4d0b79703a3 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/order.out_ascii @@ -0,0 +1,14 @@ +SH-ORDER(1) General Commands Manual SH-ORDER(1) + +NNAAMMEE + SShh--oorrddeerr - sections out of conventional order + +DDEESSCCRRIIPPTTIIOONN + some text + +SSYYNNOOPPSSIISS +SSYYNNOOPPSSIISS +EERRRROORRSS + _i_n_t _e_r_r_n_o + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sh/order.out_lint b/contrib/mandoc/regress/mdoc/Sh/order.out_lint new file mode 100644 index 00000000000..5de894ccf9f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/order.out_lint @@ -0,0 +1,3 @@ +mandoc: order.in:10:2: WARNING: sections out of conventional order: Sh SYNOPSIS +mandoc: order.in:11:2: WARNING: duplicate section title: Sh SYNOPSIS +mandoc: order.in:12:2: WARNING: unexpected section: Sh ERRORS for 2, 3, 4, 9 only diff --git a/contrib/mandoc/regress/mdoc/Sh/order.out_markdown b/contrib/mandoc/regress/mdoc/Sh/order.out_markdown new file mode 100644 index 00000000000..8ffc8dbc03d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/order.out_markdown @@ -0,0 +1,19 @@ +SH-ORDER(1) - General Commands Manual + +# NAME + +**Sh-order** - sections out of conventional order + +# DESCRIPTION + +some text + +# SYNOPSIS + +# SYNOPSIS + +# ERRORS + +*int errno* + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sh/orderNAME.in b/contrib/mandoc/regress/mdoc/Sh/orderNAME.in new file mode 100644 index 00000000000..19a07aa2567 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/orderNAME.in @@ -0,0 +1,10 @@ +.\" $OpenBSD: orderNAME.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SH-ORDERNAME 1 +.Os +.Sh NAME +.Nd name after description in NAME section +.Ss subsection +.Nm Sh-orderNAME +.Sh DESCRIPTION +The order of Nm and Nd is wrong in the NAME section. diff --git a/contrib/mandoc/regress/mdoc/Sh/orderNAME.out_ascii b/contrib/mandoc/regress/mdoc/Sh/orderNAME.out_ascii new file mode 100644 index 00000000000..a18e911a373 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/orderNAME.out_ascii @@ -0,0 +1,12 @@ +SH-ORDERNAME(1) General Commands Manual SH-ORDERNAME(1) + +NNAAMMEE + - name after description in NAME section + + ssuubbsseeccttiioonn + SShh--oorrddeerrNNAAMMEE + +DDEESSCCRRIIPPTTIIOONN + The order of Nm and Nd is wrong in the NAME section. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sh/orderNAME.out_lint b/contrib/mandoc/regress/mdoc/Sh/orderNAME.out_lint new file mode 100644 index 00000000000..da091f8ece8 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/orderNAME.out_lint @@ -0,0 +1,2 @@ +mandoc: orderNAME.in:6:2: WARNING: description not at the end of NAME +mandoc: orderNAME.in:5:2: WARNING: NAME section without Nm before Nd diff --git a/contrib/mandoc/regress/mdoc/Sh/orderNAME.out_markdown b/contrib/mandoc/regress/mdoc/Sh/orderNAME.out_markdown new file mode 100644 index 00000000000..a9ef6a1a0a9 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/orderNAME.out_markdown @@ -0,0 +1,15 @@ +SH-ORDERNAME(1) - General Commands Manual + +# NAME + +\- name after description in NAME section + +## subsection + +**Sh-orderNAME** + +# DESCRIPTION + +The order of Nm and Nd is wrong in the NAME section. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sh/parbefore.in b/contrib/mandoc/regress/mdoc/Sh/parbefore.in new file mode 100644 index 00000000000..c1d8a7dd837 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/parbefore.in @@ -0,0 +1,10 @@ +.\" $OpenBSD: parbefore.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SH-PARBEFORE 1 +.Os +.Pp +.Sh NAME +.Nm Sh-parbefore +.Nd paragraph macro before the first section header +.Sh DESCRIPTION +some text diff --git a/contrib/mandoc/regress/mdoc/Sh/parbefore.out_ascii b/contrib/mandoc/regress/mdoc/Sh/parbefore.out_ascii new file mode 100644 index 00000000000..8e8db782651 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/parbefore.out_ascii @@ -0,0 +1,9 @@ +SH-PARBEFORE(1) General Commands Manual SH-PARBEFORE(1) + +NNAAMMEE + SShh--ppaarrbbeeffoorree - paragraph macro before the first section header + +DDEESSCCRRIIPPTTIIOONN + some text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sh/parbefore.out_lint b/contrib/mandoc/regress/mdoc/Sh/parbefore.out_lint new file mode 100644 index 00000000000..058e8ce795e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/parbefore.out_lint @@ -0,0 +1 @@ +mandoc: parbefore.in:5:2: WARNING: skipping paragraph macro: Pp before Sh diff --git a/contrib/mandoc/regress/mdoc/Sh/parbefore.out_markdown b/contrib/mandoc/regress/mdoc/Sh/parbefore.out_markdown new file mode 100644 index 00000000000..948be939378 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/parbefore.out_markdown @@ -0,0 +1,11 @@ +SH-PARBEFORE(1) - General Commands Manual + +# NAME + +**Sh-parbefore** - paragraph macro before the first section header + +# DESCRIPTION + +some text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sh/parborder.in b/contrib/mandoc/regress/mdoc/Sh/parborder.in new file mode 100644 index 00000000000..5ca7c3f2d60 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/parborder.in @@ -0,0 +1,22 @@ +.\" $OpenBSD: parborder.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SH-PARBORDER 1 +.Os +.Sh NAME +.Nm Sh-parborder +.Nd paragraph macros at the beginning and end of sections +.Sh DESCRIPTION +.Pp +descriptive text +.Pp +.Sh EXAMPLES +.Pp +example text +.Pp +.Ss Subsection +.Pp +subsection text +.Pp +.Ss Another subsection +more subsection text +.Pp diff --git a/contrib/mandoc/regress/mdoc/Sh/parborder.out_ascii b/contrib/mandoc/regress/mdoc/Sh/parborder.out_ascii new file mode 100644 index 00000000000..170d0f30d37 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/parborder.out_ascii @@ -0,0 +1,18 @@ +SH-PARBORDER(1) General Commands Manual SH-PARBORDER(1) + +NNAAMMEE + SShh--ppaarrbboorrddeerr - paragraph macros at the beginning and end of sections + +DDEESSCCRRIIPPTTIIOONN + descriptive text + +EEXXAAMMPPLLEESS + example text + + SSuubbsseeccttiioonn + subsection text + + AAnnootthheerr ssuubbsseeccttiioonn + more subsection text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sh/parborder.out_lint b/contrib/mandoc/regress/mdoc/Sh/parborder.out_lint new file mode 100644 index 00000000000..0da9e5dfad2 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/parborder.out_lint @@ -0,0 +1,7 @@ +mandoc: parborder.in:9:2: WARNING: skipping paragraph macro: Pp after Sh +mandoc: parborder.in:11:2: WARNING: skipping paragraph macro: Pp at the end of Sh +mandoc: parborder.in:13:2: WARNING: skipping paragraph macro: Pp after Sh +mandoc: parborder.in:17:2: WARNING: skipping paragraph macro: Pp after Ss +mandoc: parborder.in:19:2: WARNING: skipping paragraph macro: Pp at the end of Ss +mandoc: parborder.in:15:2: WARNING: skipping paragraph macro: Pp before Ss +mandoc: parborder.in:22:2: WARNING: skipping paragraph macro: Pp at the end of Ss diff --git a/contrib/mandoc/regress/mdoc/Sh/parborder.out_markdown b/contrib/mandoc/regress/mdoc/Sh/parborder.out_markdown new file mode 100644 index 00000000000..eb7dc69262e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/parborder.out_markdown @@ -0,0 +1,23 @@ +SH-PARBORDER(1) - General Commands Manual + +# NAME + +**Sh-parborder** - paragraph macros at the beginning and end of sections + +# DESCRIPTION + +descriptive text + +# EXAMPLES + +example text + +## Subsection + +subsection text + +## Another subsection + +more subsection text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sh/punctNAME.in b/contrib/mandoc/regress/mdoc/Sh/punctNAME.in new file mode 100644 index 00000000000..f87118f85fe --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/punctNAME.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: punctNAME.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SH-PUNCTNAME 1 +.Os +.Sh NAME +.Nm Sh-punctNAME +.Nm second_name ; +.Nm third_name , +.Nd wrong punctuation in the NAME section +.Sh DESCRIPTION +One comma is missing, and one is misplaced. diff --git a/contrib/mandoc/regress/mdoc/Sh/punctNAME.out_ascii b/contrib/mandoc/regress/mdoc/Sh/punctNAME.out_ascii new file mode 100644 index 00000000000..fe7b8b874af --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/punctNAME.out_ascii @@ -0,0 +1,10 @@ +SH-PUNCTNAME(1) General Commands Manual SH-PUNCTNAME(1) + +NNAAMMEE + SShh--ppuunnccttNNAAMMEE sseeccoonndd__nnaammee; tthhiirrdd__nnaammee, - wrong punctuation in the NAME + section + +DDEESSCCRRIIPPTTIIOONN + One comma is missing, and one is misplaced. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sh/punctNAME.out_lint b/contrib/mandoc/regress/mdoc/Sh/punctNAME.out_lint new file mode 100644 index 00000000000..52f5b17a1a3 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/punctNAME.out_lint @@ -0,0 +1,4 @@ +mandoc: punctNAME.in:7:2: WARNING: missing comma before name: Nm second_name +mandoc: punctNAME.in:7:17: WARNING: bad NAME section content: text +mandoc: punctNAME.in:8:2: WARNING: missing comma before name: Nm third_name +mandoc: punctNAME.in:8:16: WARNING: bad NAME section content: text diff --git a/contrib/mandoc/regress/mdoc/Sh/punctNAME.out_markdown b/contrib/mandoc/regress/mdoc/Sh/punctNAME.out_markdown new file mode 100644 index 00000000000..0c7b62c3060 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/punctNAME.out_markdown @@ -0,0 +1,13 @@ +SH-PUNCTNAME(1) - General Commands Manual + +# NAME + +**Sh-punctNAME** +**second\_name**; +**third\_name**, - wrong punctuation in the NAME section + +# DESCRIPTION + +One comma is missing, and one is misplaced. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sh/subbefore.in b/contrib/mandoc/regress/mdoc/Sh/subbefore.in new file mode 100644 index 00000000000..84cf6e5420b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/subbefore.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: subbefore.in,v 1.4 2017/07/28 12:37:51 schwarze Exp $ +.Dd $Mdocdate: July 28 2017 $ +.Dt SH-SUBBEFORE 1 +.Os +.Ss Subsection +Plain text and +.Em a macro +before the first section header. +.Sh NAME +.Nm Sh-subbefore +.Nd subsection before the first section header +.Sh DESCRIPTION +some text diff --git a/contrib/mandoc/regress/mdoc/Sh/subbefore.out_ascii b/contrib/mandoc/regress/mdoc/Sh/subbefore.out_ascii new file mode 100644 index 00000000000..0c35be6bc67 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/subbefore.out_ascii @@ -0,0 +1,12 @@ +SH-SUBBEFORE(1) General Commands Manual SH-SUBBEFORE(1) + + SSuubbsseeccttiioonn + Plain text and _a _m_a_c_r_o before the first section header. + +NNAAMMEE + SShh--ssuubbbbeeffoorree - subsection before the first section header + +DDEESSCCRRIIPPTTIIOONN + some text + +OpenBSD July 28, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sh/subbefore.out_lint b/contrib/mandoc/regress/mdoc/Sh/subbefore.out_lint new file mode 100644 index 00000000000..1348f6c5598 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/subbefore.out_lint @@ -0,0 +1 @@ +mandoc: subbefore.in:5:2: WARNING: content before first section header: Ss diff --git a/contrib/mandoc/regress/mdoc/Sh/subbefore.out_markdown b/contrib/mandoc/regress/mdoc/Sh/subbefore.out_markdown new file mode 100644 index 00000000000..b7237866a68 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sh/subbefore.out_markdown @@ -0,0 +1,17 @@ +SH-SUBBEFORE(1) - General Commands Manual + +## Subsection + +Plain text and +*a macro* +before the first section header. + +# NAME + +**Sh-subbefore** - subsection before the first section header + +# DESCRIPTION + +some text + +OpenBSD - July 28, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sm/Makefile b/contrib/mandoc/regress/mdoc/Sm/Makefile new file mode 100644 index 00000000000..197b1d7424f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sm/Makefile @@ -0,0 +1,8 @@ +# $OpenBSD: Makefile,v 1.7 2014/11/26 19:22:44 schwarze Exp $ + +REGRESS_TARGETS = noarg badarg scope spacing-No spacing-Op twoarg +LINT_TARGETS = badarg twoarg + +SKIP_TMAN ?= scope + +.include diff --git a/contrib/mandoc/regress/mdoc/Sm/badarg.in b/contrib/mandoc/regress/mdoc/Sm/badarg.in new file mode 100644 index 00000000000..544035b2313 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sm/badarg.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: badarg.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SM-BADARG 1 +.Os +.Sh NAME +.Nm Sm-badarg +.Nd spacing macro with invalid arguments +.Sh DESCRIPTION +.Fl f Ar on +.Sm off +.Fl f Ar off +.Sm bad +.Fl f Ar bad Pq on +.Sm bad +.Fl f Ar bad Pq off diff --git a/contrib/mandoc/regress/mdoc/Sm/badarg.out_ascii b/contrib/mandoc/regress/mdoc/Sm/badarg.out_ascii new file mode 100644 index 00000000000..1aa8a65345c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sm/badarg.out_ascii @@ -0,0 +1,9 @@ +SM-BADARG(1) General Commands Manual SM-BADARG(1) + +NNAAMMEE + SSmm--bbaaddaarrgg - spacing macro with invalid arguments + +DDEESSCCRRIIPPTTIIOONN + --ff _o_n --ff_o_f_f bad --ff _b_a_d (on) bad--ff_b_a_d(off) + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sm/badarg.out_lint b/contrib/mandoc/regress/mdoc/Sm/badarg.out_lint new file mode 100644 index 00000000000..5a78aadac40 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sm/badarg.out_lint @@ -0,0 +1,2 @@ +mandoc: badarg.in:12:5: WARNING: invalid Boolean argument: Sm bad +mandoc: badarg.in:14:5: WARNING: invalid Boolean argument: Sm bad diff --git a/contrib/mandoc/regress/mdoc/Sm/badarg.out_markdown b/contrib/mandoc/regress/mdoc/Sm/badarg.out_markdown new file mode 100644 index 00000000000..903b7f81740 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sm/badarg.out_markdown @@ -0,0 +1,14 @@ +SM-BADARG(1) - General Commands Manual + +# NAME + +**Sm-badarg** - spacing macro with invalid arguments + +# DESCRIPTION + +**-f** *on* +**-f**‌*off* bad +**-f** *bad* (on) +bad**-f**‌*bad*(off) + +OpenBSD-July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sm/noarg.in b/contrib/mandoc/regress/mdoc/Sm/noarg.in new file mode 100644 index 00000000000..99b23bb1445 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sm/noarg.in @@ -0,0 +1,21 @@ +.\" $OpenBSD: noarg.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SM-NOARG 1 +.Os +.Sh NAME +.Nm Sm-noarg +.Nd spacing macro without arguments +.Sh DESCRIPTION +.Fl f Ar on +.Sm off +.Fl f Ar off +.Sm +.Fl f Ar toggle Pq now on +.Sm on +.Fl f Ar on +.Sm +.Fl f Ar toggle Pq now off +.Pp +.Sm on +.Fl f Ar on +on a new line diff --git a/contrib/mandoc/regress/mdoc/Sm/noarg.out_ascii b/contrib/mandoc/regress/mdoc/Sm/noarg.out_ascii new file mode 100644 index 00000000000..b7fa7fa252c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sm/noarg.out_ascii @@ -0,0 +1,11 @@ +SM-NOARG(1) General Commands Manual SM-NOARG(1) + +NNAAMMEE + SSmm--nnooaarrgg - spacing macro without arguments + +DDEESSCCRRIIPPTTIIOONN + --ff _o_n --ff_o_f_f --ff _t_o_g_g_l_e (now on) --ff _o_n --ff_t_o_g_g_l_e(nowoff) + + --ff _o_n on a new line + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sm/noarg.out_markdown b/contrib/mandoc/regress/mdoc/Sm/noarg.out_markdown new file mode 100644 index 00000000000..8078071dc67 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sm/noarg.out_markdown @@ -0,0 +1,18 @@ +SM-NOARG(1) - General Commands Manual + +# NAME + +**Sm-noarg** - spacing macro without arguments + +# DESCRIPTION + +**-f** *on* +**-f**‌*off* +**-f** *toggle* (now on) +**-f** *on* +**-f**‌*toggle*(nowoff) + +**-f** *on* +on a new line + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sm/scope.in b/contrib/mandoc/regress/mdoc/Sm/scope.in new file mode 100644 index 00000000000..26e321dd8ae --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sm/scope.in @@ -0,0 +1,31 @@ +.\" $OpenBSD: scope.in,v 1.4 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SM-SCOPE 1 +.Os +.Sh NAME +.Nm Sm-scope +.Nd scope of the spacing macro +.Sh DESCRIPTION +Using an abbreviated example from the +.Xr ksh 1 +manual. +.Pp +Modifiers can be applied to the +.Pf ${ Ns Ar name Ns } +form of parameter substitution: +.Bl -tag -width Ds +.Sm off +.It ${ Ar name No :- Ar word No } +.Sm on +If +.Ar name +is set and not +.Dv NULL , +it is substituted; otherwise, +.Ar word +is substituted. +.El +.Pp +In the above modifiers, the +.Ql \&: +can be omitted, ... diff --git a/contrib/mandoc/regress/mdoc/Sm/scope.out_ascii b/contrib/mandoc/regress/mdoc/Sm/scope.out_ascii new file mode 100644 index 00000000000..e0d7f71b742 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sm/scope.out_ascii @@ -0,0 +1,17 @@ +SM-SCOPE(1) General Commands Manual SM-SCOPE(1) + +NNAAMMEE + SSmm--ssccooppee - scope of the spacing macro + +DDEESSCCRRIIPPTTIIOONN + Using an abbreviated example from the ksh(1) manual. + + Modifiers can be applied to the ${_n_a_m_e} form of parameter substitution: + + ${_n_a_m_e:-_w_o_r_d} + If _n_a_m_e is set and not NULL, it is substituted; otherwise, _w_o_r_d + is substituted. + + In the above modifiers, the `:' can be omitted, ... + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sm/scope.out_markdown b/contrib/mandoc/regress/mdoc/Sm/scope.out_markdown new file mode 100644 index 00000000000..bfe37263877 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sm/scope.out_markdown @@ -0,0 +1,31 @@ +SM-SCOPE(1) - General Commands Manual + +# NAME + +**Sm-scope** - scope of the spacing macro + +# DESCRIPTION + +Using an abbreviated example from the +ksh(1) +manual. + +Modifiers can be applied to the +${*name*} +form of parameter substitution: + +${*name*:-*word*} + +> If +> *name* +> is set and not +> `NULL`, +> it is substituted; otherwise, +> *word* +> is substituted. + +In the above modifiers, the +'`:`' +can be omitted, ... + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sm/spacing-No.in b/contrib/mandoc/regress/mdoc/Sm/spacing-No.in new file mode 100644 index 00000000000..c1eee527e17 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sm/spacing-No.in @@ -0,0 +1,61 @@ +.\" $OpenBSD: spacing-No.in,v 1.3 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SM-SPACING 1 +.Os +.Sh NAME +.Nm Sm-spacing +.Nd basic tests of spacing mode +.Sh SYNOPSIS +.Nm mandoc +.Sm off +.Fl T Ar mode +.Sm on +.Ar +.Sh DESCRIPTION +text1 +.Sm off +text2 text3 +.Sm on +text4 +.Pp +text1 +.Sm off +text2 text3 +.Sm on +.No macro4 +.Pp +text1 +.Sm off +.No macro2 macro3 +.Sm on +text4 +.Pp +text1 +.Sm off +.No macro2 No macro3 +.Sm on +.No macro4 +.Pp +.No macro1 +.Sm off +text2 text3 +.Sm on +text4 +.Pp +.No macro1 +.Sm off +text2 text3 +.Sm on +.No macro4 +.Pp +.No macro1 +.Sm off +.No macro2 No macro3 +.Sm on +text4 +.Pp +.No macro1 +.Sm off +.No macro2 No macro3 +.Sm on +.No macro4 diff --git a/contrib/mandoc/regress/mdoc/Sm/spacing-No.out_ascii b/contrib/mandoc/regress/mdoc/Sm/spacing-No.out_ascii new file mode 100644 index 00000000000..44fe522eaea --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sm/spacing-No.out_ascii @@ -0,0 +1,26 @@ +SM-SPACING(1) General Commands Manual SM-SPACING(1) + +NNAAMMEE + SSmm--ssppaacciinngg - basic tests of spacing mode + +SSYYNNOOPPSSIISS + mmaannddoocc --TT_m_o_d_e _f_i_l_e _._._. + +DDEESSCCRRIIPPTTIIOONN + text1 text2 text3 text4 + + text1 text2 text3 macro4 + + text1 macro2macro3 text4 + + text1 macro2macro3 macro4 + + macro1 text2 text3 text4 + + macro1 text2 text3 macro4 + + macro1 macro2macro3 text4 + + macro1 macro2macro3 macro4 + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sm/spacing-No.out_markdown b/contrib/mandoc/regress/mdoc/Sm/spacing-No.out_markdown new file mode 100644 index 00000000000..5c18db00bf6 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sm/spacing-No.out_markdown @@ -0,0 +1,47 @@ +SM-SPACING(1) - General Commands Manual + +# NAME + +**Sm-spacing** - basic tests of spacing mode + +# SYNOPSIS + +**mandoc** +**-T**‌*mode* +*file ...* + +# DESCRIPTION + +text1 +text2 text3 +text4 + +text1 +text2 text3 +macro4 + +text1 +macro2macro3 +text4 + +text1 +macro2macro3 +macro4 + +macro1 +text2 text3 +text4 + +macro1 +text2 text3 +macro4 + +macro1 +macro2macro3 +text4 + +macro1 +macro2macro3 +macro4 + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sm/spacing-Op.in b/contrib/mandoc/regress/mdoc/Sm/spacing-Op.in new file mode 100644 index 00000000000..48e3f1c18f9 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sm/spacing-Op.in @@ -0,0 +1,64 @@ +.\" $OpenBSD: spacing-Op.in,v 1.3 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SM-SPACING-OP 1 +.Os +.Sh NAME +.Nm Sm-spacing-Op +.Nd spacing mode, demonstrated using the .Op macro +.Sh SYNOPSIS +.Nm mandoc +.Sm off +.Fl T Ar mode +.Sm on +.Ar +.Sh DESCRIPTION +text1 +.Sm off +text2 text3 +.Sm on +text4 +.Pp +text1 +.Sm off +text2 text3 +.Sm on +.Op macro4 +.Pp +text1 +.Sm off +.Op macro2 macro3 +.Sm on +text4 +.Pp +text1 +.Sm off +.Op macro2 Op macro3 +.Sm on +.Op macro4 +.Pp +.Op macro1 +.Sm off +text2 text3 +.Sm on +text4 +.Pp +.Op macro1 +.Sm off +text2 text3 +.Sm on +.Op macro4 +.Pp +.Op macro1 +.Sm off +.Op macro2 Op macro3 +.Sm on +text4 +.Pp +.Op macro1 +.Sm off +.Op macro2 Op macro3 +.Sm on +.Op macro4 +.Pp +.Sm on +.Op macro1 diff --git a/contrib/mandoc/regress/mdoc/Sm/spacing-Op.out_ascii b/contrib/mandoc/regress/mdoc/Sm/spacing-Op.out_ascii new file mode 100644 index 00000000000..abbf5838ea0 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sm/spacing-Op.out_ascii @@ -0,0 +1,28 @@ +SM-SPACING-OP(1) General Commands Manual SM-SPACING-OP(1) + +NNAAMMEE + SSmm--ssppaacciinngg--OOpp - spacing mode, demonstrated using the .Op macro + +SSYYNNOOPPSSIISS + mmaannddoocc --TT_m_o_d_e _f_i_l_e _._._. + +DDEESSCCRRIIPPTTIIOONN + text1 text2 text3 text4 + + text1 text2 text3 [macro4] + + text1 [macro2macro3] text4 + + text1 [macro2[macro3]] [macro4] + + [macro1] text2 text3 text4 + + [macro1] text2 text3 [macro4] + + [macro1] [macro2[macro3]] text4 + + [macro1] [macro2[macro3]] [macro4] + + [macro1] + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sm/spacing-Op.out_markdown b/contrib/mandoc/regress/mdoc/Sm/spacing-Op.out_markdown new file mode 100644 index 00000000000..bf2d4dfa0d1 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sm/spacing-Op.out_markdown @@ -0,0 +1,49 @@ +SM-SPACING-OP(1) - General Commands Manual + +# NAME + +**Sm-spacing-Op** - spacing mode, demonstrated using the .Op macro + +# SYNOPSIS + +**mandoc** +**-T**‌*mode* +*file ...* + +# DESCRIPTION + +text1 +text2 text3 +text4 + +text1 +text2 text3 +\[macro4] + +text1 +\[macro2macro3] +text4 + +text1 +\[macro2\[macro3]] +\[macro4] + +\[macro1] +text2 text3 +text4 + +\[macro1] +text2 text3 +\[macro4] + +\[macro1] +\[macro2\[macro3]] +text4 + +\[macro1] +\[macro2\[macro3]] +\[macro4] + +\[macro1] + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sm/twoarg.in b/contrib/mandoc/regress/mdoc/Sm/twoarg.in new file mode 100644 index 00000000000..28c2553495a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sm/twoarg.in @@ -0,0 +1,22 @@ +.\" $OpenBSD: twoarg.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SM-TWOARG 1 +.Os +.Sh NAME +.Nm Sm-twoarg +.Nd spacing macro with multiple arguments +.Sh DESCRIPTION +.Sy default : +.Fl f Ar on +.br +.Sy off two : +.Sm off two +.Fl f Ar off +.br +.Sy bad two : +.Sm bad two +.Fl f Ar off +.br +.Sy on two : +.Sm on two +.Fl f Ar on diff --git a/contrib/mandoc/regress/mdoc/Sm/twoarg.out_ascii b/contrib/mandoc/regress/mdoc/Sm/twoarg.out_ascii new file mode 100644 index 00000000000..9981645b14c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sm/twoarg.out_ascii @@ -0,0 +1,12 @@ +SM-TWOARG(1) General Commands Manual SM-TWOARG(1) + +NNAAMMEE + SSmm--ttwwooaarrgg - spacing macro with multiple arguments + +DDEESSCCRRIIPPTTIIOONN + ddeeffaauulltt: --ff _o_n + ooffff ttwwoo: two--ff_o_f_f + bbaaddttwwoo: bad two --ff _o_f_f + oonn ttwwoo: two --ff _o_n + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sm/twoarg.out_lint b/contrib/mandoc/regress/mdoc/Sm/twoarg.out_lint new file mode 100644 index 00000000000..cc3302fc4d0 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sm/twoarg.out_lint @@ -0,0 +1 @@ +mandoc: twoarg.in:17:5: WARNING: invalid Boolean argument: Sm bad diff --git a/contrib/mandoc/regress/mdoc/Sm/twoarg.out_markdown b/contrib/mandoc/regress/mdoc/Sm/twoarg.out_markdown new file mode 100644 index 00000000000..5b64aa6eeab --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sm/twoarg.out_markdown @@ -0,0 +1,19 @@ +SM-TWOARG(1) - General Commands Manual + +# NAME + +**Sm-twoarg** - spacing macro with multiple arguments + +# DESCRIPTION + +**default**: +**-f** *on* +**off two**: +two**-f**‌*off* +**badtwo**: bad two +**-f** *off* +**on two**: +two +**-f** *on* + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sq/Makefile b/contrib/mandoc/regress/mdoc/Sq/Makefile new file mode 100644 index 00000000000..716f480ffcf --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sq/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2011/12/04 03:09:25 schwarze Exp $ + +REGRESS_TARGETS = empty +LINT_TARGETS = empty + +.include diff --git a/contrib/mandoc/regress/mdoc/Sq/empty.in b/contrib/mandoc/regress/mdoc/Sq/empty.in new file mode 100644 index 00000000000..4b39e44cd37 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sq/empty.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: empty.in,v 1.5 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SQ-EMPTY 1 +.Os +.Sh NAME +.Nm Sq-empty +.Nd empty implicit enclosure macros +.Sh DESCRIPTION +An empty +.Sq +and a full +.Sq "(" user@host) +quotation. +And another +.So "(" full) Sc one "Sy" bold . diff --git a/contrib/mandoc/regress/mdoc/Sq/empty.out_ascii b/contrib/mandoc/regress/mdoc/Sq/empty.out_ascii new file mode 100644 index 00000000000..4c67d5ca23a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sq/empty.out_ascii @@ -0,0 +1,10 @@ +SQ-EMPTY(1) General Commands Manual SQ-EMPTY(1) + +NNAAMMEE + SSqq--eemmppttyy - empty implicit enclosure macros + +DDEESSCCRRIIPPTTIIOONN + An empty `' and a full (`user@host)' quotation. And another (`full)' one + bboolldd. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sq/empty.out_lint b/contrib/mandoc/regress/mdoc/Sq/empty.out_lint new file mode 100644 index 00000000000..00d8e228d2b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sq/empty.out_lint @@ -0,0 +1,2 @@ +mandoc: empty.in:12:18: STYLE: no blank before trailing delimiter: Sq user@host) +mandoc: empty.in:15:13: STYLE: no blank before trailing delimiter: So full) diff --git a/contrib/mandoc/regress/mdoc/Sq/empty.out_markdown b/contrib/mandoc/regress/mdoc/Sq/empty.out_markdown new file mode 100644 index 00000000000..5c9845fb9e4 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sq/empty.out_markdown @@ -0,0 +1,17 @@ +SQ-EMPTY(1) - General Commands Manual + +# NAME + +**Sq-empty** - empty implicit enclosure macros + +# DESCRIPTION + +An empty +'' +and a full +('user@host)' +quotation. +And another +('full)' one **bold**. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/St/Makefile b/contrib/mandoc/regress/mdoc/St/Makefile new file mode 100644 index 00000000000..a1bde7e13af --- /dev/null +++ b/contrib/mandoc/regress/mdoc/St/Makefile @@ -0,0 +1,12 @@ +# $OpenBSD: Makefile,v 1.4 2015/02/10 17:47:19 schwarze Exp $ + +REGRESS_TARGETS = badargs call +LINT_TARGETS = badargs call + +# groff-1.22.3 defect: +# - If the first argument of .St is the name of another macro, +# internal groff_mdoc(7) state gets corrupted. + +SKIP_GROFF = call + +.include diff --git a/contrib/mandoc/regress/mdoc/St/badargs.in b/contrib/mandoc/regress/mdoc/St/badargs.in new file mode 100644 index 00000000000..4c0ca56d837 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/St/badargs.in @@ -0,0 +1,21 @@ +.\" $OpenBSD: badargs.in,v 1.3 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ST-INVALID 1 +.Os +.Sh NAME +.Nm St-invalid +.Nd handling of invalid standard argument +.Sh STANDARDS +valid argument: +.St -p1003.1-2004 +.Pp +invalid argument: +.St -murks +.Pp +no arguments: +.St +.Pp +two arguments: +.St -p1003.1-2004 murks +.Pp +end of file diff --git a/contrib/mandoc/regress/mdoc/St/badargs.out_ascii b/contrib/mandoc/regress/mdoc/St/badargs.out_ascii new file mode 100644 index 00000000000..d018a823d5f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/St/badargs.out_ascii @@ -0,0 +1,17 @@ +ST-INVALID(1) General Commands Manual ST-INVALID(1) + +NNAAMMEE + SStt--iinnvvaalliidd - handling of invalid standard argument + +SSTTAANNDDAARRDDSS + valid argument: IEEE Std 1003.1-2004 ("POSIX.1") + + invalid argument: + + no arguments: + + two arguments: IEEE Std 1003.1-2004 ("POSIX.1") murks + + end of file + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/St/badargs.out_lint b/contrib/mandoc/regress/mdoc/St/badargs.out_lint new file mode 100644 index 00000000000..2691276b31b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/St/badargs.out_lint @@ -0,0 +1,2 @@ +mandoc: badargs.in:16:2: WARNING: skipping empty macro: St +mandoc: badargs.in:13:5: ERROR: unknown standard specifier: St -murks diff --git a/contrib/mandoc/regress/mdoc/St/badargs.out_markdown b/contrib/mandoc/regress/mdoc/St/badargs.out_markdown new file mode 100644 index 00000000000..7ecf651e851 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/St/badargs.out_markdown @@ -0,0 +1,21 @@ +ST-INVALID(1) - General Commands Manual + +# NAME + +**St-invalid** - handling of invalid standard argument + +# STANDARDS + +valid argument: +IEEE Std 1003.1-2004 (“POSIX.1”) + +invalid argument: + +no arguments: + +two arguments: +IEEE Std 1003.1-2004 (“POSIX.1”) murks + +end of file + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/St/call.in b/contrib/mandoc/regress/mdoc/St/call.in new file mode 100644 index 00000000000..af156807d8e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/St/call.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: call.in,v 1.3 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ST-CALL 1 +.Os +.Sh NAME +.Nm St-call +.Nd the standard macro calling other macros +.Sh STANDARDS +calling another macro: +.St "Fl" called +.Pp +valid argument: +.St -p1003.1-2004 +.Pp +end of file diff --git a/contrib/mandoc/regress/mdoc/St/call.out_ascii b/contrib/mandoc/regress/mdoc/St/call.out_ascii new file mode 100644 index 00000000000..1e70838dd38 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/St/call.out_ascii @@ -0,0 +1,13 @@ +ST-CALL(1) General Commands Manual ST-CALL(1) + +NNAAMMEE + SStt--ccaallll - the standard macro calling other macros + +SSTTAANNDDAARRDDSS + calling another macro: --ccaalllleedd + + valid argument: IEEE Std 1003.1-2004 ("POSIX.1") + + end of file + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/St/call.out_lint b/contrib/mandoc/regress/mdoc/St/call.out_lint new file mode 100644 index 00000000000..699fc46d668 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/St/call.out_lint @@ -0,0 +1 @@ +mandoc: call.in:10:2: WARNING: skipping empty macro: St diff --git a/contrib/mandoc/regress/mdoc/St/call.out_markdown b/contrib/mandoc/regress/mdoc/St/call.out_markdown new file mode 100644 index 00000000000..e665bb8a814 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/St/call.out_markdown @@ -0,0 +1,17 @@ +ST-CALL(1) - General Commands Manual + +# NAME + +**St-call** - the standard macro calling other macros + +# STANDARDS + +calling another macro: +**-called** + +valid argument: +IEEE Std 1003.1-2004 (“POSIX.1”) + +end of file + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sx/Makefile b/contrib/mandoc/regress/mdoc/Sx/Makefile new file mode 100644 index 00000000000..1be2a84aeb4 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sx/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.4 2014/07/02 20:18:42 schwarze Exp $ + +REGRESS_TARGETS = noarg font +LINT_TARGETS = noarg + +.include diff --git a/contrib/mandoc/regress/mdoc/Sx/font.in b/contrib/mandoc/regress/mdoc/Sx/font.in new file mode 100644 index 00000000000..8659db9c0f2 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sx/font.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: font.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SX-FONT 1 +.Os +.Sh NAME +.Nm Sx-font +.Nd changing fonts inside the cross reference macro +.Sh DESCRIPTION +normal text +.Sx emphasis\\fBbold\\fPback +trailing text diff --git a/contrib/mandoc/regress/mdoc/Sx/font.out_ascii b/contrib/mandoc/regress/mdoc/Sx/font.out_ascii new file mode 100644 index 00000000000..a67a74ec2e5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sx/font.out_ascii @@ -0,0 +1,9 @@ +SX-FONT(1) General Commands Manual SX-FONT(1) + +NNAAMMEE + SSxx--ffoonntt - changing fonts inside the cross reference macro + +DDEESSCCRRIIPPTTIIOONN + normal text _e_m_p_h_a_s_i_sbboolldd_b_a_c_k trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sx/font.out_markdown b/contrib/mandoc/regress/mdoc/Sx/font.out_markdown new file mode 100644 index 00000000000..d14ce93fe87 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sx/font.out_markdown @@ -0,0 +1,13 @@ +SX-FONT(1) - General Commands Manual + +# NAME + +**Sx-font** - changing fonts inside the cross reference macro + +# DESCRIPTION + +normal text +*emphasis**bold**back* +trailing text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sx/noarg.in b/contrib/mandoc/regress/mdoc/Sx/noarg.in new file mode 100644 index 00000000000..ff01ce018e2 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sx/noarg.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: noarg.in,v 1.4 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SX-NOARG 1 +.Os +.Sh NAME +.Nm Sx-noarg +.Nd internal cross reference without a target +.Sh DESCRIPTION +with target: +.Sx DESCRIPTION ";" "Em" italic +no target: +.Sx +end of test document diff --git a/contrib/mandoc/regress/mdoc/Sx/noarg.out_ascii b/contrib/mandoc/regress/mdoc/Sx/noarg.out_ascii new file mode 100644 index 00000000000..855532b5f51 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sx/noarg.out_ascii @@ -0,0 +1,9 @@ +SX-NOARG(1) General Commands Manual SX-NOARG(1) + +NNAAMMEE + SSxx--nnooaarrgg - internal cross reference without a target + +DDEESSCCRRIIPPTTIIOONN + with target: _D_E_S_C_R_I_P_T_I_O_N; _i_t_a_l_i_c no target: end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sx/noarg.out_lint b/contrib/mandoc/regress/mdoc/Sx/noarg.out_lint new file mode 100644 index 00000000000..ca74f65ea42 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sx/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:12:2: WARNING: skipping empty macro: Sx diff --git a/contrib/mandoc/regress/mdoc/Sx/noarg.out_markdown b/contrib/mandoc/regress/mdoc/Sx/noarg.out_markdown new file mode 100644 index 00000000000..a6d867de6d8 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sx/noarg.out_markdown @@ -0,0 +1,14 @@ +SX-NOARG(1) - General Commands Manual + +# NAME + +**Sx-noarg** - internal cross reference without a target + +# DESCRIPTION + +with target: +*DESCRIPTION*; *italic* +no target: +end of test document + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sy/Makefile b/contrib/mandoc/regress/mdoc/Sy/Makefile new file mode 100644 index 00000000000..36c1859b55b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sy/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.5 2014/11/17 06:44:35 schwarze Exp $ + +REGRESS_TARGETS = noarg font punct +LINT_TARGETS = noarg punct + +.include diff --git a/contrib/mandoc/regress/mdoc/Sy/font.in b/contrib/mandoc/regress/mdoc/Sy/font.in new file mode 100644 index 00000000000..24283c51b3b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sy/font.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: font.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SY-FONT 1 +.Os +.Sh NAME +.Nm Sy-font +.Nd changing fonts inside the symbolic font macro +.Sh DESCRIPTION +normal text +.Sy bold\\fIemphasis\\fPback +trailing text diff --git a/contrib/mandoc/regress/mdoc/Sy/font.out_ascii b/contrib/mandoc/regress/mdoc/Sy/font.out_ascii new file mode 100644 index 00000000000..91ae616b31f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sy/font.out_ascii @@ -0,0 +1,9 @@ +SY-FONT(1) General Commands Manual SY-FONT(1) + +NNAAMMEE + SSyy--ffoonntt - changing fonts inside the symbolic font macro + +DDEESSCCRRIIPPTTIIOONN + normal text bboolldd_e_m_p_h_a_s_i_sbbaacckk trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sy/font.out_markdown b/contrib/mandoc/regress/mdoc/Sy/font.out_markdown new file mode 100644 index 00000000000..c969726276d --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sy/font.out_markdown @@ -0,0 +1,13 @@ +SY-FONT(1) - General Commands Manual + +# NAME + +**Sy-font** - changing fonts inside the symbolic font macro + +# DESCRIPTION + +normal text +**bold*emphasis*back** +trailing text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sy/noarg.in b/contrib/mandoc/regress/mdoc/Sy/noarg.in new file mode 100644 index 00000000000..edc63f766d1 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sy/noarg.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: noarg.in,v 1.3 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SY-NOARG 1 +.Os +.Sh NAME +.Nm Sy-noarg +.Nd symbolic macro without arguments +.Sh DESCRIPTION +with argument +.Sy arg +no argument +.Sy +end of test document diff --git a/contrib/mandoc/regress/mdoc/Sy/noarg.out_ascii b/contrib/mandoc/regress/mdoc/Sy/noarg.out_ascii new file mode 100644 index 00000000000..6444139c380 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sy/noarg.out_ascii @@ -0,0 +1,9 @@ +SY-NOARG(1) General Commands Manual SY-NOARG(1) + +NNAAMMEE + SSyy--nnooaarrgg - symbolic macro without arguments + +DDEESSCCRRIIPPTTIIOONN + with argument aarrgg no argument end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sy/noarg.out_lint b/contrib/mandoc/regress/mdoc/Sy/noarg.out_lint new file mode 100644 index 00000000000..50d23189b5c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sy/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:12:2: WARNING: skipping empty macro: Sy diff --git a/contrib/mandoc/regress/mdoc/Sy/noarg.out_markdown b/contrib/mandoc/regress/mdoc/Sy/noarg.out_markdown new file mode 100644 index 00000000000..70d2d0efd98 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sy/noarg.out_markdown @@ -0,0 +1,14 @@ +SY-NOARG(1) - General Commands Manual + +# NAME + +**Sy-noarg** - symbolic macro without arguments + +# DESCRIPTION + +with argument +**arg** +no argument +end of test document + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Sy/punct.in b/contrib/mandoc/regress/mdoc/Sy/punct.in new file mode 100644 index 00000000000..d2d9098965b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sy/punct.in @@ -0,0 +1,87 @@ +.\" $OpenBSD: punct.in,v 1.4 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SY-PUNCT 1 +.Os +.Sh NAME +.Nm Sy-punct +.Nd punctuation following a symbolic macro +.Sh DESCRIPTION +Leading punctuation: +.Sy ( b +.Sy "[" b +.Sy | b +.Sy . b +.Sy , b +.Sy ; b +.Sy : b +.Sy ? b +.Sy ! b +.Sy ) b +.Sy ] b +.Pp +Trailing punctuation: +.Sy a ( +.Sy a [ +.Sy a | +.Sy a . +.Sy a , +.Sy a ; +.Sy a : +.Sy a ? +.Sy a ! +.Sy a ")" +.Sy a ] +.Pp +Middle punctuation: +.Sy a ( b +.Sy a [ b +.Sy a "|" b +.Sy a . b +.Sy a , b +.Sy a ; b +.Sy a : b +.Sy a ? b +.Sy a ! b +.Sy a ) b +.Sy a ] b +.Pp +Isolated punctuation: +.Sy a Sy ( Sy b +.Sy a Sy [ Sy b +.Sy a Sy | Sy b +.Sy a Sy . Sy b +.Sy a Sy , Sy b +.Sy a Sy ; Sy b +.Sy a Sy : Sy b +.Sy a Sy ? Sy b +.Sy a Sy ! Sy b +.Sy a Sy ) Sy b +.Sy a Sy ] Sy b +.Pp +Isolated trailing punctuation: +.Sy a Sy ( +.Sy a Sy [ +.Sy a Sy | +.Sy a Sy . +.Sy a Sy , +.Sy a Sy ; +.Sy a Sy : +.Sy a Sy ? +.Sy a Sy ! +.Sy a Sy ) +.Sy a Sy ] +.Pp +Multiple isolated punctuation: +.Sy a Sy ( [ Sy b +.Sy a Sy ) ] Sy b +.Pp +Multiple punctuation: +.Sy [ ( arg ) ] . +.Pp +Quoted: +.Sy "a . b Nm" "Em" italic +.Sy ". b Nm" +.Sy "." +.Pp +Missing blank: +.Sy a. diff --git a/contrib/mandoc/regress/mdoc/Sy/punct.out_ascii b/contrib/mandoc/regress/mdoc/Sy/punct.out_ascii new file mode 100644 index 00000000000..5170d9ffe8e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sy/punct.out_ascii @@ -0,0 +1,28 @@ +SY-PUNCT(1) General Commands Manual SY-PUNCT(1) + +NNAAMMEE + SSyy--ppuunncctt - punctuation following a symbolic macro + +DDEESSCCRRIIPPTTIIOONN + Leading punctuation: (bb [bb | bb . bb , bb ; bb : bb ? bb ! bb ) bb ] bb + + Trailing punctuation: aa ( aa [ aa | aa. aa, aa; aa: aa? aa! aa) aa] + + Middle punctuation: aa (bb aa [bb aa | bb aa. bb aa, bb aa; bb aa: bb aa? bb aa! bb aa) bb aa] + bb + + Isolated punctuation: aa (bb aa [bb aa | bb aa . bb aa , bb aa ; bb aa : bb aa ? bb aa ! bb + aa ) bb aa ] bb + + Isolated trailing punctuation: aa ( aa [ aa | aa . aa , aa ; aa : aa ? aa ! aa ) + aa ] + + Multiple isolated punctuation: aa ([bb aa )] bb + + Multiple punctuation: [(aarrgg)]. + + Quoted: aa .. bb NNmm _i_t_a_l_i_c .. bb NNmm . + + Missing blank: aa.. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Sy/punct.out_lint b/contrib/mandoc/regress/mdoc/Sy/punct.out_lint new file mode 100644 index 00000000000..76cdccd27be --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sy/punct.out_lint @@ -0,0 +1,26 @@ +mandoc: punct.in:49:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:50:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:51:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:52:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:53:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:54:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:55:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:56:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:57:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:58:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:59:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:62:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:63:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:64:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:65:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:66:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:67:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:68:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:69:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:70:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:71:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:72:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:75:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:76:7: WARNING: skipping empty macro: Sy +mandoc: punct.in:84:2: WARNING: skipping empty macro: Sy +mandoc: punct.in:87:6: STYLE: no blank before trailing delimiter: Sy a. diff --git a/contrib/mandoc/regress/mdoc/Sy/punct.out_markdown b/contrib/mandoc/regress/mdoc/Sy/punct.out_markdown new file mode 100644 index 00000000000..fcacd349ee3 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Sy/punct.out_markdown @@ -0,0 +1,89 @@ +SY-PUNCT(1) - General Commands Manual + +# NAME + +**Sy-punct** - punctuation following a symbolic macro + +# DESCRIPTION + +Leading punctuation: +(**b** +\[**b** +| **b** +. **b** +, **b** +; **b** +: **b** +? **b** +! **b** +) **b** +] **b** + +Trailing punctuation: +**a** ( +**a** \[ +**a** | +**a**. +**a**, +**a**; +**a**: +**a**? +**a**! +**a**) +**a**] + +Middle punctuation: +**a** (**b** +**a** \[**b** +**a** | **b** +**a**. **b** +**a**, **b** +**a**; **b** +**a**: **b** +**a**? **b** +**a**! **b** +**a**) **b** +**a**] **b** + +Isolated punctuation: +**a** (**b** +**a** \[**b** +**a** | **b** +**a** . **b** +**a** , **b** +**a** ; **b** +**a** : **b** +**a** ? **b** +**a** ! **b** +**a** ) **b** +**a** ] **b** + +Isolated trailing punctuation: +**a** ( +**a** \[ +**a** | +**a** . +**a** , +**a** ; +**a** : +**a** ? +**a** ! +**a** ) +**a** ] + +Multiple isolated punctuation: +**a** (\[**b** +**a** )] **b** + +Multiple punctuation: +\[(**arg**)]. + +Quoted: +**a . b Nm** *italic* +**. b Nm** +. + +Missing blank: +**a.** + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Tn/Makefile b/contrib/mandoc/regress/mdoc/Tn/Makefile new file mode 100644 index 00000000000..1be2a84aeb4 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Tn/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.4 2014/07/02 20:18:42 schwarze Exp $ + +REGRESS_TARGETS = noarg font +LINT_TARGETS = noarg + +.include diff --git a/contrib/mandoc/regress/mdoc/Tn/font.in b/contrib/mandoc/regress/mdoc/Tn/font.in new file mode 100644 index 00000000000..c40d873c698 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Tn/font.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: font.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt TN-FONT 1 +.Os +.Sh NAME +.Nm Tn-font +.Nd changing fonts inside the trade name macro +.Sh DESCRIPTION +normal text +.Tn literal\\fIemphasis\\fPback +trailing text diff --git a/contrib/mandoc/regress/mdoc/Tn/font.out_ascii b/contrib/mandoc/regress/mdoc/Tn/font.out_ascii new file mode 100644 index 00000000000..fff73c0a75b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Tn/font.out_ascii @@ -0,0 +1,9 @@ +TN-FONT(1) General Commands Manual TN-FONT(1) + +NNAAMMEE + TTnn--ffoonntt - changing fonts inside the trade name macro + +DDEESSCCRRIIPPTTIIOONN + normal text literal_e_m_p_h_a_s_i_sback trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Tn/font.out_markdown b/contrib/mandoc/regress/mdoc/Tn/font.out_markdown new file mode 100644 index 00000000000..0dc7252b5c6 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Tn/font.out_markdown @@ -0,0 +1,13 @@ +TN-FONT(1) - General Commands Manual + +# NAME + +**Tn-font** - changing fonts inside the trade name macro + +# DESCRIPTION + +normal text +`literalemphasisback` +trailing text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Tn/noarg.in b/contrib/mandoc/regress/mdoc/Tn/noarg.in new file mode 100644 index 00000000000..53231e13964 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Tn/noarg.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: noarg.in,v 1.4 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt TN-NOARG 1 +.Os +.Sh NAME +.Nm Tn-noarg +.Nd trade name macro without argument +.Sh DESCRIPTION +with argument +.Tn IBM "," "Em" italic +no argument +.Tn +end of test document diff --git a/contrib/mandoc/regress/mdoc/Tn/noarg.out_ascii b/contrib/mandoc/regress/mdoc/Tn/noarg.out_ascii new file mode 100644 index 00000000000..322dd51dac5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Tn/noarg.out_ascii @@ -0,0 +1,9 @@ +TN-NOARG(1) General Commands Manual TN-NOARG(1) + +NNAAMMEE + TTnn--nnooaarrgg - trade name macro without argument + +DDEESSCCRRIIPPTTIIOONN + with argument IBM, _i_t_a_l_i_c no argument end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Tn/noarg.out_lint b/contrib/mandoc/regress/mdoc/Tn/noarg.out_lint new file mode 100644 index 00000000000..c2e3d4baf3f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Tn/noarg.out_lint @@ -0,0 +1,2 @@ +mandoc: noarg.in:12:2: WARNING: skipping empty macro: Tn +mandoc: noarg.in:10:2: STYLE: useless macro: Tn diff --git a/contrib/mandoc/regress/mdoc/Tn/noarg.out_markdown b/contrib/mandoc/regress/mdoc/Tn/noarg.out_markdown new file mode 100644 index 00000000000..a99dc5962fc --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Tn/noarg.out_markdown @@ -0,0 +1,14 @@ +TN-NOARG(1) - General Commands Manual + +# NAME + +**Tn-noarg** - trade name macro without argument + +# DESCRIPTION + +with argument +`IBM`, *italic* +no argument +end of test document + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Ud/Makefile b/contrib/mandoc/regress/mdoc/Ud/Makefile new file mode 100644 index 00000000000..9bc871eed37 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ud/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.1 2017/01/11 17:39:45 schwarze Exp $ + +REGRESS_TARGETS = arg +LINT_TARGETS = arg + +.include diff --git a/contrib/mandoc/regress/mdoc/Ud/arg.in b/contrib/mandoc/regress/mdoc/Ud/arg.in new file mode 100644 index 00000000000..c49df928240 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ud/arg.in @@ -0,0 +1,20 @@ +.\" $OpenBSD: arg.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt UD-ARG 1 +.Os +.Sh NAME +.Nm Ud-arg +.Nd obsolete text production macros +.Sh DESCRIPTION +The newest branch is +.Ud +The stable branch +.Bt +It will be released shortly. +.Pp +With arg: +.Ud bar +.Bt foo +.Ud one two +.Bt one two +end diff --git a/contrib/mandoc/regress/mdoc/Ud/arg.out_ascii b/contrib/mandoc/regress/mdoc/Ud/arg.out_ascii new file mode 100644 index 00000000000..3af2ea174aa --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ud/arg.out_ascii @@ -0,0 +1,13 @@ +UD-ARG(1) General Commands Manual UD-ARG(1) + +NNAAMMEE + UUdd--aarrgg - obsolete text production macros + +DDEESSCCRRIIPPTTIIOONN + The newest branch is currently under development. The stable branch is + currently in beta test. It will be released shortly. + + With arg: currently under development. is currently in beta test. + currently under development. is currently in beta test. end + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ud/arg.out_lint b/contrib/mandoc/regress/mdoc/Ud/arg.out_lint new file mode 100644 index 00000000000..73f00a11a6a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ud/arg.out_lint @@ -0,0 +1,10 @@ +mandoc: arg.in:10:2: STYLE: useless macro: Ud +mandoc: arg.in:12:2: STYLE: useless macro: Bt +mandoc: arg.in:16:2: STYLE: useless macro: Ud +mandoc: arg.in:16:2: ERROR: skipping all arguments: Ud bar +mandoc: arg.in:17:2: STYLE: useless macro: Bt +mandoc: arg.in:17:2: ERROR: skipping all arguments: Bt foo +mandoc: arg.in:18:2: STYLE: useless macro: Ud +mandoc: arg.in:18:2: ERROR: skipping all arguments: Ud one +mandoc: arg.in:19:2: STYLE: useless macro: Bt +mandoc: arg.in:19:2: ERROR: skipping all arguments: Bt one diff --git a/contrib/mandoc/regress/mdoc/Ud/arg.out_markdown b/contrib/mandoc/regress/mdoc/Ud/arg.out_markdown new file mode 100644 index 00000000000..21fc093ad40 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ud/arg.out_markdown @@ -0,0 +1,22 @@ +UD-ARG(1) - General Commands Manual + +# NAME + +**Ud-arg** - obsolete text production macros + +# DESCRIPTION + +The newest branch is +currently under development. +The stable branch +is currently in beta test. +It will be released shortly. + +With arg: +currently under development. +is currently in beta test. +currently under development. +is currently in beta test. +end + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Ux/Makefile b/contrib/mandoc/regress/mdoc/Ux/Makefile new file mode 100644 index 00000000000..1461f61860c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ux/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.2 2013/12/22 14:06:29 schwarze Exp $ + +REGRESS_TARGETS = eos punct spacing +LINT_TARGETS = punct + +.include diff --git a/contrib/mandoc/regress/mdoc/Ux/eos.in b/contrib/mandoc/regress/mdoc/Ux/eos.in new file mode 100644 index 00000000000..07a6c4cc0b4 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ux/eos.in @@ -0,0 +1,23 @@ +.\" $OpenBSD: eos.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt UX-EOS 1 +.Os +.Sh NAME +.Nm Ux-eos +.Nd end of sentence spacing after Unix macros +.Sh DESCRIPTION +In the beginning Ken and Dennis wrote +.Ux . +The CSRG rewrote it to become +.Bx . +When it dissolved, people started +.Bsx . +And +.Nx . +And +.Fx . +And +.Ox . +And +.Dx . +By now, it's free for everyone. diff --git a/contrib/mandoc/regress/mdoc/Ux/eos.out_ascii b/contrib/mandoc/regress/mdoc/Ux/eos.out_ascii new file mode 100644 index 00000000000..3a64d0064b5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ux/eos.out_ascii @@ -0,0 +1,11 @@ +UX-EOS(1) General Commands Manual UX-EOS(1) + +NNAAMMEE + UUxx--eeooss - end of sentence spacing after Unix macros + +DDEESSCCRRIIPPTTIIOONN + In the beginning Ken and Dennis wrote UNIX. The CSRG rewrote it to + become BSD. When it dissolved, people started BSD/OS. And NetBSD. And + FreeBSD. And OpenBSD. And DragonFly. By now, it's free for everyone. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ux/eos.out_markdown b/contrib/mandoc/regress/mdoc/Ux/eos.out_markdown new file mode 100644 index 00000000000..c192eb5c93a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ux/eos.out_markdown @@ -0,0 +1,25 @@ +UX-EOS(1) - General Commands Manual + +# NAME + +**Ux-eos** - end of sentence spacing after Unix macros + +# DESCRIPTION + +In the beginning Ken and Dennis wrote +UNIX. +The CSRG rewrote it to become +BSD. +When it dissolved, people started +BSD/OS. +And +NetBSD. +And +FreeBSD. +And +OpenBSD. +And +DragonFly. +By now, it's free for everyone. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Ux/punct.in b/contrib/mandoc/regress/mdoc/Ux/punct.in new file mode 100644 index 00000000000..95d2c5ab8d1 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ux/punct.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: punct.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt UX-PUNCT 1 +.Os +.Sh NAME +.Nm Ux-punct +.Nd trailing delimiters in Unix macro arguments +.Sh DESCRIPTION +In June 2017, the latest release of various Unix-like +operating systems were +.Bsx 5.1, +.Dx 4.8.0, +.Fx 11.0, +.Nx 7.1, +and +.Ox 6.1. diff --git a/contrib/mandoc/regress/mdoc/Ux/punct.out_ascii b/contrib/mandoc/regress/mdoc/Ux/punct.out_ascii new file mode 100644 index 00000000000..0ea0c40558c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ux/punct.out_ascii @@ -0,0 +1,11 @@ +UX-PUNCT(1) General Commands Manual UX-PUNCT(1) + +NNAAMMEE + UUxx--ppuunncctt - trailing delimiters in Unix macro arguments + +DDEESSCCRRIIPPTTIIOONN + In June 2017, the latest release of various Unix-like operating systems + were BSD/OS 5.1, DragonFly 4.8.0, FreeBSD 11.0, NetBSD 7.1, and + OpenBSD 6.1. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ux/punct.out_lint b/contrib/mandoc/regress/mdoc/Ux/punct.out_lint new file mode 100644 index 00000000000..4048fd26b23 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ux/punct.out_lint @@ -0,0 +1,5 @@ +mandoc: punct.in:11:9: STYLE: no blank before trailing delimiter: Bsx 5.1, +mandoc: punct.in:12:10: STYLE: no blank before trailing delimiter: Dx 4.8.0, +mandoc: punct.in:13:9: STYLE: no blank before trailing delimiter: Fx 11.0, +mandoc: punct.in:14:8: STYLE: no blank before trailing delimiter: Nx 7.1, +mandoc: punct.in:16:8: STYLE: no blank before trailing delimiter: Ox 6.1. diff --git a/contrib/mandoc/regress/mdoc/Ux/punct.out_markdown b/contrib/mandoc/regress/mdoc/Ux/punct.out_markdown new file mode 100644 index 00000000000..18cd1519611 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ux/punct.out_markdown @@ -0,0 +1,18 @@ +UX-PUNCT(1) - General Commands Manual + +# NAME + +**Ux-punct** - trailing delimiters in Unix macro arguments + +# DESCRIPTION + +In June 2017, the latest release of various Unix-like +operating systems were +BSD/OS 5.1, +DragonFly 4.8.0, +FreeBSD 11.0, +NetBSD 7.1, +and +OpenBSD 6.1. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Ux/spacing.in b/contrib/mandoc/regress/mdoc/Ux/spacing.in new file mode 100644 index 00000000000..4823ef5e5d4 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ux/spacing.in @@ -0,0 +1,21 @@ +.\" $OpenBSD: spacing.in,v 1.3 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt UX-SPACING 1 +.Os +.Sh NAME +.Nm Ux-spacing +.Nd spacing around the Unix macro +.Sh DESCRIPTION +The +.Ux +family of operating systems, including +.Nx , +.Ox , +.Fx , +.Dx +and +.Bsx . +The system is +.Ud +The system +.Bt diff --git a/contrib/mandoc/regress/mdoc/Ux/spacing.out_ascii b/contrib/mandoc/regress/mdoc/Ux/spacing.out_ascii new file mode 100644 index 00000000000..c03008f6851 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ux/spacing.out_ascii @@ -0,0 +1,11 @@ +UX-SPACING(1) General Commands Manual UX-SPACING(1) + +NNAAMMEE + UUxx--ssppaacciinngg - spacing around the Unix macro + +DDEESSCCRRIIPPTTIIOONN + The UNIX family of operating systems, including NetBSD, OpenBSD, FreeBSD, + DragonFly and BSD/OS. The system is currently under development. The + system is currently in beta test. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Ux/spacing.out_markdown b/contrib/mandoc/regress/mdoc/Ux/spacing.out_markdown new file mode 100644 index 00000000000..4f4236fcc5c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Ux/spacing.out_markdown @@ -0,0 +1,23 @@ +UX-SPACING(1) - General Commands Manual + +# NAME + +**Ux-spacing** - spacing around the Unix macro + +# DESCRIPTION + +The +UNIX +family of operating systems, including +NetBSD, +OpenBSD, +FreeBSD, +DragonFly +and +BSD/OS. +The system is +currently under development. +The system +is currently in beta test. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Va/Makefile b/contrib/mandoc/regress/mdoc/Va/Makefile new file mode 100644 index 00000000000..19a5ebb2050 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Va/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.3 2014/07/02 20:18:42 schwarze Exp $ + +REGRESS_TARGETS = basic font noarg punct +LINT_TARGETS = noarg + +.include diff --git a/contrib/mandoc/regress/mdoc/Va/basic.in b/contrib/mandoc/regress/mdoc/Va/basic.in new file mode 100644 index 00000000000..058a476607a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Va/basic.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: basic.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt VA-BASIC 1 +.Os +.Sh NAME +.Nm Va-basic +.Nd basic usage of the variable name macro +.Sh DESCRIPTION +Both +.Vt char * +.Va malloc_options +and +.Vt int +.Va errno +are typical examples of global variables. diff --git a/contrib/mandoc/regress/mdoc/Va/basic.out_ascii b/contrib/mandoc/regress/mdoc/Va/basic.out_ascii new file mode 100644 index 00000000000..d2d45aca894 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Va/basic.out_ascii @@ -0,0 +1,10 @@ +VA-BASIC(1) General Commands Manual VA-BASIC(1) + +NNAAMMEE + VVaa--bbaassiicc - basic usage of the variable name macro + +DDEESSCCRRIIPPTTIIOONN + Both _c_h_a_r _* _m_a_l_l_o_c___o_p_t_i_o_n_s and _i_n_t _e_r_r_n_o are typical examples of global + variables. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Va/basic.out_markdown b/contrib/mandoc/regress/mdoc/Va/basic.out_markdown new file mode 100644 index 00000000000..a3fe1238750 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Va/basic.out_markdown @@ -0,0 +1,17 @@ +VA-BASIC(1) - General Commands Manual + +# NAME + +**Va-basic** - basic usage of the variable name macro + +# DESCRIPTION + +Both +*char \*‌* +*malloc\_options* +and +*int* +*errno* +are typical examples of global variables. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Va/font.in b/contrib/mandoc/regress/mdoc/Va/font.in new file mode 100644 index 00000000000..8cbea65b7b2 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Va/font.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: font.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt VA-FONT 1 +.Os +.Sh NAME +.Nm Va-font +.Nd changing fonts inside the variable name macro +.Sh DESCRIPTION +normal text +.Va emphasis\\fBbold\\fPback +trailing text diff --git a/contrib/mandoc/regress/mdoc/Va/font.out_ascii b/contrib/mandoc/regress/mdoc/Va/font.out_ascii new file mode 100644 index 00000000000..4a5f3c841a3 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Va/font.out_ascii @@ -0,0 +1,9 @@ +VA-FONT(1) General Commands Manual VA-FONT(1) + +NNAAMMEE + VVaa--ffoonntt - changing fonts inside the variable name macro + +DDEESSCCRRIIPPTTIIOONN + normal text _e_m_p_h_a_s_i_sbboolldd_b_a_c_k trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Va/font.out_markdown b/contrib/mandoc/regress/mdoc/Va/font.out_markdown new file mode 100644 index 00000000000..8ad5284796c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Va/font.out_markdown @@ -0,0 +1,13 @@ +VA-FONT(1) - General Commands Manual + +# NAME + +**Va-font** - changing fonts inside the variable name macro + +# DESCRIPTION + +normal text +*emphasis**bold**back* +trailing text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Va/noarg.in b/contrib/mandoc/regress/mdoc/Va/noarg.in new file mode 100644 index 00000000000..530300284f5 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Va/noarg.in @@ -0,0 +1,14 @@ +.\" $OpenBSD: noarg.in,v 1.3 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt VA-NOARG 1 +.Os +.Sh NAME +.Nm Va-noarg +.Nd variable name macro without arguments +.Sh DESCRIPTION +with arguments +.Vt int +.Va errno. +no arguments +.Va +end of test document diff --git a/contrib/mandoc/regress/mdoc/Va/noarg.out_ascii b/contrib/mandoc/regress/mdoc/Va/noarg.out_ascii new file mode 100644 index 00000000000..4221c17b2a7 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Va/noarg.out_ascii @@ -0,0 +1,9 @@ +VA-NOARG(1) General Commands Manual VA-NOARG(1) + +NNAAMMEE + VVaa--nnooaarrgg - variable name macro without arguments + +DDEESSCCRRIIPPTTIIOONN + with arguments _i_n_t _e_r_r_n_o_. no arguments end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Va/noarg.out_lint b/contrib/mandoc/regress/mdoc/Va/noarg.out_lint new file mode 100644 index 00000000000..76185aa2b0c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Va/noarg.out_lint @@ -0,0 +1,2 @@ +mandoc: noarg.in:13:2: WARNING: skipping empty macro: Va +mandoc: noarg.in:11:10: STYLE: no blank before trailing delimiter: Va errno. diff --git a/contrib/mandoc/regress/mdoc/Va/noarg.out_markdown b/contrib/mandoc/regress/mdoc/Va/noarg.out_markdown new file mode 100644 index 00000000000..35123d7619e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Va/noarg.out_markdown @@ -0,0 +1,15 @@ +VA-NOARG(1) - General Commands Manual + +# NAME + +**Va-noarg** - variable name macro without arguments + +# DESCRIPTION + +with arguments +*int* +*errno.* +no arguments +end of test document + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Va/punct.in b/contrib/mandoc/regress/mdoc/Va/punct.in new file mode 100644 index 00000000000..e9c0008bf32 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Va/punct.in @@ -0,0 +1,43 @@ +.\" $OpenBSD: punct.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt AR-PUNCT 1 +.Os +.Sh NAME +.Nm Va-punct +.Nd punctuation handling by the Va macro +.Sh DESCRIPTION +closing punctuation +.Va a ) +only one +.Va ) +only more than one +.Va ) ) +middle +.Va a ) z +start +.Va ) z +dot +.Va . z +comma +.Va , z +semicolon +.Va ; z +colon +.Va : z +quest +.Va ? z +excl +.Va ! z +paren +.Va ) z +bracket +.Va ] z +bar +.Va | m +op paren +.Va ( a +op bracket +.Va [ a +.Pp +quoted punctuation: +.Va a "(" b "|" c ")" d "," "Sy" bold . diff --git a/contrib/mandoc/regress/mdoc/Va/punct.out_ascii b/contrib/mandoc/regress/mdoc/Va/punct.out_ascii new file mode 100644 index 00000000000..e5c189fdc98 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Va/punct.out_ascii @@ -0,0 +1,13 @@ +AR-PUNCT(1) General Commands Manual AR-PUNCT(1) + +NNAAMMEE + VVaa--ppuunncctt - punctuation handling by the Va macro + +DDEESSCCRRIIPPTTIIOONN + closing punctuation _a) only one ) only more than one )) middle _a) _z start + ) _z dot . _z comma , _z semicolon ; _z colon : _z quest ? _z excl ! _z paren ) + _z bracket ] _z bar | _m op paren (_a op bracket [_a + + quoted punctuation: _a (_b | _c) _d, bboolldd. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Va/punct.out_markdown b/contrib/mandoc/regress/mdoc/Va/punct.out_markdown new file mode 100644 index 00000000000..d5b15f66d7c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Va/punct.out_markdown @@ -0,0 +1,45 @@ +AR-PUNCT(1) - General Commands Manual + +# NAME + +**Va-punct** - punctuation handling by the Va macro + +# DESCRIPTION + +closing punctuation +*a*) +only one +) +only more than one +)) +middle +*a*) *z* +start +) *z* +dot +. *z* +comma +, *z* +semicolon +; *z* +colon +: *z* +quest +? *z* +excl +! *z* +paren +) *z* +bracket +] *z* +bar +| *m* +op paren +(*a* +op bracket +\[*a* + +quoted punctuation: +*a* (*b* | *c*) *d*, **bold**. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Vt/Makefile b/contrib/mandoc/regress/mdoc/Vt/Makefile new file mode 100644 index 00000000000..d1f0a9bd1c9 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Vt/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.7 2015/09/14 15:35:47 schwarze Exp $ + +REGRESS_TARGETS = noarg spacing font child +LINT_TARGETS = noarg + +.include diff --git a/contrib/mandoc/regress/mdoc/Vt/child.in b/contrib/mandoc/regress/mdoc/Vt/child.in new file mode 100644 index 00000000000..ea68f817c9c --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Vt/child.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: child.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt VT-CHILD 1 +.Os +.Sh NAME +.Nm Vt-child +.Nd the variable type macro does not want children +.Sh SYNOPSIS +.Vt extern Sy int Li errno +.Sh DESCRIPTION +various types, for example +.Vt unsigned Sy int , +.Vt long Li int +and +.Vt float , +.Vt double diff --git a/contrib/mandoc/regress/mdoc/Vt/child.out_ascii b/contrib/mandoc/regress/mdoc/Vt/child.out_ascii new file mode 100644 index 00000000000..57dc30c0639 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Vt/child.out_ascii @@ -0,0 +1,12 @@ +VT-CHILD(1) General Commands Manual VT-CHILD(1) + +NNAAMMEE + VVtt--cchhiilldd - the variable type macro does not want children + +SSYYNNOOPPSSIISS + _e_x_t_e_r_n iinntt errno + +DDEESSCCRRIIPPTTIIOONN + various types, for example _u_n_s_i_g_n_e_d iinntt, _l_o_n_g int and _f_l_o_a_t, _d_o_u_b_l_e + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Vt/child.out_markdown b/contrib/mandoc/regress/mdoc/Vt/child.out_markdown new file mode 100644 index 00000000000..1532d22f20f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Vt/child.out_markdown @@ -0,0 +1,20 @@ +VT-CHILD(1) - General Commands Manual + +# NAME + +**Vt-child** - the variable type macro does not want children + +# SYNOPSIS + +*extern **int** `errno`* + +# DESCRIPTION + +various types, for example +*unsigned* **int**, +*long* `int` +and +*float*, +*double* + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Vt/font.in b/contrib/mandoc/regress/mdoc/Vt/font.in new file mode 100644 index 00000000000..527286a6ca7 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Vt/font.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: font.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt VT-FONT 1 +.Os +.Sh NAME +.Nm Vt-font +.Nd changing fonts inside the variable type macro +.Sh DESCRIPTION +normal text +.Vt emphasis\\fBbold\\fPback +trailing text diff --git a/contrib/mandoc/regress/mdoc/Vt/font.out_ascii b/contrib/mandoc/regress/mdoc/Vt/font.out_ascii new file mode 100644 index 00000000000..8df1de6e542 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Vt/font.out_ascii @@ -0,0 +1,9 @@ +VT-FONT(1) General Commands Manual VT-FONT(1) + +NNAAMMEE + VVtt--ffoonntt - changing fonts inside the variable type macro + +DDEESSCCRRIIPPTTIIOONN + normal text _e_m_p_h_a_s_i_sbboolldd_b_a_c_k trailing text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Vt/font.out_markdown b/contrib/mandoc/regress/mdoc/Vt/font.out_markdown new file mode 100644 index 00000000000..0c4e18373ba --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Vt/font.out_markdown @@ -0,0 +1,13 @@ +VT-FONT(1) - General Commands Manual + +# NAME + +**Vt-font** - changing fonts inside the variable type macro + +# DESCRIPTION + +normal text +*emphasis**bold**back* +trailing text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Vt/noarg.in b/contrib/mandoc/regress/mdoc/Vt/noarg.in new file mode 100644 index 00000000000..db3e30080ce --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Vt/noarg.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: noarg.in,v 1.4 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt VT-NOARG 1 +.Os +.Sh NAME +.Nm Vt-noarg +.Nd variable type macro without arguments +.Sh DESCRIPTION +with arguments +.Vt signed int. +no arguments +.Vt +end of test document diff --git a/contrib/mandoc/regress/mdoc/Vt/noarg.out_ascii b/contrib/mandoc/regress/mdoc/Vt/noarg.out_ascii new file mode 100644 index 00000000000..0c79d54fd10 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Vt/noarg.out_ascii @@ -0,0 +1,9 @@ +VT-NOARG(1) General Commands Manual VT-NOARG(1) + +NNAAMMEE + VVtt--nnooaarrgg - variable type macro without arguments + +DDEESSCCRRIIPPTTIIOONN + with arguments _s_i_g_n_e_d _i_n_t_. no arguments end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Vt/noarg.out_lint b/contrib/mandoc/regress/mdoc/Vt/noarg.out_lint new file mode 100644 index 00000000000..d0c40e16386 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Vt/noarg.out_lint @@ -0,0 +1,2 @@ +mandoc: noarg.in:12:2: WARNING: skipping empty macro: Vt +mandoc: noarg.in:10:15: STYLE: no blank before trailing delimiter: Vt ... int. diff --git a/contrib/mandoc/regress/mdoc/Vt/noarg.out_markdown b/contrib/mandoc/regress/mdoc/Vt/noarg.out_markdown new file mode 100644 index 00000000000..0a7a51ed7ea --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Vt/noarg.out_markdown @@ -0,0 +1,14 @@ +VT-NOARG(1) - General Commands Manual + +# NAME + +**Vt-noarg** - variable type macro without arguments + +# DESCRIPTION + +with arguments +*signed int.* +no arguments +end of test document + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Vt/spacing.in b/contrib/mandoc/regress/mdoc/Vt/spacing.in new file mode 100644 index 00000000000..6b122f54564 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Vt/spacing.in @@ -0,0 +1,17 @@ +.\" $OpenBSD: spacing.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt VT-SPACING 1 +.Os +.Sh NAME +.Nm Vt-spacing +.Nd spacing around the variable type macro +.Sh SYNOPSIS +.Vt extern char **environ +.Vt extern int errno +.Sh DESCRIPTION +various types, for example +.Vt unsigned int , +.Vt long int +and +.Vt float , +.Vt double diff --git a/contrib/mandoc/regress/mdoc/Vt/spacing.out_ascii b/contrib/mandoc/regress/mdoc/Vt/spacing.out_ascii new file mode 100644 index 00000000000..a061ee6d865 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Vt/spacing.out_ascii @@ -0,0 +1,13 @@ +VT-SPACING(1) General Commands Manual VT-SPACING(1) + +NNAAMMEE + VVtt--ssppaacciinngg - spacing around the variable type macro + +SSYYNNOOPPSSIISS + _e_x_t_e_r_n _c_h_a_r _*_*_e_n_v_i_r_o_n + _e_x_t_e_r_n _i_n_t _e_r_r_n_o + +DDEESSCCRRIIPPTTIIOONN + various types, for example _u_n_s_i_g_n_e_d _i_n_t, _l_o_n_g _i_n_t and _f_l_o_a_t, _d_o_u_b_l_e + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Vt/spacing.out_markdown b/contrib/mandoc/regress/mdoc/Vt/spacing.out_markdown new file mode 100644 index 00000000000..5c490af56ac --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Vt/spacing.out_markdown @@ -0,0 +1,21 @@ +VT-SPACING(1) - General Commands Manual + +# NAME + +**Vt-spacing** - spacing around the variable type macro + +# SYNOPSIS + +*extern char \*\*environ* +*extern int errno* + +# DESCRIPTION + +various types, for example +*unsigned int*, +*long int* +and +*float*, +*double* + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/Xr/Makefile b/contrib/mandoc/regress/mdoc/Xr/Makefile new file mode 100644 index 00000000000..c4382c23f12 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Xr/Makefile @@ -0,0 +1,9 @@ +# $OpenBSD: Makefile,v 1.4 2015/02/06 01:07:07 schwarze Exp $ + +REGRESS_TARGETS = args + +# OpenBSD only: .Xr target tests cause too much trouble elsewhere + +LINT_TARGETS = args + +.include diff --git a/contrib/mandoc/regress/mdoc/Xr/args.in b/contrib/mandoc/regress/mdoc/Xr/args.in new file mode 100644 index 00000000000..486cf6223aa --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Xr/args.in @@ -0,0 +1,32 @@ +.\" $OpenBSD: args.in,v 1.10 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt XR-ARGS 1 +.Os +.Sh NAME +.Nm Xr-args +.Nd additional arguments to cross references +.Sh DESCRIPTION +One single +.Xr echo 1 +is fine, and so is an +.Xr echo 1 followed by something "Em" else . +.Pp +But listen for multiple +.Xr echo 1 Ns s . +.Pp +A call, an +.Xr "(" echo 1 ")" , and +another +.Xr echo 1 . +.Pp +Finally, an +.Xr ( echo 1) +without a blank, half an +.Xr echo , +no blank after half an +.Xr echo, +no echo +.Xr , +and no +.Xr +echo at all. diff --git a/contrib/mandoc/regress/mdoc/Xr/args.out_ascii b/contrib/mandoc/regress/mdoc/Xr/args.out_ascii new file mode 100644 index 00000000000..7dda3a84dc1 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Xr/args.out_ascii @@ -0,0 +1,17 @@ +XR-ARGS(1) General Commands Manual XR-ARGS(1) + +NNAAMMEE + XXrr--aarrggss - additional arguments to cross references + +DDEESSCCRRIIPPTTIIOONN + One single echo(1) is fine, and so is an echo(1) followed by something + _e_l_s_e. + + But listen for multiple echo(1)s. + + A call, an (echo(1)), and another echo(1). + + Finally, an (echo(1)) without a blank, half an echo, no blank after half + an echo, no echo and no echo at all. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/Xr/args.out_lint b/contrib/mandoc/regress/mdoc/Xr/args.out_lint new file mode 100644 index 00000000000..a0d0d7616dd --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Xr/args.out_lint @@ -0,0 +1,7 @@ +mandoc: args.in:29:2: WARNING: skipping empty macro: Xr +mandoc: args.in:31:2: WARNING: skipping empty macro: Xr +mandoc: args.in:23:13: STYLE: no blank before trailing delimiter: Xr ... 1) +mandoc: args.in:25:2: WARNING: missing section argument: Xr echo +mandoc: args.in:27:2: WARNING: missing section argument: Xr echo, +mandoc: args.in:27:9: STYLE: no blank before trailing delimiter: Xr echo, +mandoc: args.in:23:8: STYLE: referenced manual not found: Xr echo 1) diff --git a/contrib/mandoc/regress/mdoc/Xr/args.out_markdown b/contrib/mandoc/regress/mdoc/Xr/args.out_markdown new file mode 100644 index 00000000000..d8cf6cb000b --- /dev/null +++ b/contrib/mandoc/regress/mdoc/Xr/args.out_markdown @@ -0,0 +1,32 @@ +XR-ARGS(1) - General Commands Manual + +# NAME + +**Xr-args** - additional arguments to cross references + +# DESCRIPTION + +One single +echo(1) +is fine, and so is an +echo(1) followed by something *else*. + +But listen for multiple +echo(1)s. + +A call, an +(echo(1)), and +another +echo(1). + +Finally, an +(echo(1)) +without a blank, half an +echo, +no blank after half an +echo, +no echo +and no +echo at all. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/blank/Makefile b/contrib/mandoc/regress/mdoc/blank/Makefile new file mode 100644 index 00000000000..7dfd02871ff --- /dev/null +++ b/contrib/mandoc/regress/mdoc/blank/Makefile @@ -0,0 +1,9 @@ +# $OpenBSD: Makefile,v 1.5 2014/07/06 19:08:57 schwarze Exp $ + +REGRESS_TARGETS = line comment list +LINT_TARGETS = line comment list + +SKIP_TMAN = list +SKIP_MARKDOWN ?= line + +.include diff --git a/contrib/mandoc/regress/mdoc/blank/comment.in b/contrib/mandoc/regress/mdoc/blank/comment.in new file mode 100644 index 00000000000..7279a474e77 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/blank/comment.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: comment.in,v 1.3 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BLANK-COMMENT 1 +.Os +.Sh NAME +.Nm blank-comment +.Nd normal and bogus comments +.Sh DESCRIPTION +normal comment +.\" normal +bogus comment +\." +end of text +.Pp +text \" comment +text diff --git a/contrib/mandoc/regress/mdoc/blank/comment.out_ascii b/contrib/mandoc/regress/mdoc/blank/comment.out_ascii new file mode 100644 index 00000000000..bd07b71f71a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/blank/comment.out_ascii @@ -0,0 +1,11 @@ +BLANK-COMMENT(1) General Commands Manual BLANK-COMMENT(1) + +NNAAMMEE + bbllaannkk--ccoommmmeenntt - normal and bogus comments + +DDEESSCCRRIIPPTTIIOONN + normal comment bogus comment end of text + + text text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/blank/comment.out_lint b/contrib/mandoc/regress/mdoc/blank/comment.out_lint new file mode 100644 index 00000000000..9e924f2ae64 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/blank/comment.out_lint @@ -0,0 +1 @@ +mandoc: comment.in:12:3: STYLE: bad comment style diff --git a/contrib/mandoc/regress/mdoc/blank/comment.out_markdown b/contrib/mandoc/regress/mdoc/blank/comment.out_markdown new file mode 100644 index 00000000000..27785ddf9ec --- /dev/null +++ b/contrib/mandoc/regress/mdoc/blank/comment.out_markdown @@ -0,0 +1,16 @@ +BLANK-COMMENT(1) - General Commands Manual + +# NAME + +**blank-comment** - normal and bogus comments + +# DESCRIPTION + +normal comment +bogus comment +end of text + +text +text + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/blank/line.in b/contrib/mandoc/regress/mdoc/blank/line.in new file mode 100644 index 00000000000..c053d977355 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/blank/line.in @@ -0,0 +1,91 @@ +.\" $OpenBSD: line.in,v 1.6 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BLANK-LINE 1 +.Os +.Sh NAME +.Nm blank-line +.Nd handling of blank line +.Sh DESCRIPTION +Single br: +.br +Single Pp: +.Pp +Single sp: +.sp +Single blank: + +Double br: +.br +.br +br Pp: +.br +.Pp +Pp br: +.Pp +.br +Double Pp: +.Pp +.Pp +br sp: +.br +.sp +sp br: +.sp +.br +Pp sp: +.Pp +.sp +Pp sp 2v: +.Pp +.sp 2v +sp Pp: +.sp +.Pp +Double sp: +.sp +.sp +br blank: +.br + +blank br: + +.br +Pp blank: +.Pp + +blank Pp: + +.Pp +sp blank: +.sp + +blank sp: + +.sp +Double blank: + + +Bd ragged sp 2v: +.Bd -ragged -offset 6n +.sp 2v +Ed sp 2v: +.Ed +.sp 2v +Bl tag sp 2v: +.Bl -tag -width 6n +.It tag +.sp 2v +El sp 2v +.El +Sh sp 2v: +.Sh CUSTOM +.sp 2v +Pp Sh Pp: +.Pp +.Sh CUSTOM TWO +.Pp +Ss Pp: +.Ss Subsection +.Pp +End. +.Pp diff --git a/contrib/mandoc/regress/mdoc/blank/line.out_ascii b/contrib/mandoc/regress/mdoc/blank/line.out_ascii new file mode 100644 index 00000000000..7c568733910 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/blank/line.out_ascii @@ -0,0 +1,77 @@ +BLANK-LINE(1) General Commands Manual BLANK-LINE(1) + +NNAAMMEE + bbllaannkk--lliinnee - handling of blank line + +DDEESSCCRRIIPPTTIIOONN + Single br: + Single Pp: + + Single sp: + + Single blank: + + Double br: + br Pp: + + Pp br: + + Double Pp: + + br sp: + + sp br: + + Pp sp: + + Pp sp 2v: + + sp Pp: + + + Double sp: + + + br blank: + + blank br: + + Pp blank: + + blank Pp: + + + sp blank: + + + blank sp: + + + Double blank: + + + Bd ragged sp 2v: + + + + Ed sp 2v: + + + Bl tag sp 2v: + + tag + + + El sp 2v + Sh sp 2v: + +CCUUSSTTOOMM + Pp Sh Pp: + +CCUUSSTTOOMM TTWWOO + Ss Pp: + + SSuubbsseeccttiioonn + End. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/blank/line.out_lint b/contrib/mandoc/regress/mdoc/blank/line.out_lint new file mode 100644 index 00000000000..990bb5bd3ad --- /dev/null +++ b/contrib/mandoc/regress/mdoc/blank/line.out_lint @@ -0,0 +1,23 @@ +mandoc: line.in:16:1: WARNING: blank line in fill mode, using .sp +mandoc: line.in:49:1: WARNING: blank line in fill mode, using .sp +mandoc: line.in:51:1: WARNING: blank line in fill mode, using .sp +mandoc: line.in:55:1: WARNING: blank line in fill mode, using .sp +mandoc: line.in:57:1: WARNING: blank line in fill mode, using .sp +mandoc: line.in:61:1: WARNING: blank line in fill mode, using .sp +mandoc: line.in:63:1: WARNING: blank line in fill mode, using .sp +mandoc: line.in:66:1: WARNING: blank line in fill mode, using .sp +mandoc: line.in:67:1: WARNING: blank line in fill mode, using .sp +mandoc: line.in:19:2: WARNING: skipping paragraph macro: br after br +mandoc: line.in:21:2: WARNING: skipping paragraph macro: br before Pp +mandoc: line.in:25:2: WARNING: skipping paragraph macro: br after Pp +mandoc: line.in:27:2: WARNING: skipping paragraph macro: Pp before Pp +mandoc: line.in:34:2: WARNING: skipping paragraph macro: br after sp +mandoc: line.in:37:2: WARNING: skipping paragraph macro: sp after Pp +mandoc: line.in:40:2: WARNING: skipping paragraph macro: sp after Pp +mandoc: line.in:52:2: WARNING: skipping paragraph macro: br after sp +mandoc: line.in:55:1: WARNING: skipping paragraph macro: sp after Pp +mandoc: line.in:82:2: WARNING: skipping paragraph macro: sp after Sh +mandoc: line.in:84:2: WARNING: skipping paragraph macro: Pp at the end of Sh +mandoc: line.in:86:2: WARNING: skipping paragraph macro: Pp after Sh +mandoc: line.in:89:2: WARNING: skipping paragraph macro: Pp after Ss +mandoc: line.in:91:2: WARNING: skipping paragraph macro: Pp at the end of Ss diff --git a/contrib/mandoc/regress/mdoc/blank/list.in b/contrib/mandoc/regress/mdoc/blank/list.in new file mode 100644 index 00000000000..087575de5ec --- /dev/null +++ b/contrib/mandoc/regress/mdoc/blank/list.in @@ -0,0 +1,67 @@ +.\" $OpenBSD: list.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BLANK-LIST 1 +.Os +.Sh NAME +.Nm blank-list +.Nd handling of blank lines in lists +.Sh DESCRIPTION +normal list: +.Bl -item -offset indent +.It +first item +.It +second item +.El +list with paragraphs: +.Bl -item -offset indent +.It +first item +.Pp +.It +second item +.Pp +.El +list with final paragraph: +.Bl -item -offset indent +.It +item +.El +.Pp +list with double paragraph: +.Bl -item -offset indent +.It +item +.Pp +.El +.Pp +normal compact list: +.Bl -item -compact -offset indent +.It +first item +.It +second item +.El +compact list with paragraphs: +.Bl -item -compact -offset indent +.It +first item +.Pp +.It +second item +.Pp +.El +compact list with final paragraph: +.Bl -item -compact -offset indent +.It +item +.El +.Pp +compact list with double paragraph: +.Bl -item -compact -offset indent +.It +item +.Pp +.El +.Pp +End. diff --git a/contrib/mandoc/regress/mdoc/blank/list.out_ascii b/contrib/mandoc/regress/mdoc/blank/list.out_ascii new file mode 100644 index 00000000000..918ddd897d8 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/blank/list.out_ascii @@ -0,0 +1,42 @@ +BLANK-LIST(1) General Commands Manual BLANK-LIST(1) + +NNAAMMEE + bbllaannkk--lliisstt - handling of blank lines in lists + +DDEESSCCRRIIPPTTIIOONN + normal list: + + first item + + second item + list with paragraphs: + + first item + + second item + + list with final paragraph: + + item + + list with double paragraph: + + item + + normal compact list: + first item + second item + compact list with paragraphs: + first item + + second item + + compact list with final paragraph: + item + + compact list with double paragraph: + item + + End. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/blank/list.out_lint b/contrib/mandoc/regress/mdoc/blank/list.out_lint new file mode 100644 index 00000000000..a4eb9206d06 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/blank/list.out_lint @@ -0,0 +1,7 @@ +mandoc: list.in:20:2: WARNING: skipping paragraph macro: Pp before It +mandoc: list.in:23:2: WARNING: moving paragraph macro out of list: Pp +mandoc: list.in:35:2: WARNING: moving paragraph macro out of list: Pp +mandoc: list.in:35:2: WARNING: skipping paragraph macro: Pp before Pp +mandoc: list.in:52:2: WARNING: moving paragraph macro out of list: Pp +mandoc: list.in:64:2: WARNING: moving paragraph macro out of list: Pp +mandoc: list.in:64:2: WARNING: skipping paragraph macro: Pp before Pp diff --git a/contrib/mandoc/regress/mdoc/blank/list.out_markdown b/contrib/mandoc/regress/mdoc/blank/list.out_markdown new file mode 100644 index 00000000000..6a8ede6521f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/blank/list.out_markdown @@ -0,0 +1,50 @@ +BLANK-LIST(1) - General Commands Manual + +# NAME + +**blank-list** - handling of blank lines in lists + +# DESCRIPTION + +normal list: + +first item + +second item + +list with paragraphs: + +first item + +second item + +list with final paragraph: + +item + +list with double paragraph: + +item + +normal compact list: + +first item +second item + +compact list with paragraphs: + +first item + +second item + +compact list with final paragraph: + +item + +compact list with double paragraph: + +item + +End. + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/break/Makefile b/contrib/mandoc/regress/mdoc/break/Makefile new file mode 100644 index 00000000000..b4c3b219163 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/break/Makefile @@ -0,0 +1,15 @@ +# $OpenBSD: Makefile,v 1.4 2016/08/20 17:58:09 schwarze Exp $ + +REGRESS_TARGETS = brokenbreaker twice tail two notopen +LINT_TARGETS = brokenbreaker twice tail two notopen + +# It's hard to keep stuff together in next-line scope. + +SKIP_TMAN = tail + +# groff-1.22.3 defect: +# - non-matching enclosure end macro prints a closing delimiter + +SKIP_GROFF = brokenbreaker notopen + +.include diff --git a/contrib/mandoc/regress/mdoc/break/brokenbreaker.in b/contrib/mandoc/regress/mdoc/break/brokenbreaker.in new file mode 100644 index 00000000000..cdeafd9c598 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/break/brokenbreaker.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: brokenbreaker.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BREAK-BROKENBREAKER 1 +.Os +.Sh NAME +.Nm break-brokenbreaker +.Nd a broken block breaking another block +.Sh DESCRIPTION +.Po po +.Ao ao pc +.Pc +.Bo bo pc +.Pc ac +.Ac bc +.Bc diff --git a/contrib/mandoc/regress/mdoc/break/brokenbreaker.out_ascii b/contrib/mandoc/regress/mdoc/break/brokenbreaker.out_ascii new file mode 100644 index 00000000000..3248e66b570 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/break/brokenbreaker.out_ascii @@ -0,0 +1,9 @@ +BREAK-BROKENBREAKER(1) General Commands Manual BREAK-BROKENBREAKER(1) + +NNAAMMEE + bbrreeaakk--bbrrookkeennbbrreeaakkeerr - a broken block breaking another block + +DDEESSCCRRIIPPTTIIOONN + (po bc] + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/break/brokenbreaker.out_lint b/contrib/mandoc/regress/mdoc/break/brokenbreaker.out_lint new file mode 100644 index 00000000000..05afa2b00a4 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/break/brokenbreaker.out_lint @@ -0,0 +1,3 @@ +mandoc: brokenbreaker.in:11:2: WARNING: blocks badly nested: Po breaks Ao +mandoc: brokenbreaker.in:13:2: ERROR: skipping end of block that is not open: Pc +mandoc: brokenbreaker.in:14:2: WARNING: blocks badly nested: Ao breaks Bo diff --git a/contrib/mandoc/regress/mdoc/break/brokenbreaker.out_markdown b/contrib/mandoc/regress/mdoc/break/brokenbreaker.out_markdown new file mode 100644 index 00000000000..d5779991c44 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/break/brokenbreaker.out_markdown @@ -0,0 +1,13 @@ +BREAK-BROKENBREAKER(1) - General Commands Manual + +# NAME + +**break-brokenbreaker** - a broken block breaking another block + +# DESCRIPTION + +(po +<ao pc) +\[bo pc ac> bc] + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/break/notopen.in b/contrib/mandoc/regress/mdoc/break/notopen.in new file mode 100644 index 00000000000..8a71fde177e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/break/notopen.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: notopen.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BREAK-NOTOPEN 1 +.Os +.Sh NAME +.Nm break-notopen +.Nd mismatching end macro inside two open blocks +.Sh DESCRIPTION +.Ao ao +.Bo bo pc +.Pc bc +.Bc ac +.Ac tail diff --git a/contrib/mandoc/regress/mdoc/break/notopen.out_ascii b/contrib/mandoc/regress/mdoc/break/notopen.out_ascii new file mode 100644 index 00000000000..a3fd59cd47f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/break/notopen.out_ascii @@ -0,0 +1,9 @@ +BREAK-NOTOPEN(1) General Commands Manual BREAK-NOTOPEN(1) + +NNAAMMEE + bbrreeaakk--nnoottooppeenn - mismatching end macro inside two open blocks + +DDEESSCCRRIIPPTTIIOONN + tail + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/break/notopen.out_lint b/contrib/mandoc/regress/mdoc/break/notopen.out_lint new file mode 100644 index 00000000000..f2cc14a6ac7 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/break/notopen.out_lint @@ -0,0 +1 @@ +mandoc: notopen.in:11:2: ERROR: skipping end of block that is not open: Pc diff --git a/contrib/mandoc/regress/mdoc/break/notopen.out_markdown b/contrib/mandoc/regress/mdoc/break/notopen.out_markdown new file mode 100644 index 00000000000..3e8af92912f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/break/notopen.out_markdown @@ -0,0 +1,14 @@ +BREAK-NOTOPEN(1) - General Commands Manual + +# NAME + +**break-notopen** - mismatching end macro inside two open blocks + +# DESCRIPTION + +<ao +\[bo pc bc] +ac> +tail + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/break/tail.in b/contrib/mandoc/regress/mdoc/break/tail.in new file mode 100644 index 00000000000..46ce5125b34 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/break/tail.in @@ -0,0 +1,49 @@ +.\" $OpenBSD: tail.in,v 1.4 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BREAK-TAIL 1 +.Os +.Sh NAME +.Nm break-tail +.Nd tail arguments on or after broken blocks +.Sh DESCRIPTION +Broken by a partial explicit block: +.Ao ao +.Bo bo ac +.Ac bc +.Bc tail +.Ao ao +.Bo bo ac +.Ac bc +.Bc Po po pc +.Pc tail +.Pp +Broken by a partial implicit block: +.Aq aq Bo bo eol +.Bc tail +.Aq aq Bo bo eol +.Bc Po po pc +.Pc tail +.Pp +Broken by a full implicit block: +.Bl -tag -width Ds -offset indent +.It it Ao ao ac +.Ac tail +list body +.El +.Bl -tag -width Ds -offset indent +.It it Ao ao ac +.Ac Po po pc +.Pc tail +list body +.El +.Pp +After a broken block: closing child on closing macro, +then opening child on closing macro: +.\" Crashed before mdoc_macro.c OpenBSD rev. 1.169 +.Ao ao +.Bo bo +.Bro bro +.Po po brc +.Brc pc +.Pc bc Bc ac +.Ac Op op diff --git a/contrib/mandoc/regress/mdoc/break/tail.out_ascii b/contrib/mandoc/regress/mdoc/break/tail.out_ascii new file mode 100644 index 00000000000..0edb30479e4 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/break/tail.out_ascii @@ -0,0 +1,24 @@ +BREAK-TAIL(1) General Commands Manual BREAK-TAIL(1) + +NNAAMMEE + bbrreeaakk--ttaaiill - tail arguments on or after broken blocks + +DDEESSCCRRIIPPTTIIOONN + Broken by a partial explicit block: bc] tail bc] + (po pc) tail + + Broken by a partial implicit block: ] tail ] (po + pc) tail + + Broken by a full implicit block: + + it tail + list body + + it (po pc) tail + list body + + After a broken block: closing child on closing macro, then opening child + on closing macro: [op] + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/break/tail.out_lint b/contrib/mandoc/regress/mdoc/break/tail.out_lint new file mode 100644 index 00000000000..1084551370a --- /dev/null +++ b/contrib/mandoc/regress/mdoc/break/tail.out_lint @@ -0,0 +1,5 @@ +mandoc: tail.in:12:2: WARNING: blocks badly nested: Ao breaks Bo +mandoc: tail.in:16:2: WARNING: blocks badly nested: Ao breaks Bo +mandoc: tail.in:21:2: WARNING: blocks badly nested: Aq breaks Bo +mandoc: tail.in:23:2: WARNING: blocks badly nested: Aq breaks Bo +mandoc: tail.in:47:2: WARNING: blocks badly nested: Bro breaks Po diff --git a/contrib/mandoc/regress/mdoc/break/tail.out_markdown b/contrib/mandoc/regress/mdoc/break/tail.out_markdown new file mode 100644 index 00000000000..4746dbf2b4e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/break/tail.out_markdown @@ -0,0 +1,43 @@ +BREAK-TAIL(1) - General Commands Manual + +# NAME + +**break-tail** - tail arguments on or after broken blocks + +# DESCRIPTION + +Broken by a partial explicit block: +<ao +\[bo ac> bc] +tail +<ao +\[bo ac> bc] \(po pc) +tail + +Broken by a partial implicit block: +<aq \[bo eol>] +tail +<aq \[bo eol>] \(po pc) +tail + +Broken by a full implicit block: + +it <ao ac> +tail + +> list body + +it <ao ac> (po pc) +tail + +> list body + +After a broken block: closing child on closing macro, +then opening child on closing macro: +<ao +\[bo +{bro +(po brc} pc) +bc] ac> \[op] + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/break/twice.in b/contrib/mandoc/regress/mdoc/break/twice.in new file mode 100644 index 00000000000..1a996a1018f --- /dev/null +++ b/contrib/mandoc/regress/mdoc/break/twice.in @@ -0,0 +1,42 @@ +.\" $OpenBSD: twice.in,v 1.4 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BREAK-TWICE 1 +.Os +.Sh NAME +.Nm break-twice +.Nd breaking the same block twice +.Sh DESCRIPTION +Standard case, fully explicit: +.Bo bo +.Bro bro +.Ao ao brc +.Brc bc +.Bc ac +.Ac +.Pp +Standard case, implicit broken block: +.Bo bo +.Bro bro +.Aq aq brc Brc bc Bc eol +.Pp +Two of the same kind, fully explicit: +.Bo bo +.Bo bo +.Ao ao bc +.Bc bc +.Bc ac +.Ac +.Pp +Two of the same kind, implicit broken block: +.Bo bo +.Bo bo +.Aq aq bc Bc bc Bc eol +.Pp +Two implicit breakers: +.Bl -dash +.Aq aq Bq bq Po po +pc +.Pc +.It +it +.El diff --git a/contrib/mandoc/regress/mdoc/break/twice.out_ascii b/contrib/mandoc/regress/mdoc/break/twice.out_ascii new file mode 100644 index 00000000000..8113da6da19 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/break/twice.out_ascii @@ -0,0 +1,19 @@ +BREAK-TWICE(1) General Commands Manual BREAK-TWICE(1) + +NNAAMMEE + bbrreeaakk--ttwwiiccee - breaking the same block twice + +DDEESSCCRRIIPPTTIIOONN + Standard case, fully explicit: [bo {bro + + Standard case, implicit broken block: [bo {bro + + Two of the same kind, fully explicit: [bo [bo + + Two of the same kind, implicit broken block: [bo [bo + + Two implicit breakers: pc) + + -- it + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/break/twice.out_lint b/contrib/mandoc/regress/mdoc/break/twice.out_lint new file mode 100644 index 00000000000..cb2de941fc6 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/break/twice.out_lint @@ -0,0 +1,11 @@ +mandoc: twice.in:13:2: WARNING: blocks badly nested: Bro breaks Ao +mandoc: twice.in:14:2: WARNING: blocks badly nested: Bo breaks Ao +mandoc: twice.in:20:12: WARNING: blocks badly nested: Bro breaks Aq +mandoc: twice.in:20:19: WARNING: blocks badly nested: Bo breaks Aq +mandoc: twice.in:26:2: WARNING: blocks badly nested: Bo breaks Ao +mandoc: twice.in:27:2: WARNING: blocks badly nested: Bo breaks Ao +mandoc: twice.in:33:11: WARNING: blocks badly nested: Bo breaks Aq +mandoc: twice.in:33:17: WARNING: blocks badly nested: Bo breaks Aq +mandoc: twice.in:37:8: WARNING: blocks badly nested: Bq breaks Po +mandoc: twice.in:37:2: WARNING: blocks badly nested: Aq breaks Po +mandoc: twice.in:37:2: WARNING: moving content out of list: Aq diff --git a/contrib/mandoc/regress/mdoc/break/twice.out_markdown b/contrib/mandoc/regress/mdoc/break/twice.out_markdown new file mode 100644 index 00000000000..83a833c2cc9 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/break/twice.out_markdown @@ -0,0 +1,35 @@ +BREAK-TWICE(1) - General Commands Manual + +# NAME + +**break-twice** - breaking the same block twice + +# DESCRIPTION + +Standard case, fully explicit: +\[bo +{bro +<ao brc} bc] ac> + +Standard case, implicit broken block: +\[bo +{bro +<aq brc} bc] eol> + +Two of the same kind, fully explicit: +\[bo +\[bo +<ao bc] bc] ac> + +Two of the same kind, implicit broken block: +\[bo +\[bo +<aq bc] bc] eol> + +Two implicit breakers: +<aq \[bq (po]> +pc) + +- it + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/mdoc/break/two.in b/contrib/mandoc/regress/mdoc/break/two.in new file mode 100644 index 00000000000..024111f3a56 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/break/two.in @@ -0,0 +1,43 @@ +.\" $OpenBSD: two.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt BREAK-TWO 1 +.Os +.Sh NAME +.Nm break-two +.Nd the same block breaking two other blocks +.Sh DESCRIPTION +Standard case, explicit: +.Ao ao +.Bo bo +.Bro bro ac +.Ac brc +.Brc bc +.Bc +.Pp +Standard case, implicit: +.Aq aq Bo bo Bro bro eol +.Brc bc Bc +.Pp +Reverse closing, explicit: +.Ao ao +.Bo bo +.Bro bro ac +.Ac bc +.Bc brc +.Brc +.Pp +Reverse closing, implicit: +.Aq aq Bo bo Bro bro eol +.Bc brc Brc +.Pp +Two of the same kind, explicit: +.Ao ao +.Bo bo +.Bo bo ac +.Ac bc +.Bc bc +.Bc +.Pp +Two of the same kind, implicit: +.Aq aq Bo bo Bo bo eol +.Bc bc Bc diff --git a/contrib/mandoc/regress/mdoc/break/two.out_ascii b/contrib/mandoc/regress/mdoc/break/two.out_ascii new file mode 100644 index 00000000000..1a31ff5978e --- /dev/null +++ b/contrib/mandoc/regress/mdoc/break/two.out_ascii @@ -0,0 +1,19 @@ +BREAK-TWO(1) General Commands Manual BREAK-TWO(1) + +NNAAMMEE + bbrreeaakk--ttwwoo - the same block breaking two other blocks + +DDEESSCCRRIIPPTTIIOONN + Standard case, explicit: brc} bc] + + Standard case, implicit: } bc] + + Reverse closing, explicit: bc] brc} + + Reverse closing, implicit: ] brc} + + Two of the same kind, explicit: bc] bc] + + Two of the same kind, implicit: ] bc] + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/mdoc/break/two.out_lint b/contrib/mandoc/regress/mdoc/break/two.out_lint new file mode 100644 index 00000000000..bea0318e167 --- /dev/null +++ b/contrib/mandoc/regress/mdoc/break/two.out_lint @@ -0,0 +1,8 @@ +mandoc: two.in:13:2: WARNING: blocks badly nested: Ao breaks Bro +mandoc: two.in:18:2: WARNING: blocks badly nested: Aq breaks Bro +mandoc: two.in:25:2: WARNING: blocks badly nested: Ao breaks Bro +mandoc: two.in:26:2: WARNING: blocks badly nested: Bo breaks Bro +mandoc: two.in:30:2: WARNING: blocks badly nested: Aq breaks Bro +mandoc: two.in:31:2: WARNING: blocks badly nested: Bo breaks Bro +mandoc: two.in:37:2: WARNING: blocks badly nested: Ao breaks Bo +mandoc: two.in:42:2: WARNING: blocks badly nested: Aq breaks Bo diff --git a/contrib/mandoc/regress/mdoc/break/two.out_markdown b/contrib/mandoc/regress/mdoc/break/two.out_markdown new file mode 100644 index 00000000000..bc8a68fdcbc --- /dev/null +++ b/contrib/mandoc/regress/mdoc/break/two.out_markdown @@ -0,0 +1,37 @@ +BREAK-TWO(1) - General Commands Manual + +# NAME + +**break-two** - the same block breaking two other blocks + +# DESCRIPTION + +Standard case, explicit: +<ao +\[bo +{bro ac> brc} +bc] + +Standard case, implicit: +<aq \[bo {bro eol>} +bc] + +Reverse closing, explicit: +<ao +\[bo +{bro ac> bc] brc} + +Reverse closing, implicit: +<aq \[bo {bro eol>] brc} + +Two of the same kind, explicit: +<ao +\[bo +\[bo ac> bc] +bc] + +Two of the same kind, implicit: +<aq \[bo \[bo eol>] +bc] + +OpenBSD - July 4, 2017 diff --git a/contrib/mandoc/regress/regress.pl b/contrib/mandoc/regress/regress.pl new file mode 100644 index 00000000000..8d7245cbd6c --- /dev/null +++ b/contrib/mandoc/regress/regress.pl @@ -0,0 +1,434 @@ +#!/usr/bin/env perl +# +# $Id: regress.pl,v 1.8 2017/07/18 18:47:06 schwarze Exp $ +# +# Copyright (c) 2017 Ingo Schwarze +# +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +use warnings; +use strict; + +# Used because open(3p) and open2(3p) provide no way for handling +# STDERR of the child process, neither for appending it to STDOUT, +# nor for piping it into the Perl program. +use IPC::Open3 qw(open3); + +# Define this at one place such that it can easily be changed +# if diff(1) does not support the -a option. +my @diff = qw(diff -au); + +# --- utility functions ------------------------------------------------ + +sub usage ($) { + warn shift; + print STDERR "usage: $0 [directory[:test] [modifier ...]]\n"; + exit 1; +} + +# Modifier arguments provided on the command line, +# inspected by the main program and by the utility functions. +my %targets; + +# Run a command and send STDOUT and STDERR to a file. +# 1st argument: path to the output file +# 2nd argument: command name +# The remaining arguments are passed to the command. +sub sysout ($@) { + my $outfile = shift; + print "@_\n" if $targets{verbose}; + local *OUT_FH; + open OUT_FH, '>', $outfile or die "$outfile: $!"; + my $pid = open3 undef, ">&OUT_FH", undef, @_; + close OUT_FH; + waitpid $pid, 0; + return $? >> 8; +} + +# Simlar, but filter the output as needed for the lint test. +sub syslint ($@) { + my $outfile = shift; + print "@_\n" if $targets{verbose}; + open my $outfd, '>', $outfile or die "$outfile: $!"; + my $infd; + my $pid = open3 undef, $infd, undef, @_; + while (<$infd>) { + s/^mandoc: [^:]+\//mandoc: /; + print $outfd $_; + } + close $outfd; + close $infd; + waitpid $pid, 0; + return 0; +} + +# Simlar, but filter the output as needed for the html test. +sub syshtml ($@) { + my $outfile = shift; + print "@_\n" if $targets{verbose}; + open my $outfd, '>', $outfile or die "$outfile: $!"; + my $infd; + my $pid = open3 undef, $infd, undef, @_; + my $state; + while (<$infd>) { + chomp; + if (!$state && s/.*//) { + $state = 1; + next unless length; + } + $state = 1 if /^BEGINTEST/; + if ($state && s/<\/math>.*//) { + s/^ *//; + print $outfd "$_\n" if length; + undef $state; + next; + } + s/^ *//; + print $outfd "$_\n" if $state; + undef $state if /^ENDTEST/; + } + close $outfd; + close $infd; + waitpid $pid, 0; + return 0; +} + +my @failures; +sub fail ($$) { + warn "FAILED: @_\n"; + push @failures, [@_]; +} + + +# --- process command line arguments ----------------------------------- + +my $onlytest = shift // ''; +for (@ARGV) { + /^(all|ascii|utf8|man|html|markdown|lint|clean|verbose)$/ + or usage "$_: invalid modifier"; + $targets{$_} = 1; +} +$targets{all} = 1 + unless $targets{ascii} || $targets{utf8} || $targets{man} || + $targets{html} || $targets{markdown} || + $targets{lint} || $targets{clean}; +$targets{ascii} = $targets{utf8} = $targets{man} = $targets{html} = + $targets{markdown} = $targets{lint} = 1 if $targets{all}; + + +# --- parse Makefiles -------------------------------------------------- + +sub parse_makefile ($%) { + my ($filename, $vars) = @_; + open my $fh, '<', $filename or die "$filename: $!"; + while (<$fh>) { + chomp; + next unless /\S/; + last if /^# OpenBSD only/; + next if /^#/; + next if /^\.include/; + /^(\w+)\s*([?+]?)=\s*(.*)/ + or die "$filename: parse error: $_"; + my $var = $1; + my $opt = $2; + my $val = $3; + $val =~ s/\$\{(\w+)\}/$vars->{$1}/; + $val = "$vars->{$var} $val" if $opt eq '+'; + $vars->{$var} = $val + unless $opt eq '?' && defined $vars->{$var}; + } + close $fh; +} + +my (@regress_tests, @utf8_tests, @lint_tests, @html_tests); +my (%skip_ascii, %skip_man, %skip_markdown); +foreach my $module (qw(roff char mdoc man tbl eqn)) { + my %modvars; + parse_makefile "$module/Makefile", \%modvars; + foreach my $subdir (split ' ', $modvars{SUBDIR}) { + my %subvars = (MOPTS => ''); + parse_makefile "$module/$subdir/Makefile", \%subvars; + parse_makefile "$module/Makefile.inc", \%subvars; + delete $subvars{SKIP_GROFF}; + delete $subvars{SKIP_GROFF_ASCII}; + delete $subvars{TBL}; + delete $subvars{EQN}; + my @mandoc = ('../mandoc', split ' ', $subvars{MOPTS}); + delete $subvars{MOPTS}; + my @regress_testnames; + if (defined $subvars{REGRESS_TARGETS}) { + push @regress_testnames, + split ' ', $subvars{REGRESS_TARGETS}; + push @regress_tests, { + NAME => "$module/$subdir/$_", + MANDOC => \@mandoc, + } foreach @regress_testnames; + delete $subvars{REGRESS_TARGETS}; + } + if (defined $subvars{UTF8_TARGETS}) { + push @utf8_tests, { + NAME => "$module/$subdir/$_", + MANDOC => \@mandoc, + } foreach split ' ', $subvars{UTF8_TARGETS}; + delete $subvars{UTF8_TARGETS}; + } + if (defined $subvars{HTML_TARGETS}) { + push @html_tests, { + NAME => "$module/$subdir/$_", + MANDOC => \@mandoc, + } foreach split ' ', $subvars{HTML_TARGETS}; + delete $subvars{HTML_TARGETS}; + } + if (defined $subvars{LINT_TARGETS}) { + push @lint_tests, { + NAME => "$module/$subdir/$_", + MANDOC => \@mandoc, + } foreach split ' ', $subvars{LINT_TARGETS}; + delete $subvars{LINT_TARGETS}; + } + if (defined $subvars{SKIP_ASCII}) { + for (split ' ', $subvars{SKIP_ASCII}) { + $skip_ascii{"$module/$subdir/$_"} = 1; + $skip_man{"$module/$subdir/$_"} = 1; + } + delete $subvars{SKIP_ASCII}; + } + if (defined $subvars{SKIP_TMAN}) { + $skip_man{"$module/$subdir/$_"} = 1 + for split ' ', $subvars{SKIP_TMAN}; + delete $subvars{SKIP_TMAN}; + } + if (defined $subvars{SKIP_MARKDOWN}) { + $skip_markdown{"$module/$subdir/$_"} = 1 + for split ' ', $subvars{SKIP_MARKDOWN}; + delete $subvars{SKIP_MARKDOWN}; + } + if (keys %subvars) { + my @vars = keys %subvars; + die "unknown var(s) @vars in dir $module/$subdir"; + } + map { + $skip_ascii{"$module/$subdir/$_"} = 1; + } @regress_testnames if $skip_ascii{"$module/$subdir/ALL"}; + map { + $skip_man{"$module/$subdir/$_"} = 1; + } @regress_testnames if $skip_man{"$module/$subdir/ALL"}; + map { + $skip_markdown{"$module/$subdir/$_"} = 1; + } @regress_testnames if $skip_markdown{"$module/$subdir/ALL"}; + } + delete $modvars{SUBDIR}; + if (keys %modvars) { + my @vars = keys %modvars; + die "unknown var(s) @vars in module $module"; + } +} + +# --- run targets ------------------------------------------------------ + +my $count_total = 0; +my $count_ascii = 0; +my $count_man = 0; +my $count_rm = 0; +if ($targets{ascii} || $targets{man}) { + print "Running ascii and man tests "; + print "...\n" if $targets{verbose}; +} +for my $test (@regress_tests) { + my $i = "$test->{NAME}.in"; + my $o = "$test->{NAME}.mandoc_ascii"; + my $w = "$test->{NAME}.out_ascii"; + if ($targets{ascii} && !$skip_ascii{$test->{NAME}} && + $test->{NAME} =~ /^$onlytest/) { + $count_ascii++; + $count_total++; + sysout $o, @{$test->{MANDOC}}, qw(-I os=OpenBSD -T ascii), $i + and fail $test->{NAME}, 'ascii:mandoc'; + system @diff, $w, $o + and fail $test->{NAME}, 'ascii:diff'; + print "." unless $targets{verbose}; + } + my $m = "$test->{NAME}.in_man"; + my $mo = "$test->{NAME}.mandoc_man"; + if ($targets{man} && !$skip_man{$test->{NAME}} && + $test->{NAME} =~ /^$onlytest/) { + $count_man++; + $count_total++; + sysout $m, @{$test->{MANDOC}}, qw(-I os=OpenBSD -T man), $i + and fail $test->{NAME}, 'man:man'; + sysout $mo, @{$test->{MANDOC}}, + qw(-man -I os=OpenBSD -T ascii -O mdoc), $m + and fail $test->{NAME}, 'man:mandoc'; + system @diff, $w, $mo + and fail $test->{NAME}, 'man:diff'; + print "." unless $targets{verbose}; + } + if ($targets{clean}) { + print "rm $o $m $mo\n" if $targets{verbose}; + $count_rm += unlink $o, $m, $mo; + } +} +if ($targets{ascii} || $targets{man}) { + print "Number of ascii and man tests:" if $targets{verbose}; + print " $count_ascii + $count_man tests run.\n"; +} + +my $count_utf8 = 0; +if ($targets{utf8}) { + print "Running utf8 tests "; + print "...\n" if $targets{verbose}; +} +for my $test (@utf8_tests) { + my $i = "$test->{NAME}.in"; + my $o = "$test->{NAME}.mandoc_utf8"; + my $w = "$test->{NAME}.out_utf8"; + if ($targets{utf8} && $test->{NAME} =~ /^$onlytest/o) { + $count_utf8++; + $count_total++; + sysout $o, @{$test->{MANDOC}}, qw(-I os=OpenBSD -T utf8), $i + and fail $test->{NAME}, 'utf8:mandoc'; + system @diff, $w, $o + and fail $test->{NAME}, 'utf8:diff'; + print "." unless $targets{verbose}; + } + if ($targets{clean}) { + print "rm $o\n" if $targets{verbose}; + $count_rm += unlink $o; + } +} +if ($targets{utf8}) { + print "Number of utf8 tests:" if $targets{verbose}; + print " $count_utf8 tests run.\n"; +} + +my $count_html = 0; +if ($targets{html}) { + print "Running html tests "; + print "...\n" if $targets{verbose}; +} +for my $test (@html_tests) { + my $i = "$test->{NAME}.in"; + my $o = "$test->{NAME}.mandoc_html"; + my $w = "$test->{NAME}.out_html"; + if ($targets{html} && $test->{NAME} =~ /^$onlytest/) { + $count_html++; + $count_total++; + syshtml $o, @{$test->{MANDOC}}, qw(-T html), $i + and fail $test->{NAME}, 'html:mandoc'; + system @diff, $w, $o + and fail $test->{NAME}, 'html:diff'; + print "." unless $targets{verbose}; + } + if ($targets{clean}) { + print "rm $o\n" if $targets{verbose}; + $count_rm += unlink $o; + } +} +if ($targets{html}) { + print "Number of html tests:" if $targets{verbose}; + print " $count_html tests run.\n"; +} + +my $count_markdown = 0; +if ($targets{markdown}) { + print "Running markdown tests "; + print "...\n" if $targets{verbose}; +} +for my $test (@regress_tests) { + my $i = "$test->{NAME}.in"; + my $o = "$test->{NAME}.mandoc_markdown"; + my $w = "$test->{NAME}.out_markdown"; + if ($targets{markdown} && !$skip_markdown{$test->{NAME}} && + $test->{NAME} =~ /^$onlytest/) { + $count_markdown++; + $count_total++; + sysout $o, @{$test->{MANDOC}}, + qw(-I os=OpenBSD -T markdown), $i + and fail $test->{NAME}, 'markdown:mandoc'; + system @diff, $w, $o + and fail $test->{NAME}, 'markdown:diff'; + print "." unless $targets{verbose}; + } + if ($targets{clean}) { + print "rm $o\n" if $targets{verbose}; + $count_rm += unlink $o; + } +} +if ($targets{markdown}) { + print "Number of markdown tests:" if $targets{verbose}; + print " $count_markdown tests run.\n"; +} + +my $count_lint = 0; +if ($targets{lint}) { + print "Running lint tests "; + print "...\n" if $targets{verbose}; +} +for my $test (@lint_tests) { + my $i = "$test->{NAME}.in"; + my $o = "$test->{NAME}.mandoc_lint"; + my $w = "$test->{NAME}.out_lint"; + if ($targets{lint} && $test->{NAME} =~ /^$onlytest/) { + $count_lint++; + $count_total++; + syslint $o, @{$test->{MANDOC}}, + qw(-I os=OpenBSD -T lint -W all), $i + and fail $test->{NAME}, 'lint:mandoc'; + system @diff, $w, $o + and fail $test->{NAME}, 'lint:diff'; + print "." unless $targets{verbose}; + } + if ($targets{clean}) { + print "rm $o\n" if $targets{verbose}; + $count_rm += unlink $o; + } +} +if ($targets{lint}) { + print "Number of lint tests:" if $targets{verbose}; + print " $count_lint tests run.\n"; +} + +# --- final report ----------------------------------------------------- + +if (@failures) { + print "\nNUMBER OF FAILED TESTS: ", scalar @failures, + " (of $count_total tests run.)\n"; + print "@$_\n" for @failures; + print "\n"; + exit 1; +} +print "\n" if $targets{verbose}; +if ($count_total == 1) { + print "Test succeeded.\n"; +} elsif ($count_total) { + print "All $count_total tests OK:"; + print " $count_ascii ascii" if $count_ascii; + print " $count_man man" if $count_man; + print " $count_utf8 utf8" if $count_utf8; + print " $count_html html" if $count_html; + print " $count_markdown markdown" if $count_markdown; + print " $count_lint lint" if $count_lint; + print "\n"; +} else { + print "No tests were run.\n"; +} +if ($targets{clean}) { + if ($count_rm) { + print "Deleted $count_rm test output files.\n"; + print "The tree is now clean.\n"; + } else { + print "No test output files were found.\n"; + print "The tree was already clean.\n"; + } +} +exit 0; diff --git a/contrib/mandoc/regress/regress.pl.1 b/contrib/mandoc/regress/regress.pl.1 new file mode 100644 index 00000000000..6870b4cb5fb --- /dev/null +++ b/contrib/mandoc/regress/regress.pl.1 @@ -0,0 +1,147 @@ +.\" $Id: regress.pl.1,v 1.3 2017/07/18 18:47:06 schwarze Exp $ +.\" +.\" Copyright (c) 2017 Ingo Schwarze +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd $Mdocdate: July 18 2017 $ +.Dt REGRESS.PL 1 +.Os +.Sh NAME +.Nm regress.pl +.Nd portable steering script for mandoc regression tests +.Sh SYNOPSIS +.Nm ./regress.pl +.Oo +.Ar directory Ns Op Pf / Ar test +.Op Ar modifier ... +.Oc +.Sh DESCRIPTION +The +.Nm +steering script allows running the +.Xr mandoc 1 +regression suite on arbitrary operating systems, +even though the suite was originally designed for OpenBSD only. +.Pp +When run without an argument, +.Nm +runs the complete regression suite. +.Pp +The first argument is a Perl regular expression to match test names, +automatically anchored at the beginning of the names. +Test names are names of test input files without the file name extension +.Pa .in , +for example +.Pa char/unicode/named . +.Pp +Any additional arguments modify the way the tests are run. +The default is +.Cm all . +The following modifiers are available: +.Bl -tag -width markdown +.It Cm all +Run all kinds of subtests. +This implies all other modifiers except +.Cm verbose +and +.Cm clean . +.It Cm ascii +Run subtests for +.Fl T Cm ascii +output mode. +.It Cm clean +Remove all output files created by running the tests. +.It Cm html +Run subtests for +.Fl T Cm html +output mode. +.It Cm lint +Run subtests for +.Fl T Cm lint +warning and error output. +.It Cm man +Run subtests for +.Fl T Cm man +output mode. +.It Cm markdown +Run subtests for +.Fl T Cm markdown +output mode. +.It Cm utf8 +Run subtests for +.Fl T Cm utf8 +output mode. +.It Cm verbose +Display approximate indications of what is being done. +.El +.Sh EXIT STATUS +.Ex -std +.Sh EXAMPLES +The recommended invocation for casual users: +.Pp +.Dl ./regress.pl +.Pp +Maximum output: +.Pp +.Dl ./regress.pl \&. verbose +.Pp +Complete check, but keep the tree clean: +.Pp +.Dl ./regress.pl \&. all clean +.Pp +Investigate a specific failure: +.Pp +.Dl ./regress.pl mdoc/Bd/broken man verbose +.Sh HISTORY +The +.Nm +script appeared in release 1.14.1 of the portable +.Sy mandoc +distribution. +.Sh AUTHORS +.An Ingo Schwarze Aq Mt schwarze@openbsd.org +.Sh CAVEATS +This script is not optimized for elegance. +Regression suites for other software should not copy the design. +.Pp +The problem it solves is that the +.Sy mandoc +regression suite is tightly integrated into the regression +testing system of the OpenBSD base system, which requires +both OpenBSD +.Xr make 1 , +working neither with POSIX make nor with GNU make, and which +also requires the OpenBSD-specific Makefile fragments in +.Pa /usr/share/mk . +The workaround of parsing the Makefiles by hand and constructing +the required command lines by hand is unavoidably messy; it's +the classic no-no of parsing a language with an ad-hoc incomplete +parser. +But the problem of providing this regression suite for other +operating systems stood unsolved for many years, and no cleaner +solution was found that could be implemented with reasonable effort. +So maybe this is better than nothing. +.Pp +The top-level Makefiles for running this regression suite on +OpenBSD are not included in the portable distribution. +They are too OpenBSD-specific to be useful elsewhere, +and on OpenBSD itself, the suite ought be run natively from +.Pa /usr/src/regress/usr.bin/mandoc +and not from the portable distribution. +.Pp +The +.Pa db +subdirectory of the regression suite is not included. +It uses a Makefile structure that differs vastly from the +rest of the suite. diff --git a/contrib/mandoc/regress/roff/Makefile b/contrib/mandoc/regress/roff/Makefile new file mode 100644 index 00000000000..6150103392f --- /dev/null +++ b/contrib/mandoc/regress/roff/Makefile @@ -0,0 +1,7 @@ +# $OpenBSD: Makefile,v 1.20 2015/02/06 16:05:51 schwarze Exp $ + +SUBDIR = args cond esc scale string +SUBDIR += br cc de ds ft ig it ll na nr po ps rm rn sp ta ti tr + +.include "../Makefile.sub" +.include diff --git a/contrib/mandoc/regress/roff/Makefile.inc b/contrib/mandoc/regress/roff/Makefile.inc new file mode 100644 index 00000000000..9b05b274baf --- /dev/null +++ b/contrib/mandoc/regress/roff/Makefile.inc @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile.inc,v 1.3 2015/02/03 19:37:25 schwarze Exp $ + +SKIP_TMAN ?= ALL +SKIP_MARKDOWN ?= ALL + +.include "../Makefile.inc" diff --git a/contrib/mandoc/regress/roff/args/Makefile b/contrib/mandoc/regress/roff/args/Makefile new file mode 100644 index 00000000000..3d756c97ee6 --- /dev/null +++ b/contrib/mandoc/regress/roff/args/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.4 2014/07/06 19:08:57 schwarze Exp $ + +REGRESS_TARGETS = roff man mdoc +LINT_TARGETS = roff man mdoc + +.include diff --git a/contrib/mandoc/regress/roff/args/man.in b/contrib/mandoc/regress/roff/args/man.in new file mode 100644 index 00000000000..e094cd48b1c --- /dev/null +++ b/contrib/mandoc/regress/roff/args/man.in @@ -0,0 +1,135 @@ +.\" $OpenBSD: man.in,v 1.5 2017/07/04 14:53:26 schwarze Exp $ +.TH ARGS-MAN 1 "November 19, 2014" +.SH NAME +args-man - arguments to man macros +.SH DESCRIPTION +standard unquoted: +.IB one two +text +.br +escaped blanks: +.IB one\ one two\ two +text +.br +escaped 'e' character: +.IB one\eone two +text +.br +.\"escaped backslash before blank: +.\"IB one\\ two +.\"text +.\"br +escaped backslash before 'e' character: +.IB one\\e two +text +.br +double inter-argument space: +.IB one two +text +.br +triple inter-argument space: +.IB one two +text +.br +single eol blank: +.IB one two +text +.br +double eol blank: +.IB one two +text +.br +triple eol blank: +.IB one two +text +.br +standard quoted: +.IB "one" "two" +text +.br +quoted quotes: +.IB "one""one" """two""" +text +.br +quoted whitespace: +.IB "one one" "two two" +text +.br +escaped 'e' characters: +.IB "one \e one" "\e" +text +.br +escaped backslash before blank: +.IB "one\\ one" "\\ " +text +.br +escaped backslash before 'e' character: +.IB "one\\eone" "\\e" +text +.br +double inter-argument space: +.IB "one one" "two two" +text +.br +triple inter-argument space: +.IB "one one" "two two" +text +.br +missing inter-argument space: +.IB "one one"two\ two +text +.br +single eol blank: +.IB "one one" "two two" +text +.br +double eol blank: +.IB "one one" "two two" +text +.br +triple eol blank: +.IB "one one" "two two" +text +.br +.\" Disabled for now because mandoc man(7) seems to +.\" mishandle trailing blanks in arguments, +.\" but that really isn't urgent to fix. +.ig +trailing blanks in arguments: +.IB "one " "two " +text +.br +.. +unterminated quotes: +.IB "one +text +.br +.IB one "two +text +.br +.ig +single trailing blank in unterminated quotes: +.IB "one +text +.br +.IB one "two +text +.br +double trailing blank in unterminated quotes: +.IB "one +text +.br +.IB one "two +text +.br +.. +tab after macro: +.IB one two +text +.br +escape sequence after macro: +.IB\(lqone two +text +.br +backslash at eol: +.IB one two\ diff --git a/contrib/mandoc/regress/roff/args/man.out_ascii b/contrib/mandoc/regress/roff/args/man.out_ascii new file mode 100644 index 00000000000..20d5c73a1e3 --- /dev/null +++ b/contrib/mandoc/regress/roff/args/man.out_ascii @@ -0,0 +1,38 @@ +ARGS-MAN(1) General Commands Manual ARGS-MAN(1) + + + +NNAAMMEE + args-man - arguments to man macros + +DDEESSCCRRIIPPTTIIOONN + standard unquoted: _o_n_ettwwoo text + escaped blanks: _o_n_e _o_n_ettwwoo ttwwoo text + escaped 'e' character: _o_n_e_\_o_n_ettwwoo text + escaped backslash before 'e' character: _o_n_e_\ttwwoo text + double inter-argument space: _o_n_ettwwoo text + triple inter-argument space: _o_n_ettwwoo text + single eol blank: _o_n_ettwwoo text + double eol blank: _o_n_ettwwoo text + triple eol blank: _o_n_ettwwoo text + standard quoted: _o_n_ettwwoo text + quoted quotes: _o_n_e_"_o_n_e""ttwwoo"" text + quoted whitespace: _o_n_e _o_n_ettwwoo ttwwoo text + escaped 'e' characters: _o_n_e _\ _o_n_e\\ text + escaped backslash before blank: _o_n_e _o_n_e text + escaped backslash before 'e' character: _o_n_e_\_o_n_e\\ text + double inter-argument space: _o_n_e _o_n_ettwwoo ttwwoo text + triple inter-argument space: _o_n_e _o_n_ettwwoo ttwwoo text + missing inter-argument space: _o_n_e _o_n_ettwwoo ttwwoo text + single eol blank: _o_n_e _o_n_ettwwoo ttwwoo text + double eol blank: _o_n_e _o_n_ettwwoo ttwwoo text + triple eol blank: _o_n_e _o_n_ettwwoo ttwwoo text + unterminated quotes: _o_n_e text + _o_n_ettwwoo text + tab after macro: _o_n_ettwwoo text + escape sequence after macro: _o_n_ettwwoo text + backslash at eol: _o_n_ettwwoo + + + +OpenBSD November 19, 2014 ARGS-MAN(1) diff --git a/contrib/mandoc/regress/roff/args/man.out_lint b/contrib/mandoc/regress/roff/args/man.out_lint new file mode 100644 index 00000000000..6d6bbd84e3d --- /dev/null +++ b/contrib/mandoc/regress/roff/args/man.out_lint @@ -0,0 +1,9 @@ +mandoc: man.in:35:13: STYLE: whitespace at end of input line +mandoc: man.in:39:14: STYLE: whitespace at end of input line +mandoc: man.in:43:15: STYLE: whitespace at end of input line +mandoc: man.in:83:25: STYLE: whitespace at end of input line +mandoc: man.in:87:26: STYLE: whitespace at end of input line +mandoc: man.in:91:27: STYLE: whitespace at end of input line +mandoc: man.in:104:5: STYLE: unterminated quoted argument +mandoc: man.in:107:9: STYLE: unterminated quoted argument +mandoc: man.in:131:1: ERROR: escaped character not allowed in a name: IB\( diff --git a/contrib/mandoc/regress/roff/args/mdoc.in b/contrib/mandoc/regress/roff/args/mdoc.in new file mode 100644 index 00000000000..87272c8104b --- /dev/null +++ b/contrib/mandoc/regress/roff/args/mdoc.in @@ -0,0 +1,125 @@ +.\" $OpenBSD: mdoc.in,v 1.3 2017/07/04 14:53:26 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ARGS-MDOC 1 +.Os +.Sh NAME +.Nm args-mdoc +.Nd arguments to mdoc macros +.Sh DESCRIPTION +standard unquoted: +.Fl one two +text +.br +escaped blanks: +.Fl one\ one two\ two +text +.br +escaped 'e' character: +.Fl one\eone two +text +.br +.\"escaped backslash before blank: +.\"Fl one\\ two +.\"text +.\"br +escaped backslash before 'e' character: +.Fl one\\e two +text +.br +double inter-argument space: +.Fl one two +text +.br +triple inter-argument space: +.Fl one two +text +.br +single eol blank: +.Fl one two +text +.br +double eol blank: +.Fl one two +text +.br +triple eol blank: +.Fl one two +text +.br +standard quoted: +.Fl "one" "two" +text +.br +quoted quotes: +.Fl "one""one" """two""" +text +.br +quoted whitespace: +.Fl "one one" "two two" +text +.br +escaped 'e' characters: +.Fl "one \e one" "\e" +text +.br +.\"escaped backslash before blank: +.\"Fl "one\\ one" "\\ " +.\"text +.\"br +.\"escaped backslash before 'e' character: +.\"Fl "one\\eone" "\\e" +.\"text +.\"br +double inter-argument space: +.Fl "one one" "two two" +text +.br +triple inter-argument space: +.Fl "one one" "two two" +text +.br +missing inter-argument space: +.Fl "one one"two\ two +text +.br +single eol blank: +.Fl "one one" "two two" +text +.br +double eol blank: +.Fl "one one" "two two" +text +.br +triple eol blank: +.Fl "one one" "two two" +text +.br +trailing blanks in arguments: +.Fl "one " "two " +text +.br +unterminated quotes: +.Fl "one +.Fl one "two +text +.br +single trailing blank in unterminated quotes: +.Fl "one +.Fl one "two +text +.br +double trailing blank in unterminated quotes: +.Fl "one +.Fl one "two +text +.br +tab after macro: +.Fl one two +text +.br +escape sequence after macro: +.Fl\(lqone two +text +.br +backslash at eol: +.Fl one two\ diff --git a/contrib/mandoc/regress/roff/args/mdoc.out_ascii b/contrib/mandoc/regress/roff/args/mdoc.out_ascii new file mode 100644 index 00000000000..b92ca0dc1a0 --- /dev/null +++ b/contrib/mandoc/regress/roff/args/mdoc.out_ascii @@ -0,0 +1,34 @@ +ARGS-MDOC(1) General Commands Manual ARGS-MDOC(1) + +NNAAMMEE + aarrggss--mmddoocc - arguments to mdoc macros + +DDEESSCCRRIIPPTTIIOONN + standard unquoted: --oonnee --ttwwoo text + escaped blanks: --oonnee oonnee --ttwwoo ttwwoo text + escaped 'e' character: --oonnee\\oonnee --ttwwoo text + escaped backslash before 'e' character: --oonnee\\ --ttwwoo text + double inter-argument space: --oonnee --ttwwoo text + triple inter-argument space: --oonnee --ttwwoo text + single eol blank: --oonnee --ttwwoo text + double eol blank: --oonnee --ttwwoo text + triple eol blank: --oonnee --ttwwoo text + standard quoted: --oonnee --ttwwoo text + quoted quotes: --oonnee""oonnee --""ttwwoo"" text + quoted whitespace: --oonnee oonnee --ttwwoo ttwwoo text + escaped 'e' characters: --oonnee \\ oonnee --\\ text + double inter-argument space: --oonnee oonnee --ttwwoo ttwwoo text + triple inter-argument space: --oonnee oonnee --ttwwoo ttwwoo text + missing inter-argument space: --oonnee oonnee --ttwwoo ttwwoo text + single eol blank: --oonnee oonnee --ttwwoo ttwwoo text + double eol blank: --oonnee oonnee --ttwwoo ttwwoo text + triple eol blank: --oonnee oonnee --ttwwoo ttwwoo text + trailing blanks in arguments: --oonnee --ttwwoo text + unterminated quotes: --oonnee --oonnee --ttwwoo text + single trailing blank in unterminated quotes: --oonnee --oonnee --ttwwoo text + double trailing blank in unterminated quotes: --oonnee --oonnee --ttwwoo text + tab after macro: --oonnee --ttwwoo text + escape sequence after macro: --oonnee --ttwwoo text + backslash at eol: --oonnee --ttwwoo + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/args/mdoc.out_lint b/contrib/mandoc/regress/roff/args/mdoc.out_lint new file mode 100644 index 00000000000..f4715ba21ad --- /dev/null +++ b/contrib/mandoc/regress/roff/args/mdoc.out_lint @@ -0,0 +1,13 @@ +mandoc: mdoc.in:38:13: STYLE: whitespace at end of input line +mandoc: mdoc.in:42:14: STYLE: whitespace at end of input line +mandoc: mdoc.in:46:15: STYLE: whitespace at end of input line +mandoc: mdoc.in:86:25: STYLE: whitespace at end of input line +mandoc: mdoc.in:90:26: STYLE: whitespace at end of input line +mandoc: mdoc.in:94:27: STYLE: whitespace at end of input line +mandoc: mdoc.in:102:9: STYLE: unterminated quoted argument +mandoc: mdoc.in:103:13: STYLE: unterminated quoted argument +mandoc: mdoc.in:107:10: STYLE: unterminated quoted argument +mandoc: mdoc.in:108:14: STYLE: unterminated quoted argument +mandoc: mdoc.in:112:11: STYLE: unterminated quoted argument +mandoc: mdoc.in:113:15: STYLE: unterminated quoted argument +mandoc: mdoc.in:121:1: ERROR: escaped character not allowed in a name: Fl\( diff --git a/contrib/mandoc/regress/roff/args/roff.in b/contrib/mandoc/regress/roff/args/roff.in new file mode 100644 index 00000000000..1089d0c2e39 --- /dev/null +++ b/contrib/mandoc/regress/roff/args/roff.in @@ -0,0 +1,72 @@ +.\" $OpenBSD: roff.in,v 1.5 2017/07/04 14:53:26 schwarze Exp $ +.TH ARGS-ROFF 1 "February 21, 2015" +.SH NAME +args-roff - arguments to roff macros +.SH DESCRIPTION +.de test +.BI (\\$1) "(\\$2)" +.br +.. +arguments containing quotes: +.test a"b a"b +.de test +(\\$1) (\\$2) +.br +.. +standard unquoted: +.test one two +escaped blanks: +.test one\ one two\ two +escaped 'e' character: +.test one\eone two +escaped backslash before blank: +.test one\\ two +escaped backslash before 'e' character: +.test one\\e two +double inter-argument space: +.test one two +triple inter-argument space: +.test one two +single eol blank: +.test one two +double eol blank: +.test one two +triple eol blank: +.test one two +standard quoted: +.test "one" "two" +quoted quotes: +.test "one""one" """two""" +quoted whitespace: +.test "one one" "two two" +escaped 'e' characters: +.test "one \e one" "\e" +escaped backslash before blank: +.test "one\\ one" "\\ " +escaped backslash before 'e' character: +.test "one\\eone" "\\e" +double inter-argument space: +.test "one one" "two two" +triple inter-argument space: +.test "one one" "two two" +missing inter-argument space: +.test "one one"two\ two +single eol blank: +.test "one one" "two two" +double eol blank: +.test "one one" "two two" +triple eol blank: +.test "one one" "two two" +trailing blanks in arguments: +.test "one " "two " +unterminated quotes: +.test "one +.test one "two +single trailing blank in unterminated quotes: +.test "one +.test one "two +double trailing blank in unterminated quotes: +.test "one +.test one "two +backslash at eol: +.test one two\ diff --git a/contrib/mandoc/regress/roff/args/roff.out_ascii b/contrib/mandoc/regress/roff/args/roff.out_ascii new file mode 100644 index 00000000000..70eaf6b2955 --- /dev/null +++ b/contrib/mandoc/regress/roff/args/roff.out_ascii @@ -0,0 +1,43 @@ +ARGS-ROFF(1) General Commands Manual ARGS-ROFF(1) + + + +NNAAMMEE + args-roff - arguments to roff macros + +DDEESSCCRRIIPPTTIIOONN + arguments containing quotes: ((aa""bb))_(_a_"_b_) + standard unquoted: (one) (two) + escaped blanks: (one one) (two two) + escaped 'e' character: (one\one) (two) + escaped backslash before blank: (one) (two) + escaped backslash before 'e' character: (one\) (two) + double inter-argument space: (one) (two) + triple inter-argument space: (one) (two) + single eol blank: (one) (two) + double eol blank: (one) (two) + triple eol blank: (one) (two) + standard quoted: (one) (two) + quoted quotes: (one"one) ("two") + quoted whitespace: (one one) (two two) + escaped 'e' characters: (one \ one) (\) + escaped backslash before blank: (one one) ( ) + escaped backslash before 'e' character: (one\one) (\) + double inter-argument space: (one one) (two two) + triple inter-argument space: (one one) (two two) + missing inter-argument space: (one one) (two two) + single eol blank: (one one) (two two) + double eol blank: (one one) (two two) + triple eol blank: (one one) (two two) + trailing blanks in arguments: (one ) (two ) + unterminated quotes: (one) () + (one) (two) + single trailing blank in unterminated quotes: (one ) () + (one) (two ) + double trailing blank in unterminated quotes: (one ) () + (one) (two ) + backslash at eol: (one) (two) + + + +OpenBSD February 21, 2015 ARGS-ROFF(1) diff --git a/contrib/mandoc/regress/roff/args/roff.out_lint b/contrib/mandoc/regress/roff/args/roff.out_lint new file mode 100644 index 00000000000..5ac03917282 --- /dev/null +++ b/contrib/mandoc/regress/roff/args/roff.out_lint @@ -0,0 +1,16 @@ +mandoc: roff.in:31:15: STYLE: whitespace at end of input line +mandoc: roff.in:33:16: STYLE: whitespace at end of input line +mandoc: roff.in:35:17: STYLE: whitespace at end of input line +mandoc: roff.in:55:27: STYLE: whitespace at end of input line +mandoc: roff.in:57:28: STYLE: whitespace at end of input line +mandoc: roff.in:59:29: STYLE: whitespace at end of input line +mandoc: roff.in:63:7: STYLE: unterminated quoted argument +mandoc: roff.in:64:11: STYLE: unterminated quoted argument +mandoc: roff.in:66:7: STYLE: unterminated quoted argument +mandoc: roff.in:66:12: STYLE: whitespace at end of input line +mandoc: roff.in:67:11: STYLE: unterminated quoted argument +mandoc: roff.in:67:16: STYLE: whitespace at end of input line +mandoc: roff.in:69:7: STYLE: unterminated quoted argument +mandoc: roff.in:69:13: STYLE: whitespace at end of input line +mandoc: roff.in:70:11: STYLE: unterminated quoted argument +mandoc: roff.in:70:17: STYLE: whitespace at end of input line diff --git a/contrib/mandoc/regress/roff/br/Makefile b/contrib/mandoc/regress/roff/br/Makefile new file mode 100644 index 00000000000..4d383beed0d --- /dev/null +++ b/contrib/mandoc/regress/roff/br/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.3 2015/02/06 08:28:04 schwarze Exp $ + +REGRESS_TARGETS = args +LINT_TARGETS = args + +.include diff --git a/contrib/mandoc/regress/roff/br/args.in b/contrib/mandoc/regress/roff/br/args.in new file mode 100644 index 00000000000..fe73c7cd03a --- /dev/null +++ b/contrib/mandoc/regress/roff/br/args.in @@ -0,0 +1,10 @@ +.\" $OpenBSD: args.in,v 1.3 2017/07/04 14:53:26 schwarze Exp $ +.TH BR-ARGS 1 "January 17, 2011" +.SH NAME +br-args \- arguments to .br macros +.SH DESCRIPTION +some +text +.br arg1 arg2 arg3 +more +text diff --git a/contrib/mandoc/regress/roff/br/args.out_ascii b/contrib/mandoc/regress/roff/br/args.out_ascii new file mode 100644 index 00000000000..b4d7c40b698 --- /dev/null +++ b/contrib/mandoc/regress/roff/br/args.out_ascii @@ -0,0 +1,14 @@ +BR-ARGS(1) General Commands Manual BR-ARGS(1) + + + +NNAAMMEE + br-args - arguments to .br macros + +DDEESSCCRRIIPPTTIIOONN + some text + more text + + + +OpenBSD January 17, 2011 BR-ARGS(1) diff --git a/contrib/mandoc/regress/roff/br/args.out_lint b/contrib/mandoc/regress/roff/br/args.out_lint new file mode 100644 index 00000000000..69c9384aeaa --- /dev/null +++ b/contrib/mandoc/regress/roff/br/args.out_lint @@ -0,0 +1 @@ +mandoc: args.in:8:5: ERROR: skipping all arguments: br arg1 arg2 arg3 diff --git a/contrib/mandoc/regress/roff/cc/Makefile b/contrib/mandoc/regress/roff/cc/Makefile new file mode 100644 index 00000000000..33951ead8b5 --- /dev/null +++ b/contrib/mandoc/regress/roff/cc/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.2 2015/02/06 16:05:51 schwarze Exp $ + +REGRESS_TARGETS = basic +LINT_TARGETS = basic + +.include diff --git a/contrib/mandoc/regress/roff/cc/basic.in b/contrib/mandoc/regress/roff/cc/basic.in new file mode 100644 index 00000000000..3adc353097d --- /dev/null +++ b/contrib/mandoc/regress/roff/cc/basic.in @@ -0,0 +1,20 @@ +.\" $OpenBSD: basic.in,v 1.3 2017/07/04 14:53:26 schwarze Exp $ +.TH CC-BASIC 1 "July 7, 2012" +.SH NAME +cc-basic \- basic usage of the cc request +.SH DESCRIPTION +first line +.br +second +.cc : +line +:br +third +:cc ;bogus +line +;br +fourth +;cc +line +.br +last line diff --git a/contrib/mandoc/regress/roff/cc/basic.out_ascii b/contrib/mandoc/regress/roff/cc/basic.out_ascii new file mode 100644 index 00000000000..530f1ff2710 --- /dev/null +++ b/contrib/mandoc/regress/roff/cc/basic.out_ascii @@ -0,0 +1,17 @@ +CC-BASIC(1) General Commands Manual CC-BASIC(1) + + + +NNAAMMEE + cc-basic - basic usage of the cc request + +DDEESSCCRRIIPPTTIIOONN + first line + second line + third line + fourth line + last line + + + +OpenBSD July 7, 2012 CC-BASIC(1) diff --git a/contrib/mandoc/regress/roff/cc/basic.out_lint b/contrib/mandoc/regress/roff/cc/basic.out_lint new file mode 100644 index 00000000000..a681fda291f --- /dev/null +++ b/contrib/mandoc/regress/roff/cc/basic.out_lint @@ -0,0 +1 @@ +mandoc: basic.in:13:6: ERROR: skipping excess arguments: cc ... bogus diff --git a/contrib/mandoc/regress/roff/cond/Makefile b/contrib/mandoc/regress/roff/cond/Makefile new file mode 100644 index 00000000000..65d7be522c6 --- /dev/null +++ b/contrib/mandoc/regress/roff/cond/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.8 2015/05/31 23:12:17 schwarze Exp $ + +REGRESS_TARGETS = if ie close numeric register strcmp string before-Dd +LINT_TARGETS = if close + +.include diff --git a/contrib/mandoc/regress/roff/cond/before-Dd.in b/contrib/mandoc/regress/roff/cond/before-Dd.in new file mode 100644 index 00000000000..65f3241f651 --- /dev/null +++ b/contrib/mandoc/regress/roff/cond/before-Dd.in @@ -0,0 +1,31 @@ +.\" $OpenBSD: before-Dd.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.if n \{.ds mystring mytext +.\} +.Dd $Mdocdate: July 4 2017 $ +.Dt IF-BEFORE-DD 1 +.Os +.Sh NAME +.Nm if-before-Dd +.Nd end of if block on its own line before Dd +.Sh DESCRIPTION +In an old version of +.Xr mandoc 1 , +.Xr mdoc 7 +file format autodetection failed when the end of an +.Ic if +block stood on its own line before the initial +.Xr mdoc 7 +.Ic Dd +macro. +The file was mishandled as +.Xr man 7 +and parsing failed with unknown macro errors. +.Pp +If the present document looks like a proper +.Xr mdoc 7 +document and the following display reads +.Dq mytext , +then the problem did not come back: +.Bd -ragged -offset indent +\*[mystring] +.Ed diff --git a/contrib/mandoc/regress/roff/cond/before-Dd.out_ascii b/contrib/mandoc/regress/roff/cond/before-Dd.out_ascii new file mode 100644 index 00000000000..de6410e15c1 --- /dev/null +++ b/contrib/mandoc/regress/roff/cond/before-Dd.out_ascii @@ -0,0 +1,17 @@ +IF-BEFORE-DD(1) General Commands Manual IF-BEFORE-DD(1) + +NNAAMMEE + iiff--bbeeffoorree--DDdd - end of if block on its own line before Dd + +DDEESSCCRRIIPPTTIIOONN + In an old version of mandoc(1), mdoc(7) file format autodetection failed + when the end of an iiff block stood on its own line before the initial + mdoc(7) DDdd macro. The file was mishandled as man(7) and parsing failed + with unknown macro errors. + + If the present document looks like a proper mdoc(7) document and the + following display reads "mytext", then the problem did not come back: + + mytext + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/cond/close.in b/contrib/mandoc/regress/roff/cond/close.in new file mode 100644 index 00000000000..6bdf3781503 --- /dev/null +++ b/contrib/mandoc/regress/roff/cond/close.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: close.in,v 1.3 2017/07/04 14:53:26 schwarze Exp $ +.TH COND-CLOSE 1 2013-06-27 +.SH NAME +cond-close \- closing conditional macros +.SH DESCRIPTION +.if t \{.unknown \} +closing after an unknown macro +.PP +.if t \{.ig \} +closing after an ignored macro +.PP +.if t \{text \} +closing after plain text +.PP +.if n \{ +still open at the end of the file diff --git a/contrib/mandoc/regress/roff/cond/close.out_ascii b/contrib/mandoc/regress/roff/cond/close.out_ascii new file mode 100644 index 00000000000..244d41548df --- /dev/null +++ b/contrib/mandoc/regress/roff/cond/close.out_ascii @@ -0,0 +1,19 @@ +COND-CLOSE(1) General Commands Manual COND-CLOSE(1) + + + +NNAAMMEE + cond-close - closing conditional macros + +DDEESSCCRRIIPPTTIIOONN + closing after an unknown macro + + closing after an ignored macro + + closing after plain text + + still open at the end of the file + + + +OpenBSD 2013-06-27 COND-CLOSE(1) diff --git a/contrib/mandoc/regress/roff/cond/close.out_lint b/contrib/mandoc/regress/roff/cond/close.out_lint new file mode 100644 index 00000000000..4387b057d3b --- /dev/null +++ b/contrib/mandoc/regress/roff/cond/close.out_lint @@ -0,0 +1,2 @@ +mandoc: close.in:15:2: ERROR: appending missing end of block: if +mandoc: close.in:15:9: WARNING: skipping paragraph macro: sp after PP diff --git a/contrib/mandoc/regress/roff/cond/ie.in b/contrib/mandoc/regress/roff/cond/ie.in new file mode 100644 index 00000000000..580f4270302 --- /dev/null +++ b/contrib/mandoc/regress/roff/cond/ie.in @@ -0,0 +1,39 @@ +.\" $OpenBSD: ie.in,v 1.6 2017/07/04 22:49:59 schwarze Exp $ +.TH IE 1 "July 4, 2017" +.SH NAME +if \- the roff conditional instruction with else-clause +.SH DESCRIPTION +.el Initially, else is ignored. +.ie n One-line true condition. +.br +Text following the true condition. +.el One-line else after true. +.el Another else after true. +.br +.ie n \{\ +Two-line +true condition. +.br\} +.el \{\ +Two-line +else after true. +.br\} +.ie t One-line false condition. +Text following the false condition. +.br +.el \{Two-line else +after false.\} +.br +.el Another else after false. +.br +.ie +Text following an empty condition. +.el Else after empty condition. +.br +.ie ! +Text following negated empty condition. +.el Else after negated empty condition. +.br +.ie n If \&.el\e{ works, nothing follows here: +.el\{dummy +BOOHOO\} diff --git a/contrib/mandoc/regress/roff/cond/ie.out_ascii b/contrib/mandoc/regress/roff/cond/ie.out_ascii new file mode 100644 index 00000000000..3dee8d40f35 --- /dev/null +++ b/contrib/mandoc/regress/roff/cond/ie.out_ascii @@ -0,0 +1,20 @@ +IE(1) General Commands Manual IE(1) + + + +NNAAMMEE + if - the roff conditional instruction with else-clause + +DDEESSCCRRIIPPTTIIOONN + One-line true condition. + Text following the true condition. + Two-line true condition. + Text following the false condition. + Two-line else after false. + Else after empty condition. + Else after negated empty condition. + If .el\{ works, nothing follows here: + + + +OpenBSD July 4, 2017 IE(1) diff --git a/contrib/mandoc/regress/roff/cond/if.in b/contrib/mandoc/regress/roff/cond/if.in new file mode 100644 index 00000000000..3df3be78f1b --- /dev/null +++ b/contrib/mandoc/regress/roff/cond/if.in @@ -0,0 +1,98 @@ +.\" $OpenBSD: if.in,v 1.8 2017/07/04 14:53:26 schwarze Exp $ +.TH IF 1 "June 27, 2015" +.SH NAME +if \- the roff conditional instruction +.SH DESCRIPTION +.if n One-line true condition. +.if t One-line false condition. +.if n +Next-line empty true condition. +.if t +Next-line empty false condition. +.br +False condition with whitespace: +.br +.if t +True condition with whitespace: +.if n +.if n \{One-line true cond\}ition with block. +.if t \{One-line false cond\}ition with block. +.br +.if n \{ One-line true cond\}ition with block with leading blanks. +.if t \{ One-line false cond\}ition with block with leading blanks. +.br +.if n \{Two-line true condition +without cont\}inuation and macros. +.if t \{Two-line false condition +without cont\}inuation and macros. +.br +.if n \{Two-line true condition +.B without cont\}inuation but with macros. +.if t \{Two-line false condition +.B without cont\}inuation but with macros. +.br +.if n \{\ +Two-line true condition +with continuation and macros. +.\}This will not be printed. +.if t \{\ +Two-line false condition +with continuation and macros. +.\}This will not be printed. +.br +.if n \{ +Two-line true condition with blank line.\} +.if t \{ +Two-line false condition with blank line.\} +.br +.if n \{Outer true condition. +.br +.if n Inner one-line true condition. +.if t Inner one-line false condition. +.br +.if n \{Inner two-line true condition +without continuation and macros.\} +.if t \{Inner two-line false condition +without continuation and macros.\} +.br +Back to the outer true condition.\} +.br +.if t \{Outer false condition. +.br +.if n Inner one-line true condition. +.if t Inner one-line false condition. +.br +.if n \{Inner two-line true condition +without continuation and macros.\} +.if t \{Inner two-line false condition +without continuation and macros.\} +.br +Back to the outer false condition.\} +.br +.if n \{Outer true condition. +.if t \{Inner false condition. +inner\}middle\}end +After conditional. +.br +.if n \{Outer true condition. +.if t \{Inner false condition. +.\}middle\}end +After conditional. +.br +.if n \{Outer true condition. +.if n \{Inner true condition. +.\}middle\}end +After conditional. +.br +.if n \{Outer true condition. +.if t \{Inner false condition. +.B\}middle\}end +After conditional. +.br +Backslash-backslash-brace in text: +.if t \{This text is not printed.\\} +This neither.\} +On a macro line: +.if t \{.B This text\\} is not printed. +.B This\} neither. +End. diff --git a/contrib/mandoc/regress/roff/cond/if.out_ascii b/contrib/mandoc/regress/roff/cond/if.out_ascii new file mode 100644 index 00000000000..7fb9eecc5bf --- /dev/null +++ b/contrib/mandoc/regress/roff/cond/if.out_ascii @@ -0,0 +1,34 @@ +IF(1) General Commands Manual IF(1) + + + +NNAAMMEE + if - the roff conditional instruction + +DDEESSCCRRIIPPTTIIOONN + One-line true condition. + + Next-line empty true condition. + False condition with whitespace: + True condition with whitespace: + + One-line true condition with block. + One-line true condition with block with leading blanks. + Two-line true condition without continuation and macros. + Two-line true condition wwiitthhoouutt ccoonnttiinnuuaattiioonn bbuutt wwiitthh mmaaccrrooss.. + Two-line true condition with continuation and macros. + + Two-line true condition with blank line. + Outer true condition. + Inner one-line true condition. + Inner two-line true condition without continuation and macros. + Back to the outer true condition. + Outer true condition. After conditional. + Outer true condition. After conditional. + Outer true condition. Inner true condition. After conditional. + Outer true condition. After conditional. + Backslash-backslash-brace in text: On a macro line: End. + + + +OpenBSD June 27, 2015 IF(1) diff --git a/contrib/mandoc/regress/roff/cond/if.out_lint b/contrib/mandoc/regress/roff/cond/if.out_lint new file mode 100644 index 00000000000..5fb37795c81 --- /dev/null +++ b/contrib/mandoc/regress/roff/cond/if.out_lint @@ -0,0 +1,2 @@ +mandoc: if.in:15:2: WARNING: conditional request controls empty scope: if +mandoc: if.in:17:2: WARNING: conditional request controls empty scope: if diff --git a/contrib/mandoc/regress/roff/cond/numeric.in b/contrib/mandoc/regress/roff/cond/numeric.in new file mode 100644 index 00000000000..d29660b997c --- /dev/null +++ b/contrib/mandoc/regress/roff/cond/numeric.in @@ -0,0 +1,153 @@ +.\" $OpenBSD: numeric.in,v 1.5 2017/07/04 14:53:26 schwarze Exp $ +.TH COND-NUMERIC 1 "December 16, 2014" +.SH NAME +cond-numeric \- roff conditions involving numbers +.SH DESCRIPTION +positive number: +plain +.ie 42 (t) +.el (f) +negated +.ie !42 (t) +.el (f) +.PP +negative number: +plain +.ie -42 (t) +.el (f) +negated +.ie !-42 (t) +.el (f) +.PP +second number missing: +.ie 42=bad worse +.el ok +.PP +operator "<": +smaller +.ie 1<2 (t) +.el (f) +equal +.ie 1<1 (t) +.el (f) +greater +.ie 2<1 (t) +.el (f) +.PP +operator "<=": +smaller +.ie 1<=2 (t) +.el (f) +equal +.ie 1<=1 (t) +.el (f) +greater +.ie 2<=1 (t) +.el (f) +.PP +operator "=": +smaller +.ie 1=2 (t) +.el (f) +equal +.ie 1=1 (t) +.el (f) +greater +.ie 2=1 (t) +.el (f) +.PP +operator "==": +smaller +.ie 1==2 (t) +.el (f) +equal +.ie 1==1 (t) +.el (f) +greater +.ie 2==1 (t) +.el (f) +.PP +operator ">=": +smaller +.ie 1>=2 (t) +.el (f) +equal +.ie 1>=1 (t) +.el (f) +greater +.ie 2>=1 (t) +.el (f) +.PP +operator ">": +smaller +.ie 1>2 (t) +.el (f) +equal +.ie 1>1 (t) +.el (f) +greater +.ie 2>1 (t) +.el (f) +.PP +with negative numbers: +mm +.ie -2<-1 (t) +.el (f) +mp +.ie -2<1 (t) +.el (f) +pm +.ie 1>-2 (t) +.el (f) +.PP +operator "&": +00 +.ie 0&0 (t) +.el (f) +01 +.ie 0&1 (t) +.el (f) +10 +.ie 1&0 (t) +.el (f) +11 +.ie 1&1 (t) +.el (f) +.PP +operator ":": +00 +.ie 0:0 (t) +.el (f) +01 +.ie 0:1 (t) +.el (f) +10 +.ie 1:0 (t) +.el (f) +11 +.ie 1:1 (t) +.el (f) +.PP +with scaling units: +1i>2c +.ie 1i>2c (t) +.el (f) +1i-6P +.ie 1i-6P (t) +.el (f) +.PP +unmatched parenthesis: +.ie ( +(t) +.el (f) +one +.ie (1 (t) +.el (f) +.PP +negated unmatched parenthesis: +.ie !( +(t) +.el (f) +zero +.ie !(0 (t) +.el (f) diff --git a/contrib/mandoc/regress/roff/cond/numeric.out_ascii b/contrib/mandoc/regress/roff/cond/numeric.out_ascii new file mode 100644 index 00000000000..35973672f01 --- /dev/null +++ b/contrib/mandoc/regress/roff/cond/numeric.out_ascii @@ -0,0 +1,41 @@ +COND-NUMERIC(1) General Commands Manual COND-NUMERIC(1) + + + +NNAAMMEE + cond-numeric - roff conditions involving numbers + +DDEESSCCRRIIPPTTIIOONN + positive number: plain (t) negated (f) + + negative number: plain (f) negated (t) + + second number missing: ok + + operator "<": smaller (t) equal (f) greater (f) + + operator "<=": smaller (t) equal (t) greater (f) + + operator "=": smaller (f) equal (t) greater (f) + + operator "==": smaller (f) equal (t) greater (f) + + operator ">=": smaller (f) equal (t) greater (t) + + operator ">": smaller (f) equal (f) greater (t) + + with negative numbers: mm (t) mp (t) pm (t) + + operator "&": 00 (f) 01 (f) 10 (f) 11 (t) + + operator ":": 00 (f) 01 (t) 10 (t) 11 (t) + + with scaling units: 1i>2c (t) 1i-6P (f) + + unmatched parenthesis: (f) one (t) + + negated unmatched parenthesis: (f) zero (t) + + + +OpenBSD December 16, 2014 COND-NUMERIC(1) diff --git a/contrib/mandoc/regress/roff/cond/register.in b/contrib/mandoc/regress/roff/cond/register.in new file mode 100644 index 00000000000..44c53a84e11 --- /dev/null +++ b/contrib/mandoc/regress/roff/cond/register.in @@ -0,0 +1,12 @@ +.\" $OpenBSD: register.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.TH REGISTER 1 "May 31, 2015" +.SH NAME +register \- conditional testing whether a register is defined +.SH DESCRIPTION +.ie rmyreg OOPS +.el not yet defined +.br +.nr myreg 0 +.ie rmyreg now defined +.el OOPS +.if !rmyreg OOPS diff --git a/contrib/mandoc/regress/roff/cond/register.out_ascii b/contrib/mandoc/regress/roff/cond/register.out_ascii new file mode 100644 index 00000000000..acd0f724126 --- /dev/null +++ b/contrib/mandoc/regress/roff/cond/register.out_ascii @@ -0,0 +1,14 @@ +REGISTER(1) General Commands Manual REGISTER(1) + + + +NNAAMMEE + register - conditional testing whether a register is defined + +DDEESSCCRRIIPPTTIIOONN + not yet defined + now defined + + + +OpenBSD May 31, 2015 REGISTER(1) diff --git a/contrib/mandoc/regress/roff/cond/strcmp.in b/contrib/mandoc/regress/roff/cond/strcmp.in new file mode 100644 index 00000000000..4888cfa3ef9 --- /dev/null +++ b/contrib/mandoc/regress/roff/cond/strcmp.in @@ -0,0 +1,38 @@ +.\" $OpenBSD: strcmp.in,v 1.2 2017/07/04 14:53:26 schwarze Exp $ +.TH COND-STRCMP 1 "March 8, 2014" +.SH NAME +cond-strcmp \- roff conditions involving string comparison +.SH DESCRIPTION +empty: +.ie """ (t) +.el (f) +one char: +.ie xaxax (t) +.el (f) +three chars: +.ie xabcxabcx (t) +.el (f) +.br +mismatch: +.ie xabcxabdx (t) +.el (f) +longer: +.ie xabcxabcdx (t) +.el (f) +shorter: +.ie xabcdxabcx (t) +.el (f) +.br +no middle: +.ie xabc (t) +.el (f) +no end: +.ie xabcxabc +.el (f) +.SS Negation +match: +.ie !xabcxabcx (t) +.el (f) +mismatch: +.ie !xaxbx (t) +.el (f) diff --git a/contrib/mandoc/regress/roff/cond/strcmp.out_ascii b/contrib/mandoc/regress/roff/cond/strcmp.out_ascii new file mode 100644 index 00000000000..9268dec8ec7 --- /dev/null +++ b/contrib/mandoc/regress/roff/cond/strcmp.out_ascii @@ -0,0 +1,18 @@ +COND-STRCMP(1) General Commands Manual COND-STRCMP(1) + + + +NNAAMMEE + cond-strcmp - roff conditions involving string comparison + +DDEESSCCRRIIPPTTIIOONN + empty: (t) one char: (t) three chars: (t) + mismatch: (f) longer: (f) shorter: (f) + no middle: (f) no end: (f) + + NNeeggaattiioonn + match: (f) mismatch: (t) + + + +OpenBSD March 8, 2014 COND-STRCMP(1) diff --git a/contrib/mandoc/regress/roff/cond/string.in b/contrib/mandoc/regress/roff/cond/string.in new file mode 100644 index 00000000000..b3bf14b450d --- /dev/null +++ b/contrib/mandoc/regress/roff/cond/string.in @@ -0,0 +1,34 @@ +.\" $OpenBSD: string.in,v 1.3 2017/07/04 14:53:26 schwarze Exp $ +.TH STRING 1 "June 14, 2017" +.SH NAME +string \- conditional testing whether a string is defined +.SH DESCRIPTION +.ie d mystr OOPS +.el mystr not yet defined +.br +.ds mystr mystrval +.ie d mystr now defined +.el OOPS +.if !d mystr OOPS +.PP +.ie d mymac OOPS +.el mymac not yet defined +.br +.de mymac +mymacval +.. +.ie dmymac now defined +.el OOPS +.if !d mymac OOPS +.PP +.ie d myren OOPS +.el myren not yet defined +.br +.rn SM myren +.ie d myren now defined +.el OOPS +.if !d myren OOPS +.PP +standard macro is +.ie d PP defined +.el not defined \(em OOPS diff --git a/contrib/mandoc/regress/roff/cond/string.out_ascii b/contrib/mandoc/regress/roff/cond/string.out_ascii new file mode 100644 index 00000000000..b5075d21f9c --- /dev/null +++ b/contrib/mandoc/regress/roff/cond/string.out_ascii @@ -0,0 +1,22 @@ +STRING(1) General Commands Manual STRING(1) + + + +NNAAMMEE + string - conditional testing whether a string is defined + +DDEESSCCRRIIPPTTIIOONN + mystr not yet defined + now defined + + mymac not yet defined + now defined + + myren not yet defined + now defined + + standard macro is defined + + + +OpenBSD June 14, 2017 STRING(1) diff --git a/contrib/mandoc/regress/roff/de/Dd.in b/contrib/mandoc/regress/roff/de/Dd.in new file mode 100644 index 00000000000..e86485d3958 --- /dev/null +++ b/contrib/mandoc/regress/roff/de/Dd.in @@ -0,0 +1,12 @@ +.\" $OpenBSD$ +.de At +BSD +.. +.Dd $Mdocdate: July 4 2017 $ +.Dt DE-DD 1 +.Os +.Sh NAME +.Nm de-Dd +.Nd interaction of the Dd macro with de requests +.Sh DESCRIPTION +.At diff --git a/contrib/mandoc/regress/roff/de/Dd.out_ascii b/contrib/mandoc/regress/roff/de/Dd.out_ascii new file mode 100644 index 00000000000..66b577a696a --- /dev/null +++ b/contrib/mandoc/regress/roff/de/Dd.out_ascii @@ -0,0 +1,9 @@ +DE-DD(1) General Commands Manual DE-DD(1) + +NNAAMMEE + ddee--DDdd - interaction of the Dd macro with de requests + +DDEESSCCRRIIPPTTIIOONN + AT&T UNIX + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/de/Makefile b/contrib/mandoc/regress/roff/de/Makefile new file mode 100644 index 00000000000..0d024a23c73 --- /dev/null +++ b/contrib/mandoc/regress/roff/de/Makefile @@ -0,0 +1,49 @@ +# $OpenBSD: Makefile,v 1.9 2015/02/03 19:37:25 schwarze Exp $ + +REGRESS_TARGETS = append cond escname factorial indir infinite startde TH Dd +LINT_TARGETS = escname indir infinite + +# groff-1.22.3 defect: +# infinite recursion aborts output completely + +SKIP_GROFF = infinite + +.include + + +# OpenBSD only: non-standard targets + +# --- additions to public targets --- + +all ascii: ascii-diff-opt + +ascii-clean: ascii-clean-opt + +groff: TH.out_ascii_opt Dd.out_ascii_opt + +groff-clean: groff-clean-opt + + +# --- local rules --- + +ascii-diff-opt: TH.mandoc_ascii_opt Dd.mandoc_ascii_opt + @${DIFF} ${.CURDIR}/TH.out_ascii_opt TH.mandoc_ascii_opt + @${DIFF} ${.CURDIR}/Dd.out_ascii_opt Dd.mandoc_ascii_opt + +TH.mandoc_ascii_opt: TH.in + @${MANDOC} -Ios=OpenBSD -Tascii -man ${.ALLSRC} > ${.TARGET} + +Dd.mandoc_ascii_opt: Dd.in + @${MANDOC} -Ios=OpenBSD -Tascii -mdoc ${.ALLSRC} > ${.TARGET} + +ascii-clean-opt: + @rm -f TH.mandoc_ascii_opt Dd.mandoc_ascii_opt + +TH.out_ascii_opt: TH.in + /usr/local/bin/nroff -c -man -Tascii ${.ALLSRC} > ${.TARGET} + +Dd.out_ascii_opt: Dd.in + /usr/local/bin/nroff -c -mdoc -Tascii ${.ALLSRC} > ${.TARGET} + +groff-clean-opt: + rm -f TH.out_ascii_opt Dd.out_ascii_opt diff --git a/contrib/mandoc/regress/roff/de/TH.in b/contrib/mandoc/regress/roff/de/TH.in new file mode 100644 index 00000000000..5657b88439f --- /dev/null +++ b/contrib/mandoc/regress/roff/de/TH.in @@ -0,0 +1,9 @@ +.\" $OpenBSD: TH.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.de BI +.IB \\$1 \\$2 \\$3 +.. +.TH DE-TH 1 "June 3, 2012" +.SH NAME +de-TH - interaction of the TH macro with de requests +.SH DESCRIPTION +.BI bold italic bold diff --git a/contrib/mandoc/regress/roff/de/TH.out_ascii b/contrib/mandoc/regress/roff/de/TH.out_ascii new file mode 100644 index 00000000000..35e1886a255 --- /dev/null +++ b/contrib/mandoc/regress/roff/de/TH.out_ascii @@ -0,0 +1,13 @@ +DE-TH(1) General Commands Manual DE-TH(1) + + + +NNAAMMEE + de-TH - interaction of the TH macro with de requests + +DDEESSCCRRIIPPTTIIOONN + bboolldd_i_t_a_l_i_cbboolldd + + + +OpenBSD June 3, 2012 DE-TH(1) diff --git a/contrib/mandoc/regress/roff/de/append.in b/contrib/mandoc/regress/roff/de/append.in new file mode 100644 index 00000000000..16c7ca555c0 --- /dev/null +++ b/contrib/mandoc/regress/roff/de/append.in @@ -0,0 +1,37 @@ +.\" $OpenBSD: append.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DE-APPEND 1 +.Os +.Sh NAME +.Nm de-append +.Nd append to macro definitions +.Sh DESCRIPTION +de: +.de mym +.Ox +.. +.mym +am: +.am mym +.Nx +.. +.mym +ami: +.ds myim mym +.ds myie mye +.ami myim myie +.Fx +.mye +.mym +end +.Pp +standard macro: +.Bo in brackets +.Bc end +.Pp +append to standard macro: +.am Bc +.Pq appended words +.. +.Bo in brackets +.Bc end diff --git a/contrib/mandoc/regress/roff/de/append.out_ascii b/contrib/mandoc/regress/roff/de/append.out_ascii new file mode 100644 index 00000000000..9c584dbc53d --- /dev/null +++ b/contrib/mandoc/regress/roff/de/append.out_ascii @@ -0,0 +1,13 @@ +DE-APPEND(1) General Commands Manual DE-APPEND(1) + +NNAAMMEE + ddee--aappppeenndd - append to macro definitions + +DDEESSCCRRIIPPTTIIOONN + de: OpenBSD am: OpenBSD NetBSD ami: OpenBSD NetBSD FreeBSD end + + standard macro: [in brackets] end + + append to standard macro: [in brackets] end (appended words) + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/de/cond.in b/contrib/mandoc/regress/roff/de/cond.in new file mode 100644 index 00000000000..ec3911c3684 --- /dev/null +++ b/contrib/mandoc/regress/roff/de/cond.in @@ -0,0 +1,14 @@ +.\" $OpenBSD: cond.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DE-COND 1 +.Os +.Sh NAME +.Nm de-cond +.Nd conditional execution of a user-defined macro +.Sh DESCRIPTION +.de mym +This is the text printed by the macro. +.. +preceding text +.if n .mym +following text diff --git a/contrib/mandoc/regress/roff/de/cond.out_ascii b/contrib/mandoc/regress/roff/de/cond.out_ascii new file mode 100644 index 00000000000..fd3f49fb57c --- /dev/null +++ b/contrib/mandoc/regress/roff/de/cond.out_ascii @@ -0,0 +1,9 @@ +DE-COND(1) General Commands Manual DE-COND(1) + +NNAAMMEE + ddee--ccoonndd - conditional execution of a user-defined macro + +DDEESSCCRRIIPPTTIIOONN + preceding text This is the text printed by the macro. following text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/de/escname.in b/contrib/mandoc/regress/roff/de/escname.in new file mode 100644 index 00000000000..67d26091090 --- /dev/null +++ b/contrib/mandoc/regress/roff/de/escname.in @@ -0,0 +1,44 @@ +.\" $OpenBSD: escname.in,v 1.4 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DE-ESCNAME 1 +.Os +.Sh NAME +.Nm de-escname +.Nd escape sequences in macro names +.Sh DESCRIPTION +initial text +.Pp +define second = val2 +.de second +val2 +.. +.Pp +define first\esecond = val3 +.de first\\second end3 +val3 +.end3 +.Pp +define first = val1 +.de first\esecond +val1 +.. +.Pp +Values (first, second, first\esecond): +.first +.second +.first\\second +.Pp +Remove all but second: +.rm first\\second first\esecond second +.first +.second +.first\\second +.Pp +macro seperated from argument by an escape sequence: +.de witharg end4 excess arguments +.Dq \\$1 +.end4 tail argument +.witharg\(enargument +.Pp +.de\e +final text diff --git a/contrib/mandoc/regress/roff/de/escname.out_ascii b/contrib/mandoc/regress/roff/de/escname.out_ascii new file mode 100644 index 00000000000..367b5d0fb2c --- /dev/null +++ b/contrib/mandoc/regress/roff/de/escname.out_ascii @@ -0,0 +1,23 @@ +DE-ESCNAME(1) General Commands Manual DE-ESCNAME(1) + +NNAAMMEE + ddee--eessccnnaammee - escape sequences in macro names + +DDEESSCCRRIIPPTTIIOONN + initial text + + define second = val2 + + define first\second = val3 + + define first = val1 + + Values (first, second, first\second): val1 val2 val3 + + Remove all but second: val2 + + macro seperated from argument by an escape sequence: "argument" + + final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/de/escname.out_lint b/contrib/mandoc/regress/roff/de/escname.out_lint new file mode 100644 index 00000000000..a3f9396f124 --- /dev/null +++ b/contrib/mandoc/regress/roff/de/escname.out_lint @@ -0,0 +1,8 @@ +mandoc: escname.in:22:2: ERROR: escaped character not allowed in a name: first\e +mandoc: escname.in:32:19: ERROR: escaped character not allowed in a name: first\e +mandoc: escname.in:33:2: ERROR: skipping unknown macro: .first +mandoc: escname.in:35:2: ERROR: skipping unknown macro: .first\\second +mandoc: escname.in:38:5: ERROR: skipping excess arguments: .de ... excess arguments +mandoc: escname.in:41:1: ERROR: escaped character not allowed in a name: witharg\( +mandoc: escname.in:43:1: ERROR: escaped character not allowed in a name: de\e +mandoc: escname.in:43:2: WARNING: skipping empty request: de diff --git a/contrib/mandoc/regress/roff/de/factorial.in b/contrib/mandoc/regress/roff/de/factorial.in new file mode 100644 index 00000000000..1eb9591a833 --- /dev/null +++ b/contrib/mandoc/regress/roff/de/factorial.in @@ -0,0 +1,32 @@ +.\" $OpenBSD: factorial.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FACTORIAL 1 +.Os +.Sh NAME +.Nm factorial +.Nd factorial sequence +.Sh DESCRIPTION +.\" recursively calculate a single factorial +.de rfac +. ie \\$1>1 \{\ +. No \\$1 * +. nr i \\$1-1 +. rfac \\ni +. nr acc \\n[acc]*\\$1 +. \} +. el .nr acc 1 +.. +.\" recursively print a sequence of factorials +.de fac +. No \\$1! = +. rfac \\$1 +. if \\$1>1 1 = +. No \\n[acc] +. if \\$1 \{\ +. br +. nr i \\$1-1 +. fac \\ni +. \} +.. +.\" main program +.fac 9 diff --git a/contrib/mandoc/regress/roff/de/factorial.out_ascii b/contrib/mandoc/regress/roff/de/factorial.out_ascii new file mode 100644 index 00000000000..e5423555f53 --- /dev/null +++ b/contrib/mandoc/regress/roff/de/factorial.out_ascii @@ -0,0 +1,18 @@ +FACTORIAL(1) General Commands Manual FACTORIAL(1) + +NNAAMMEE + ffaaccttoorriiaall - factorial sequence + +DDEESSCCRRIIPPTTIIOONN + 9! = 9 * 8 * 7 * 6 * 5 * 4 * 3 * 2 * 1 = 362880 + 8! = 8 * 7 * 6 * 5 * 4 * 3 * 2 * 1 = 40320 + 7! = 7 * 6 * 5 * 4 * 3 * 2 * 1 = 5040 + 6! = 6 * 5 * 4 * 3 * 2 * 1 = 720 + 5! = 5 * 4 * 3 * 2 * 1 = 120 + 4! = 4 * 3 * 2 * 1 = 24 + 3! = 3 * 2 * 1 = 6 + 2! = 2 * 1 = 2 + 1! = 1 + 0! = 1 + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/de/indir.in b/contrib/mandoc/regress/roff/de/indir.in new file mode 100644 index 00000000000..06eb325a9a3 --- /dev/null +++ b/contrib/mandoc/regress/roff/de/indir.in @@ -0,0 +1,31 @@ +.\" $OpenBSD: indir.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DE-INDIR 1 +.Os +.Sh NAME +.Nm de-indir +.Nd indirect macro definitions +.Sh DESCRIPTION +full dei: +.ds myim mym +.ds myie mye +.dei myim myie +text1 +.mye +.mym +.br +dei with undefined second argument: +.rm myie mym +.dei myim myie +text2 +.. +.mym +.br +dei with undefined first argument: +.rm myim mym +.dei myim +text3 +.br +dei without arguments: +.dei +text4 diff --git a/contrib/mandoc/regress/roff/de/indir.out_ascii b/contrib/mandoc/regress/roff/de/indir.out_ascii new file mode 100644 index 00000000000..71775d535dd --- /dev/null +++ b/contrib/mandoc/regress/roff/de/indir.out_ascii @@ -0,0 +1,12 @@ +DE-INDIR(1) General Commands Manual DE-INDIR(1) + +NNAAMMEE + ddee--iinnddiirr - indirect macro definitions + +DDEESSCCRRIIPPTTIIOONN + full dei: text1 + dei with undefined second argument: text2 + dei with undefined first argument: text3 + dei without arguments: text4 + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/de/indir.out_lint b/contrib/mandoc/regress/roff/de/indir.out_lint new file mode 100644 index 00000000000..859b110424e --- /dev/null +++ b/contrib/mandoc/regress/roff/de/indir.out_lint @@ -0,0 +1,4 @@ +mandoc: indir.in:19:11: WARNING: undefined string, using "": myie +mandoc: indir.in:26:6: WARNING: undefined string, using "": myim +mandoc: indir.in:26:2: WARNING: skipping empty request: dei +mandoc: indir.in:30:2: WARNING: skipping empty request: dei diff --git a/contrib/mandoc/regress/roff/de/infinite.in b/contrib/mandoc/regress/roff/de/infinite.in new file mode 100644 index 00000000000..00931a06c18 --- /dev/null +++ b/contrib/mandoc/regress/roff/de/infinite.in @@ -0,0 +1,21 @@ +.\" $OpenBSD: infinite.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DE-INFINITE 1 +.Os +.Sh NAME +.Nm de-infinite +.Nd inifinte recursion in a user-defined macro +.Sh DESCRIPTION +initial text +.de mym +.Op \\$1 \\$2 +.. +.mym $1 \$1 +.mym \$1 nothing +middle text +.de mym +.mym +not printed +.. +.mym +final text diff --git a/contrib/mandoc/regress/roff/de/infinite.out_ascii b/contrib/mandoc/regress/roff/de/infinite.out_ascii new file mode 100644 index 00000000000..452af775982 --- /dev/null +++ b/contrib/mandoc/regress/roff/de/infinite.out_ascii @@ -0,0 +1,9 @@ +DE-INFINITE(1) General Commands Manual DE-INFINITE(1) + +NNAAMMEE + ddee--iinnffiinniittee - inifinte recursion in a user-defined macro + +DDEESSCCRRIIPPTTIIOONN + initial text [$1 $1] middle text final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/de/infinite.out_lint b/contrib/mandoc/regress/roff/de/infinite.out_lint new file mode 100644 index 00000000000..e7beb090aa5 --- /dev/null +++ b/contrib/mandoc/regress/roff/de/infinite.out_lint @@ -0,0 +1,2 @@ +mandoc: infinite.in:14:5: ERROR: input stack limit exceeded, infinite loop? +mandoc: infinite.in:20:5: ERROR: input stack limit exceeded, infinite loop? diff --git a/contrib/mandoc/regress/roff/de/startde.in b/contrib/mandoc/regress/roff/de/startde.in new file mode 100644 index 00000000000..831bc6b769c --- /dev/null +++ b/contrib/mandoc/regress/roff/de/startde.in @@ -0,0 +1,25 @@ +.\" $OpenBSD: startde.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DE-STARTDE 1 +.Os +.Sh NAME +.Nm de-startde +.Nd macro starting a macro definition, but not ending it +.Sh DESCRIPTION +define outer macro: +.de outer +outer macro called; define inner macro: +.de inner +inner macro called; end outer scope. +.. +outer scope ended; outer macro now defined. +.Pp +call outer macro: +.outer +returned from call of outer macro; end inner scope. +.. +inner scope ended; inner macro now defined. +.Pp +call inner macro: +.inner +returned from call of inner macro. diff --git a/contrib/mandoc/regress/roff/de/startde.out_ascii b/contrib/mandoc/regress/roff/de/startde.out_ascii new file mode 100644 index 00000000000..2f6a0819c50 --- /dev/null +++ b/contrib/mandoc/regress/roff/de/startde.out_ascii @@ -0,0 +1,15 @@ +DE-STARTDE(1) General Commands Manual DE-STARTDE(1) + +NNAAMMEE + ddee--ssttaarrttddee - macro starting a macro definition, but not ending it + +DDEESSCCRRIIPPTTIIOONN + define outer macro: outer scope ended; outer macro now defined. + + call outer macro: outer macro called; define inner macro: inner scope + ended; inner macro now defined. + + call inner macro: inner macro called; end outer scope. returned from + call of outer macro; end inner scope. returned from call of inner macro. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/ds/Makefile b/contrib/mandoc/regress/roff/ds/Makefile new file mode 100644 index 00000000000..98a93d753fd --- /dev/null +++ b/contrib/mandoc/regress/roff/ds/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.5 2014/06/29 22:12:54 schwarze Exp $ + +REGRESS_TARGETS = append escname nested quoting + +.include diff --git a/contrib/mandoc/regress/roff/ds/append.in b/contrib/mandoc/regress/roff/ds/append.in new file mode 100644 index 00000000000..77e0482d0ad --- /dev/null +++ b/contrib/mandoc/regress/roff/ds/append.in @@ -0,0 +1,18 @@ +.\" $OpenBSD: append.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DS-APPEND 1 +.Os +.Sh NAME +.Nm ds-append +.Nd appending to user-defined strings +.Sh DESCRIPTION +.ds foo first part +first part: \*[foo] +.br +.as foo " second part +with second part: \*[foo] +.br +.as foo " third part +with third part: \*[foo] +.br +end of test document diff --git a/contrib/mandoc/regress/roff/ds/append.out_ascii b/contrib/mandoc/regress/roff/ds/append.out_ascii new file mode 100644 index 00000000000..cdb934c8933 --- /dev/null +++ b/contrib/mandoc/regress/roff/ds/append.out_ascii @@ -0,0 +1,12 @@ +DS-APPEND(1) General Commands Manual DS-APPEND(1) + +NNAAMMEE + ddss--aappppeenndd - appending to user-defined strings + +DDEESSCCRRIIPPTTIIOONN + first part: first part + with second part: first part second part + with third part: first part second part third part + end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/ds/escname.in b/contrib/mandoc/regress/roff/ds/escname.in new file mode 100644 index 00000000000..ce0b9fe8317 --- /dev/null +++ b/contrib/mandoc/regress/roff/ds/escname.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: escname.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DS-ESCNAME 1 +.Os +.Sh NAME +.Nm ds-escname +.Nd escape sequences in string names +.Sh DESCRIPTION +.ds std\\esc stdval +Now \e*[std\\esc] is +.Sq \*[std\\esc] . +.Pp +.ds esc\eesc escval +Now \e*[esc] is +.Sq \*[esc] . diff --git a/contrib/mandoc/regress/roff/ds/escname.out_ascii b/contrib/mandoc/regress/roff/ds/escname.out_ascii new file mode 100644 index 00000000000..56cc686e7fa --- /dev/null +++ b/contrib/mandoc/regress/roff/ds/escname.out_ascii @@ -0,0 +1,11 @@ +DS-ESCNAME(1) General Commands Manual DS-ESCNAME(1) + +NNAAMMEE + ddss--eessccnnaammee - escape sequences in string names + +DDEESSCCRRIIPPTTIIOONN + Now \*[std\esc] is `stdval'. + + Now \*[esc] is `'. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/ds/nested.in b/contrib/mandoc/regress/roff/ds/nested.in new file mode 100644 index 00000000000..f08454bdfb0 --- /dev/null +++ b/contrib/mandoc/regress/roff/ds/nested.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: nested.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DS-NESTED 1 +.Os +.Sh NAME +.Nm ds-nested +.Nd nested string expansion +.Sh DESCRIPTION +.ds foo bar +.ds bar output +This is the \*[\*[foo]]. +.Pp +.ds pi surprising +This is \*[\*[Pi]]. +This is \*(\*(Pi. diff --git a/contrib/mandoc/regress/roff/ds/nested.out_ascii b/contrib/mandoc/regress/roff/ds/nested.out_ascii new file mode 100644 index 00000000000..b0a453ccebd --- /dev/null +++ b/contrib/mandoc/regress/roff/ds/nested.out_ascii @@ -0,0 +1,11 @@ +DS-NESTED(1) General Commands Manual DS-NESTED(1) + +NNAAMMEE + ddss--nneesstteedd - nested string expansion + +DDEESSCCRRIIPPTTIIOONN + This is the output. + + This is surprising. This is surprising. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/ds/quoting.in b/contrib/mandoc/regress/roff/ds/quoting.in new file mode 100644 index 00000000000..11c3393d92c --- /dev/null +++ b/contrib/mandoc/regress/roff/ds/quoting.in @@ -0,0 +1,33 @@ +.\" $OpenBSD: quoting.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt DS-QUOTING 1 +.Os +.Sh NAME +.Nm ds-quoting +.Nd quote handling by the define string request +.Sh DESCRIPTION +.ds foo initial definition +no quoting: \*[foo] +.br +.ds foo redefinition +still no quoting: \*[foo] +.br +.ds foo "string value +leading quotes: \*[foo] +.br +.ds foo "string value" +leading and trailing quotes: \*[foo] +.br +.ds foo "string" value +leading and middle quotes: \*[foo] +.br +.ds foo 'string value" +leading apostrophe, trailing quotes: \*[foo] +.br +.ds foo string value" +leading blank, trailing quotes: \*[foo] +.br +.ds foo +empty string: x\*[foo]x +.br +end of test document diff --git a/contrib/mandoc/regress/roff/ds/quoting.out_ascii b/contrib/mandoc/regress/roff/ds/quoting.out_ascii new file mode 100644 index 00000000000..e7cb21e0726 --- /dev/null +++ b/contrib/mandoc/regress/roff/ds/quoting.out_ascii @@ -0,0 +1,17 @@ +DS-QUOTING(1) General Commands Manual DS-QUOTING(1) + +NNAAMMEE + ddss--qquuoottiinngg - quote handling by the define string request + +DDEESSCCRRIIPPTTIIOONN + no quoting: initial definition + still no quoting: redefinition + leading quotes: string value + leading and trailing quotes: string value" + leading and middle quotes: string" value + leading apostrophe, trailing quotes: 'string value" + leading blank, trailing quotes: string value" + empty string: xx + end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/esc/B.in b/contrib/mandoc/regress/roff/esc/B.in new file mode 100644 index 00000000000..40cd2ecb287 --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/B.in @@ -0,0 +1,37 @@ +.\" $OpenBSD: B.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ESC-B 1 +.Os +.Sh NAME +.Nm esc-B +.Nd the roff escape B sequence: validate numerical expression +.Sh DESCRIPTION +empty: \B'' +.br +digit: \B'0' +.br +no number: \B'no number' +.br +trailing garbage: \B'1X' +.br +trailing operator: \B'1+' +.br +infix operator: \B'1+1' +.br +infix and trailing operator: \B'1+1+' +.br +chain of operations: \B'1+2+3+4' +.br +trailing para: \B'1+(' +.br +unclosed para: \B'(1' +.br +empty pair of parentheses: \B'()' +.br +parentheses containing number: \B'(42)' +.br +complex expression: \B'3+(3*(5==5*2)*4)+(3*5)/2' +.br +other delimiter: \Bx1+1x +.br +no closing delimiter: \B'1+1 diff --git a/contrib/mandoc/regress/roff/esc/B.out_ascii b/contrib/mandoc/regress/roff/esc/B.out_ascii new file mode 100644 index 00000000000..805b06410a6 --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/B.out_ascii @@ -0,0 +1,23 @@ +ESC-B(1) General Commands Manual ESC-B(1) + +NNAAMMEE + eesscc--BB - the roff escape B sequence: validate numerical expression + +DDEESSCCRRIIPPTTIIOONN + empty: 0 + digit: 1 + no number: 0 + trailing garbage: 0 + trailing operator: 0 + infix operator: 1 + infix and trailing operator: 0 + chain of operations: 1 + trailing para: 0 + unclosed para: 0 + empty pair of parentheses: 0 + parentheses containing number: 1 + complex expression: 1 + other delimiter: 1 + no closing delimiter: 0 + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/esc/B.out_lint b/contrib/mandoc/regress/roff/esc/B.out_lint new file mode 100644 index 00000000000..f52270a4767 --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/B.out_lint @@ -0,0 +1 @@ +mandoc: B.in:37:23: WARNING: invalid escape sequence: \B'1+1 diff --git a/contrib/mandoc/regress/roff/esc/Makefile b/contrib/mandoc/regress/roff/esc/Makefile new file mode 100644 index 00000000000..32589479f8a --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.11 2015/04/29 18:32:57 schwarze Exp $ + +REGRESS_TARGETS = one two multi B c c_man e f h l o p w z ignore +LINT_TARGETS = B h l w ignore + +.include diff --git a/contrib/mandoc/regress/roff/esc/c.in b/contrib/mandoc/regress/roff/esc/c.in new file mode 100644 index 00000000000..318488f824d --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/c.in @@ -0,0 +1,27 @@ +.\" $OpenBSD: c.in,v 1.4 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ESC-C 1 +.Os +.Sh NAME +.Nm esc-c +.Nd the roff escape c sequence: remove trailing space +.Sh DESCRIPTION +No space between +.Dq one +and +.Dq word : +one\c +word +.Bd -literal +one\c +word +.Ed +Blank line after \ec: +one\c + +word +.Bd -literal +one\c + +word +.Ed diff --git a/contrib/mandoc/regress/roff/esc/c.out_ascii b/contrib/mandoc/regress/roff/esc/c.out_ascii new file mode 100644 index 00000000000..f6536dbd71e --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/c.out_ascii @@ -0,0 +1,15 @@ +ESC-C(1) General Commands Manual ESC-C(1) + +NNAAMMEE + eesscc--cc - the roff escape c sequence: remove trailing space + +DDEESSCCRRIIPPTTIIOONN + No space between "one" and "word": oneword + + oneword + Blank line after \c: one word + + one + word + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/esc/c_man.in b/contrib/mandoc/regress/roff/esc/c_man.in new file mode 100644 index 00000000000..c530a4728fc --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/c_man.in @@ -0,0 +1,22 @@ +.\" $OpenBSD: c_man.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.TH ESC-C_MAN 1 "December 2, 2014" +.SH NAME +esc-c_man \- the roff escape c sequence: remove trailing space +.SH DESCRIPTION +No space between "one" and "word": +one\c +word +.nf +one\c +word +.fi +Blank line after \ec: +one\c + +word +.nf +one\c + +word +.fi +final text diff --git a/contrib/mandoc/regress/roff/esc/c_man.out_ascii b/contrib/mandoc/regress/roff/esc/c_man.out_ascii new file mode 100644 index 00000000000..9062c335ae2 --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/c_man.out_ascii @@ -0,0 +1,18 @@ +ESC-C_MAN(1) General Commands Manual ESC-C_MAN(1) + + + +NNAAMMEE + esc-c_man - the roff escape c sequence: remove trailing space + +DDEESSCCRRIIPPTTIIOONN + No space between "one" and "word": oneword + oneword + Blank line after \c: one word + one + word + final text + + + +OpenBSD December 2, 2014 ESC-C_MAN(1) diff --git a/contrib/mandoc/regress/roff/esc/e.in b/contrib/mandoc/regress/roff/esc/e.in new file mode 100644 index 00000000000..a2d99af9678 --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/e.in @@ -0,0 +1,20 @@ +.\" $OpenBSD: e.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ESC-E 1 +.Os +.Sh NAME +.Nm esc-e +.Nd escaping backslashes +.Sh DESCRIPTION +In plain text: "\e" and "\\" +.Pp +On macro lines: +.Qq \e(at +and +.Qq \\(at +.Pp +In a macro definition: +.de mytest +"\e$1" and "\\$2" +.. +.mytest one two diff --git a/contrib/mandoc/regress/roff/esc/e.out_ascii b/contrib/mandoc/regress/roff/esc/e.out_ascii new file mode 100644 index 00000000000..04d9c85174b --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/e.out_ascii @@ -0,0 +1,13 @@ +ESC-E(1) General Commands Manual ESC-E(1) + +NNAAMMEE + eesscc--ee - escaping backslashes + +DDEESSCCRRIIPPTTIIOONN + In plain text: "\" and "\" + + On macro lines: "\(at" and "@" + + In a macro definition: "\$1" and "two" + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/esc/f.in b/contrib/mandoc/regress/roff/esc/f.in new file mode 100644 index 00000000000..571161d308c --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/f.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: f.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ESC-F 1 +.Os +.Sh NAME +.Nm esc-f +.Nd the roff escape f sequence: font changes +.Sh DESCRIPTION +numbers: \f3bold\f2italic\f1roman +.br +letters: \fBbold\fIitalic\fPback\f(BIbolditalic\fRroman +.br +multiletter: \f[B]bold\f[I]italic\f[P]back\f[BI]bolditalic\f[R]roman diff --git a/contrib/mandoc/regress/roff/esc/f.out_ascii b/contrib/mandoc/regress/roff/esc/f.out_ascii new file mode 100644 index 00000000000..fb8520f86af --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/f.out_ascii @@ -0,0 +1,11 @@ +ESC-F(1) General Commands Manual ESC-F(1) + +NNAAMMEE + eesscc--ff - the roff escape f sequence: font changes + +DDEESSCCRRIIPPTTIIOONN + numbers: bboolldd_i_t_a_l_i_croman + letters: bboolldd_i_t_a_l_i_cbbaacckk_bb_oo_ll_dd_ii_tt_aa_ll_ii_ccroman + multiletter: bboolldd_i_t_a_l_i_cbbaacckk_bb_oo_ll_dd_ii_tt_aa_ll_ii_ccroman + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/esc/h.in b/contrib/mandoc/regress/roff/esc/h.in new file mode 100644 index 00000000000..0dc7f786f42 --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/h.in @@ -0,0 +1,23 @@ +.\" $OpenBSD: h.in,v 1.6 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ESC-H 1 +.Os +.Sh NAME +.Nm esc-h +.Nd the roff escape h sequence: horizontal movement +.Sh DESCRIPTION +simple: >\h'0'< +.br +rounding: >\h'0.16i'< +.br +absolute: >\h'|12n'< +.br +escape only: >\h'\w'\&'M'< +.br +escape at the end: >\h'0+\w'\&''< +.br +escape at the beginning: >\h'\w'\&'M+0'< +.br +escape in the middle: >\h'0+\w'\&'+0'< +.br +invalid delimiter: >\h-< diff --git a/contrib/mandoc/regress/roff/esc/h.out_ascii b/contrib/mandoc/regress/roff/esc/h.out_ascii new file mode 100644 index 00000000000..e232670b774 --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/h.out_ascii @@ -0,0 +1,16 @@ +ESC-H(1) General Commands Manual ESC-H(1) + +NNAAMMEE + eesscc--hh - the roff escape h sequence: horizontal movement + +DDEESSCCRRIIPPTTIIOONN + simple: >< + rounding: > < + absolute: > < + escape only: >< + escape at the end: >< + escape at the beginning: >< + escape in the middle: >< + invalid delimiter: >< + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/esc/h.out_lint b/contrib/mandoc/regress/roff/esc/h.out_lint new file mode 100644 index 00000000000..b32ea2d2d3e --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/h.out_lint @@ -0,0 +1 @@ +mandoc: h.in:23:21: WARNING: invalid escape sequence: \h- diff --git a/contrib/mandoc/regress/roff/esc/ignore.in b/contrib/mandoc/regress/roff/esc/ignore.in new file mode 100644 index 00000000000..d41be2e1902 --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/ignore.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: ignore.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ESC-IGNORE 1 +.Os +.Sh NAME +.Nm esc-ignore +.Nd ignored roff escape sequences +.Sh DESCRIPTION +multiform: a\kxb\k(xyc\k[xyz]d +.br +quoted: a\R'myreg 0'b\R'myreg \A'y'0'c +.br +sizes: a\s0b\s(12c\s[123]d\s'123'e\s'1\w'xy'2'f +.br +signed sizes: a\s-0b\s-(12c\s-[123]d\s-'123'e\s-'1\w'xy'2'f\s- diff --git a/contrib/mandoc/regress/roff/esc/ignore.out_ascii b/contrib/mandoc/regress/roff/esc/ignore.out_ascii new file mode 100644 index 00000000000..fa16f389ffa --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/ignore.out_ascii @@ -0,0 +1,12 @@ +ESC-IGNORE(1) General Commands Manual ESC-IGNORE(1) + +NNAAMMEE + eesscc--iiggnnoorree - ignored roff escape sequences + +DDEESSCCRRIIPPTTIIOONN + multiform: abcd + quoted: abc + sizes: abcdef + signed sizes: abcdef + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/esc/ignore.out_lint b/contrib/mandoc/regress/roff/esc/ignore.out_lint new file mode 100644 index 00000000000..95eba9330bf --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/ignore.out_lint @@ -0,0 +1 @@ +mandoc: ignore.in:15:60: WARNING: invalid escape sequence: \s- diff --git a/contrib/mandoc/regress/roff/esc/l.in b/contrib/mandoc/regress/roff/esc/l.in new file mode 100644 index 00000000000..d7a42e742cc --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/l.in @@ -0,0 +1,23 @@ +.\" $OpenBSD: l.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ESC-L 1 +.Os +.Sh NAME +.Nm esc-l +.Nd the roff escape l sequence: horizontal line +.Sh DESCRIPTION +explicit scaling unit and fill char: >\l'2nf'< +.br +explicit scaling unit and default char: >\l'3n'< +.br +default unit and explicit fill char: >\l'4x'< +.br +default unit and char: >\l'5'< +.br +explicit scaling unit and escape sequence: >\l'6n\(+-'< +.br +default unit and escape char: >\l'7n\(at'< +.br +rounding: >\l'0.26ix'< +.br +invalid delimiter: >\h-< diff --git a/contrib/mandoc/regress/roff/esc/l.out_ascii b/contrib/mandoc/regress/roff/esc/l.out_ascii new file mode 100644 index 00000000000..fa052d22946 --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/l.out_ascii @@ -0,0 +1,16 @@ +ESC-L(1) General Commands Manual ESC-L(1) + +NNAAMMEE + eesscc--ll - the roff escape l sequence: horizontal line + +DDEESSCCRRIIPPTTIIOONN + explicit scaling unit and fill char: >ff< + explicit scaling unit and default char: >___< + default unit and explicit fill char: >xxxx< + default unit and char: >_____< + explicit scaling unit and escape sequence: >+-+-+-< + default unit and escape char: >@@@@@@@< + rounding: >xxx< + invalid delimiter: >< + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/esc/l.out_lint b/contrib/mandoc/regress/roff/esc/l.out_lint new file mode 100644 index 00000000000..00a8eaf2be5 --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/l.out_lint @@ -0,0 +1 @@ +mandoc: l.in:23:21: WARNING: invalid escape sequence: \h- diff --git a/contrib/mandoc/regress/roff/esc/multi.in b/contrib/mandoc/regress/roff/esc/multi.in new file mode 100644 index 00000000000..c4f242de344 --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/multi.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: multi.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ESC-MULTI 1 +.Os +.Sh NAME +.Nm esc-multi +.Nd roff multi-character escape sequences +.Sh DESCRIPTION +\[tno] \[t+-] \[tmu] \[tdi] \[12] \[14] \[34] +.br +\C'tno' \C't+-' \C'tmu' \C'tdi' \C'12' \C'14' \C'34' diff --git a/contrib/mandoc/regress/roff/esc/multi.out_ascii b/contrib/mandoc/regress/roff/esc/multi.out_ascii new file mode 100644 index 00000000000..e88e140bcd8 --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/multi.out_ascii @@ -0,0 +1,10 @@ +ESC-MULTI(1) General Commands Manual ESC-MULTI(1) + +NNAAMMEE + eesscc--mmuullttii - roff multi-character escape sequences + +DDEESSCCRRIIPPTTIIOONN + ~ +- x -:- 1/2 1/4 3/4 + ~ +- x -:- 1/2 1/4 3/4 + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/esc/o.in b/contrib/mandoc/regress/roff/esc/o.in new file mode 100644 index 00000000000..1f9f5039b04 --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/o.in @@ -0,0 +1,19 @@ +.\" $OpenBSD: o.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ESC-O 1 +.Os +.Sh NAME +.Nm esc-o +.Nd the roff escape o sequence: overstrike +.Sh DESCRIPTION +empty: x\o''x +.br +one character: x\o'|'x +.br +wide/narrow: x\o'O|'x +.br +narrow/wide: x\o'|O'x +.br +wide/narrow/narrow: x\o'O-|'x +.br +narrow/narrow/wide: x\o'|-O'x diff --git a/contrib/mandoc/regress/roff/esc/o.out_ascii b/contrib/mandoc/regress/roff/esc/o.out_ascii new file mode 100644 index 00000000000..a8c4e0b1121 --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/o.out_ascii @@ -0,0 +1,14 @@ +ESC-O(1) General Commands Manual ESC-O(1) + +NNAAMMEE + eesscc--oo - the roff escape o sequence: overstrike + +DDEESSCCRRIIPPTTIIOONN + empty: xx + one character: x|x + wide/narrow: xO|x + narrow/wide: x|Ox + wide/narrow/narrow: xO-|x + narrow/narrow/wide: x|-Ox + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/esc/one.in b/contrib/mandoc/regress/roff/esc/one.in new file mode 100644 index 00000000000..6edf9f64f2b --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/one.in @@ -0,0 +1,17 @@ +.\" $OpenBSD: one.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ESC-ONE 1 +.Os +.Sh NAME +.Nm esc-one +.Nd roff one-character escape sequences +.Sh DESCRIPTION +backslash: >\e< +.br +minus: >\-< +.br +acute: >\'< +.br +grave: >\`< +.br +normal character: >\q< diff --git a/contrib/mandoc/regress/roff/esc/one.out_ascii b/contrib/mandoc/regress/roff/esc/one.out_ascii new file mode 100644 index 00000000000..bc88dcf278c --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/one.out_ascii @@ -0,0 +1,13 @@ +ESC-ONE(1) General Commands Manual ESC-ONE(1) + +NNAAMMEE + eesscc--oonnee - roff one-character escape sequences + +DDEESSCCRRIIPPTTIIOONN + backslash: >\< + minus: >-< + acute: >'< + grave: >`< + normal character: >q< + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/esc/p.in b/contrib/mandoc/regress/roff/esc/p.in new file mode 100644 index 00000000000..225da976842 --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/p.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: p.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ESC-P 1 +.Os +.Sh NAME +.Nm esc-p +.Nd line break escape sequence +.Sh DESCRIPTION +no blank: line one\pline two +.Pp +blank after esc: line one\p line two +.Pp +blank before esc: line one \pline two +.Pp +at eol: line one\p +line two diff --git a/contrib/mandoc/regress/roff/esc/p.out_ascii b/contrib/mandoc/regress/roff/esc/p.out_ascii new file mode 100644 index 00000000000..94c7d8b4afc --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/p.out_ascii @@ -0,0 +1,19 @@ +ESC-P(1) General Commands Manual ESC-P(1) + +NNAAMMEE + eesscc--pp - line break escape sequence + +DDEESSCCRRIIPPTTIIOONN + no blank: line oneline + two + + blank after esc: line one + line two + + blank before esc: line one line + two + + at eol: line one + line two + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/esc/two.in b/contrib/mandoc/regress/roff/esc/two.in new file mode 100644 index 00000000000..6dec6ac36f3 --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/two.in @@ -0,0 +1,76 @@ +.\" $OpenBSD: two.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ESC-TWO 1 +.Os +.Sh NAME +.Nm esc-two +.Nd roff two-character escape sequences +.Sh DESCRIPTION +lines: \(ba \(br \(ul \(bb \(sl \(rs +.\" groff doesn't know \(rl +.br +markers: \(bu \(lz \(sq \(lh \(rh \(at \(sh \(CR +.\" the circle \(ci differs +.\" the daggers \(dd and \(dg use backspace +.\" \(ps and \(sc intentionally differ +.\" groff doesn't know \(OK +.br +legal: \(co \(rg \(tm +.br +punctuation: \(em \(en \(hy +.\" the inverted punctuation is intentionally different +.br +quotes: \(Bq \(bq \(oq \(cq \(aq \(dq \(Fo \(Fc \(fo \(fc +.\" the double quotes \(lq and \(rq differ +.br +brackets: \(lB \(rB \(lC \(rC \(la \(ra \(bv \(lt \(lk \(rt \(rk \(rb +.\" the left bottom \(lb differs +.br +arrows: \(<- \(-> \(lA \(rA \(hA +.\" the left-right arrow \(<> differs +.\" groff doesn't know \(va and \(vA +.\" the vertical arrows \(da, \(ua, \(uA, \(dA use backspace +.br +logical: \(AN \(OR \(no \(te \(st \(tf \(3d \(or +.\" the universal quantifier \(fa uses backspace +.br +mathematical: \(pl \(mi \(-+ \(+- \(pc \(mu \(di \(f/ \(** +\(<= \(>= \(<< \(>> \(eq \(!= \(== \(ne \(=~ \(ap \(~~ \(~= \(pt +\(es \(mo \(sb \(sp \(ca \(cu +\(sr \(lc \(rc \(lf \(rf \(if \(Ah \(Im \(Re \(pd +.\" groff doesn't know \(-~, \(nb, \(nc, \(-h +.\" these differ: \(nm \(ib \(ip \(/_ \(pp \(gr +.\" these use backspace: \(c* \(c+ \(is +.br +ligatures: \(ff \(fi \(fl \(Fi \(Fl \(AE \(ae \(OE \(oe \(IJ \(ij +.\" the German eszett \(ss differs +.br +accents: \(a" \(a^ \(aa \(ga \(ab \(ac \(ad \(ah \(ao \(a~ \(ho \(ha \(ti +.\" the macron \(a- differs +.\" groff doesn't know \(a. +.br +accented and special letters: +\('A \('E \('I \('O \('U \('a \('e \('i \('o \('u +\(`A \(`E \(`I \(`O \(`U \(`a \(`e \(`i \(`o \(`u +\(~A \(~N \(~O \(~a \(~n \(~o +\(:A \(:E \(:I \(:O \(:U \(:a \(:e \(:i \(:o \(:u \(:y +\(^A \(^E \(^I \(^O \(^U \(^a \(^e \(^i \(^o \(^u +\(,C \(,c \(/L \(/l \(/O \(/o \(oA \(oa \(-D \(.i +.\" these intentionally differ: \(Sd \(TP \(Tp +.\" groff doesn't know \(.j +.br +currency: \(Do \(ct \(Eu \(eu \(Ye \(Fo +.\" uses backspace: \(Cs +.\" the GB pound \(Po is intentionally different +.br +units: \(fm \(mc +.\" groff doesn't know \(%O +.\" \(sd differs +.\" \(de is intentionally different +.br +greek letters: \(*A \(*B \*D \(*E \(*Z \(*Y \*H \(*I \(*K \(*L +\(*M \(*N \*C \(*O \(*P \(*R \(*T \(*U \*F \(*X \(*Q \(*W +\(*a \(*b \(*g \(*d \(*e \(*z \(*y \(*h \(*i \(*k \(*l +\(*m \(*n \(*c \(*o \(*p \(*r \(*s \(*t \(*u \(*f \(*x \(*q \(*w +\(+h \(+f \+p \(+e \(ts +.\" these differ: \(*G \(*S diff --git a/contrib/mandoc/regress/roff/esc/two.out_ascii b/contrib/mandoc/regress/roff/esc/two.out_ascii new file mode 100644 index 00000000000..abef08e0d85 --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/two.out_ascii @@ -0,0 +1,26 @@ +ESC-TWO(1) General Commands Manual ESC-TWO(1) + +NNAAMMEE + eesscc--ttwwoo - roff two-character escape sequences + +DDEESSCCRRIIPPTTIIOONN + lines: | | _ | / \ + markers: +o <> [] <= => @ # _| + legal: (C) (R) tm + punctuation: -- - - + quotes: ,, , ` ' ' " << >> < > + brackets: [ ] { } < > | ,- { -. } -' + arrows: <- -> <= => <=> + logical: ^ v ~ 3 -) .:. .:. | + mathematical: + - -+ +- . x -:- / * <= >= << >> = != == !== =~ ~ ~~ ~= oc + {} E (= =) (^) U \/ |~ ~| |_ _| oo N I R a + ligatures: ff fi fl ffi ffl AE ae OE oe IJ ij + accents: " ^ ' ` '` , " v o ~ , ^ ~ + accented and special letters: 'A 'E 'I 'O 'U 'a 'e 'i 'o 'u `A `E `I `O `U `a `e `i `o `u ~A ~N + ~O ~a ~n ~o "A "E "I "O "U "a "e "i "o "u "y ^A ^E ^I ^O ^U ^a ^e ^i ^o ^u ,C ,c /L /l /O /o oA oa -D i + currency: $ /c EUR EUR =Y << + units: ' ,u + greek letters: A B E Z H I K /\ M N O TT P T Y X IY _O a B y d e ,C n -0 + i k >\ ,u v ,E o -n p -o ~t u |o x |u w -0 |o +p e s + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/esc/w.in b/contrib/mandoc/regress/roff/esc/w.in new file mode 100644 index 00000000000..a7b32828acc --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/w.in @@ -0,0 +1,17 @@ +.\" $OpenBSD: w.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ESC-W 1 +.Os +.Sh NAME +.Nm esc-w +.Nd the roff escape w sequence: text width +.Sh DESCRIPTION +empty: \w'' +.br +character: \w'n' +.br +blank: \w' ' +.br +text: \w'text' +.br +unterminated: \w'foo diff --git a/contrib/mandoc/regress/roff/esc/w.out_ascii b/contrib/mandoc/regress/roff/esc/w.out_ascii new file mode 100644 index 00000000000..3b8650a1533 --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/w.out_ascii @@ -0,0 +1,13 @@ +ESC-W(1) General Commands Manual ESC-W(1) + +NNAAMMEE + eesscc--ww - the roff escape w sequence: text width + +DDEESSCCRRIIPPTTIIOONN + empty: 0 + character: 24 + blank: 24 + text: 96 + unterminated: 72 + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/esc/w.out_lint b/contrib/mandoc/regress/roff/esc/w.out_lint new file mode 100644 index 00000000000..d48495c28ad --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/w.out_lint @@ -0,0 +1 @@ +mandoc: w.in:17:15: WARNING: invalid escape sequence: \w'foo diff --git a/contrib/mandoc/regress/roff/esc/z.in b/contrib/mandoc/regress/roff/esc/z.in new file mode 100644 index 00000000000..ab4c5ab336e --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/z.in @@ -0,0 +1,25 @@ +.\" $OpenBSD: z.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt ESC-Z 1 +.Os +.Sh NAME +.Nm esc-z +.Nd the roff escape z sequence +.Sh DESCRIPTION +single z with ASCII char: >\zx< +.br +single z with escape char: >\z\(ci< +.br +.ds mystr mytext +single z with defined string (\*[mystr]): >\z\*[mystr]< +.br +single z with font escape: >\z\fBxbold\fP< +.br +single z with nospace escape: >\z\c +new line< +.br +single z with overstrike: >\z\o'ab'c< +.br +single z near the end of the line: >\z< +.br +double z: >\z\zx< diff --git a/contrib/mandoc/regress/roff/esc/z.out_ascii b/contrib/mandoc/regress/roff/esc/z.out_ascii new file mode 100644 index 00000000000..da268176330 --- /dev/null +++ b/contrib/mandoc/regress/roff/esc/z.out_ascii @@ -0,0 +1,16 @@ +ESC-Z(1) General Commands Manual ESC-Z(1) + +NNAAMMEE + eesscc--zz - the roff escape z sequence + +DDEESSCCRRIIPPTTIIOONN + single z with ASCII char: >x< + single z with escape char: >O< + single z with defined string (mytext): >mytext< + single z with font escape: >xxbboolldd< + single z with nospace escape: > new line< + single z with overstrike: >abc< + single z near the end of the line: >< + double z: >x< + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/ft/Makefile b/contrib/mandoc/regress/roff/ft/Makefile new file mode 100644 index 00000000000..5d2accbb933 --- /dev/null +++ b/contrib/mandoc/regress/roff/ft/Makefile @@ -0,0 +1,8 @@ +# $OpenBSD: Makefile,v 1.1 2014/07/05 12:33:54 schwarze Exp $ + +REGRESS_TARGETS = badargs badargs-mdoc +LINT_TARGETS = badargs badargs-mdoc + +SKIP_TMAN = badargs + +.include diff --git a/contrib/mandoc/regress/roff/ft/badargs-mdoc.in b/contrib/mandoc/regress/roff/ft/badargs-mdoc.in new file mode 100644 index 00000000000..9734e1d46d8 --- /dev/null +++ b/contrib/mandoc/regress/roff/ft/badargs-mdoc.in @@ -0,0 +1,19 @@ +.\" $OpenBSD: badargs-mdoc.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt FT-BADARGS-MDOC 1 +.Os +.Sh NAME +.Nm ft-badargs-mdoc +.Nd font request with bad arguments +.Sh DESCRIPTION +default font +.ft B +bold +.ft foo +still bold +.ft I bogus +italic +.ft P +back to bold +.ft +back to italic diff --git a/contrib/mandoc/regress/roff/ft/badargs-mdoc.out_ascii b/contrib/mandoc/regress/roff/ft/badargs-mdoc.out_ascii new file mode 100644 index 00000000000..24f5bebd5b1 --- /dev/null +++ b/contrib/mandoc/regress/roff/ft/badargs-mdoc.out_ascii @@ -0,0 +1,9 @@ +FT-BADARGS-MDOC(1) General Commands Manual FT-BADARGS-MDOC(1) + +NNAAMMEE + fftt--bbaaddaarrggss--mmddoocc - font request with bad arguments + +DDEESSCCRRIIPPTTIIOONN + default font bboolldd ssttiillll bboolldd _i_t_a_l_i_c bbaacckk ttoo bboolldd _b_a_c_k _t_o _i_t_a_l_i_c + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/ft/badargs-mdoc.out_lint b/contrib/mandoc/regress/roff/ft/badargs-mdoc.out_lint new file mode 100644 index 00000000000..0bda8cf4302 --- /dev/null +++ b/contrib/mandoc/regress/roff/ft/badargs-mdoc.out_lint @@ -0,0 +1,2 @@ +mandoc: badargs-mdoc.in:14:7: ERROR: skipping excess arguments: ft ... bogus +mandoc: badargs-mdoc.in:12:2: WARNING: unknown font, skipping request: ft foo diff --git a/contrib/mandoc/regress/roff/ft/badargs.in b/contrib/mandoc/regress/roff/ft/badargs.in new file mode 100644 index 00000000000..82269609d3a --- /dev/null +++ b/contrib/mandoc/regress/roff/ft/badargs.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: badargs.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.TH "FT-BADARGS" 1 "July 5, 2014" +.SH NAME +ft-badargs \(en font request with bad arguments +.SH DESCRIPTION +default font +.ft B +bold +.ft foo +still bold +.ft I bogus +italic +.ft P +back to bold +.ft +back to italic diff --git a/contrib/mandoc/regress/roff/ft/badargs.out_ascii b/contrib/mandoc/regress/roff/ft/badargs.out_ascii new file mode 100644 index 00000000000..30bfed3c99e --- /dev/null +++ b/contrib/mandoc/regress/roff/ft/badargs.out_ascii @@ -0,0 +1,13 @@ +FT-BADARGS(1) General Commands Manual FT-BADARGS(1) + + + +NNAAMMEE + ft-badargs - font request with bad arguments + +DDEESSCCRRIIPPTTIIOONN + default font bboolldd ssttiillll bboolldd _i_t_a_l_i_c bbaacckk ttoo bboolldd _b_a_c_k _t_o _i_t_a_l_i_c + + + +OpenBSD July 5, 2014 FT-BADARGS(1) diff --git a/contrib/mandoc/regress/roff/ft/badargs.out_lint b/contrib/mandoc/regress/roff/ft/badargs.out_lint new file mode 100644 index 00000000000..36c8c0bf260 --- /dev/null +++ b/contrib/mandoc/regress/roff/ft/badargs.out_lint @@ -0,0 +1,2 @@ +mandoc: badargs.in:11:7: ERROR: skipping excess arguments: ft ... bogus +mandoc: badargs.in:9:2: WARNING: unknown font, skipping request: ft foo diff --git a/contrib/mandoc/regress/roff/ig/Makefile b/contrib/mandoc/regress/roff/ig/Makefile new file mode 100644 index 00000000000..93e5e41ee9f --- /dev/null +++ b/contrib/mandoc/regress/roff/ig/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.1 2014/07/07 11:34:41 schwarze Exp $ + +REGRESS_TARGETS = basic +LINT_TARGETS = basic + +.include diff --git a/contrib/mandoc/regress/roff/ig/basic.in b/contrib/mandoc/regress/roff/ig/basic.in new file mode 100644 index 00000000000..aaedb21dd6f --- /dev/null +++ b/contrib/mandoc/regress/roff/ig/basic.in @@ -0,0 +1,28 @@ +.\" $OpenBSD: basic.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt IG-BASIC 1 +.Os +.Sh NAME +.Nm ig-basic +.Nd ignored blocks +.Sh DESCRIPTION +no arguments +.ig +ignored text +.. +.br +with end marker +.ig end1 +ignored text +.end1 +.br +with two arguments +.ig end2 excess +ignored text +.end2 +.br +Here is a stray .. block ending, +.. +and then an .ig staying open until the end of the file: +.ig +ignored text diff --git a/contrib/mandoc/regress/roff/ig/basic.out_ascii b/contrib/mandoc/regress/roff/ig/basic.out_ascii new file mode 100644 index 00000000000..c7e803bfc28 --- /dev/null +++ b/contrib/mandoc/regress/roff/ig/basic.out_ascii @@ -0,0 +1,13 @@ +IG-BASIC(1) General Commands Manual IG-BASIC(1) + +NNAAMMEE + iigg--bbaassiicc - ignored blocks + +DDEESSCCRRIIPPTTIIOONN + no arguments + with end marker + with two arguments + Here is a stray .. block ending, and then an .ig staying open until the + end of the file: + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/ig/basic.out_lint b/contrib/mandoc/regress/roff/ig/basic.out_lint new file mode 100644 index 00000000000..2d733a4d47a --- /dev/null +++ b/contrib/mandoc/regress/roff/ig/basic.out_lint @@ -0,0 +1,3 @@ +mandoc: basic.in:20:5: ERROR: skipping excess arguments: .ig ... excess +mandoc: basic.in:25:2: ERROR: skipping end of block that is not open: .. +mandoc: basic.in:27:2: ERROR: appending missing end of block: ig diff --git a/contrib/mandoc/regress/roff/it/Makefile b/contrib/mandoc/regress/roff/it/Makefile new file mode 100644 index 00000000000..ec03f94c079 --- /dev/null +++ b/contrib/mandoc/regress/roff/it/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.2 2014/08/14 02:00:53 schwarze Exp $ + +REGRESS_TARGETS = badarg double text +LINT_TARGETS = badarg + +.include diff --git a/contrib/mandoc/regress/roff/it/badarg.in b/contrib/mandoc/regress/roff/it/badarg.in new file mode 100644 index 00000000000..93dc0d5e7aa --- /dev/null +++ b/contrib/mandoc/regress/roff/it/badarg.in @@ -0,0 +1,18 @@ +.\" $OpenBSD: badarg.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt IT-BADARG 1 +.Os +.Sh NAME +.Nm it-badarg +.Nd input line traps without numeric arguments +.Sh DESCRIPTION +.de mytrap +traptext +.. +line 1 +.it mytrap +line 2 +line 3 +.it +line 4 +line 5 diff --git a/contrib/mandoc/regress/roff/it/badarg.out_ascii b/contrib/mandoc/regress/roff/it/badarg.out_ascii new file mode 100644 index 00000000000..cc27ed37e2b --- /dev/null +++ b/contrib/mandoc/regress/roff/it/badarg.out_ascii @@ -0,0 +1,9 @@ +IT-BADARG(1) General Commands Manual IT-BADARG(1) + +NNAAMMEE + iitt--bbaaddaarrgg - input line traps without numeric arguments + +DDEESSCCRRIIPPTTIIOONN + line 1 line 2 line 3 line 4 line 5 + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/it/badarg.out_lint b/contrib/mandoc/regress/roff/it/badarg.out_lint new file mode 100644 index 00000000000..ff485d1ebc3 --- /dev/null +++ b/contrib/mandoc/regress/roff/it/badarg.out_lint @@ -0,0 +1,2 @@ +mandoc: badarg.in:13:2: ERROR: skipping request without numeric argument: it mytrap +mandoc: badarg.in:16:2: ERROR: skipping request without numeric argument: it diff --git a/contrib/mandoc/regress/roff/it/double.in b/contrib/mandoc/regress/roff/it/double.in new file mode 100644 index 00000000000..299094b6e32 --- /dev/null +++ b/contrib/mandoc/regress/roff/it/double.in @@ -0,0 +1,17 @@ +.\" $OpenBSD: double.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.TH IT-DOUBLE 1 2013-07-13 +.SH NAME +it-double \- double input line trap +.SH DESCRIPTION +.de firstmacro +firstmacro +.. +.de secondmacro +secondmacro +.. +initial text +.it 1 firstmacro +.it 2 secondmacro +first line +second line +third line diff --git a/contrib/mandoc/regress/roff/it/double.out_ascii b/contrib/mandoc/regress/roff/it/double.out_ascii new file mode 100644 index 00000000000..d4704b3661b --- /dev/null +++ b/contrib/mandoc/regress/roff/it/double.out_ascii @@ -0,0 +1,13 @@ +IT-DOUBLE(1) General Commands Manual IT-DOUBLE(1) + + + +NNAAMMEE + it-double - double input line trap + +DDEESSCCRRIIPPTTIIOONN + initial text first line second line secondmacro third line + + + +OpenBSD 2013-07-13 IT-DOUBLE(1) diff --git a/contrib/mandoc/regress/roff/it/text.in b/contrib/mandoc/regress/roff/it/text.in new file mode 100644 index 00000000000..e346f182219 --- /dev/null +++ b/contrib/mandoc/regress/roff/it/text.in @@ -0,0 +1,28 @@ +.\" $OpenBSD: text.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt IT-TEXT 1 +.Os +.Sh NAME +.Nm it-text +.Nd what an input line trap counts as text +.Sh DESCRIPTION +.de trap +traptext +.. +initial text +.it 1trap +first line after 1trap +second line after 1trap +.Pp +.it 1vtrap +first line after 1vtrap +second line after 1vtrap +.Pp +.it ( + 1c + 1i)trap +first line after ( + 1c + 1i)trap +second line after ( + 1c + 1i)trap +third line after ( + 1c + 1i)trap +.it 1 trap +.Pp +first line after .Pp +second line after .Pp diff --git a/contrib/mandoc/regress/roff/it/text.out_ascii b/contrib/mandoc/regress/roff/it/text.out_ascii new file mode 100644 index 00000000000..76d1a76d4f7 --- /dev/null +++ b/contrib/mandoc/regress/roff/it/text.out_ascii @@ -0,0 +1,16 @@ +IT-TEXT(1) General Commands Manual IT-TEXT(1) + +NNAAMMEE + iitt--tteexxtt - what an input line trap counts as text + +DDEESSCCRRIIPPTTIIOONN + initial text first line after 1trap traptext second line after 1trap + + first line after 1vtrap traptext second line after 1vtrap + + first line after ( + 1c + 1i)trap second line after ( + 1c + 1i)trap + traptext third line after ( + 1c + 1i)trap + + first line after .Pp traptext second line after .Pp + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/ll/Makefile b/contrib/mandoc/regress/roff/ll/Makefile new file mode 100644 index 00000000000..c8c99b9c840 --- /dev/null +++ b/contrib/mandoc/regress/roff/ll/Makefile @@ -0,0 +1,7 @@ +# $OpenBSD: Makefile,v 1.1 2014/03/30 19:47:32 schwarze Exp $ + +REGRESS_TARGETS = basic + +SKIP_TMAN = + +.include diff --git a/contrib/mandoc/regress/roff/ll/basic.in b/contrib/mandoc/regress/roff/ll/basic.in new file mode 100644 index 00000000000..fe5d2ec49cb --- /dev/null +++ b/contrib/mandoc/regress/roff/ll/basic.in @@ -0,0 +1,26 @@ +.\" $OpenBSD: basic.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt LL-BASIC 1 +.Os +.Sh NAME +.Nm ll-basic +.Nd changing the line length +.Sh DESCRIPTION +This is a longer text to demonstrate the default line length. +In ASCII mode, it is expected to break at column 78. +.Pp +.ll 38n +This is another long text to demonstrate shorter lines. +In ASCII mode, it is expected to break at column 38. +.Pp +.ll +This is a longer text after switching back to the default line length. +In ASCII mode, it is expected to break at column 78. +.Pp +.ll +100n +This is another long text to demonstrate longer lines. +In ASCII mode, it is not expected to break at all. +.Pp +.ll FOO +This is a longer text after switching to an invalid line length. +In ASCII mode, it is expected to break at column 78. diff --git a/contrib/mandoc/regress/roff/ll/basic.out_ascii b/contrib/mandoc/regress/roff/ll/basic.out_ascii new file mode 100644 index 00000000000..ab9826bbe84 --- /dev/null +++ b/contrib/mandoc/regress/roff/ll/basic.out_ascii @@ -0,0 +1,23 @@ +LL-BASIC(1) General Commands Manual LL-BASIC(1) + +NNAAMMEE + llll--bbaassiicc - changing the line length + +DDEESSCCRRIIPPTTIIOONN + This is a longer text to demonstrate the default line length. In ASCII + mode, it is expected to break at column 78. + + This is another long text to + demonstrate shorter lines. In + ASCII mode, it is expected to + break at column 38. + + This is a longer text after switching back to the default line length. + In ASCII mode, it is expected to break at column 78. + + This is another long text to demonstrate longer lines. In ASCII mode, it is not expected to break at all. + + This is a longer text after switching to an invalid line length. In + ASCII mode, it is expected to break at column 78. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/na/Makefile b/contrib/mandoc/regress/roff/na/Makefile new file mode 100644 index 00000000000..1d2da255602 --- /dev/null +++ b/contrib/mandoc/regress/roff/na/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.2 2011/11/17 16:28:46 schwarze Exp $ + +REGRESS_TARGETS=args + +.include diff --git a/contrib/mandoc/regress/roff/na/args.in b/contrib/mandoc/regress/roff/na/args.in new file mode 100644 index 00000000000..a1f609bb219 --- /dev/null +++ b/contrib/mandoc/regress/roff/na/args.in @@ -0,0 +1,10 @@ +.\" $OpenBSD: args.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.TH NA-ARGS 1 "January 17, 2011" +.SH NAME +na-args \- arguments to .na macros +.SH DESCRIPTION +some +text +.na arg1 arg2 arg3 +more +text diff --git a/contrib/mandoc/regress/roff/na/args.out_ascii b/contrib/mandoc/regress/roff/na/args.out_ascii new file mode 100644 index 00000000000..e10a3ae186f --- /dev/null +++ b/contrib/mandoc/regress/roff/na/args.out_ascii @@ -0,0 +1,13 @@ +NA-ARGS(1) General Commands Manual NA-ARGS(1) + + + +NNAAMMEE + na-args - arguments to .na macros + +DDEESSCCRRIIPPTTIIOONN + some text more text + + + +OpenBSD January 17, 2011 NA-ARGS(1) diff --git a/contrib/mandoc/regress/roff/nr/Makefile b/contrib/mandoc/regress/roff/nr/Makefile new file mode 100644 index 00000000000..8da6887869c --- /dev/null +++ b/contrib/mandoc/regress/roff/nr/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.9 2015/01/23 00:38:43 schwarze Exp $ + +REGRESS_TARGETS = argc divzero eval escname int predef rr scale +LINT_TARGETS = divzero escname + +.include diff --git a/contrib/mandoc/regress/roff/nr/argc.in b/contrib/mandoc/regress/roff/nr/argc.in new file mode 100644 index 00000000000..c6db5b46caf --- /dev/null +++ b/contrib/mandoc/regress/roff/nr/argc.in @@ -0,0 +1,22 @@ +.\" $OpenBSD: argc.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt NR-ARGC 1 +.Os +.Sh NAME +.Nm nr-argc +.Nd varying number of arguments to the .nr macro +.Sh DESCRIPTION +.nr onearg +one argument: \n[onearg] +.Pp +.nr twoargs 2 +two arguments: \n[twoargs] +.Pp +.nr withsuffix 2x +with suffix: \n[withsuffix] +.Pp +.nr threeargs 2 3 +three arguments: \n[threeargs] +.Pp +.nr fourargs 2 3 4 +four arguments: \n[fourargs] diff --git a/contrib/mandoc/regress/roff/nr/argc.out_ascii b/contrib/mandoc/regress/roff/nr/argc.out_ascii new file mode 100644 index 00000000000..c1e9acbd551 --- /dev/null +++ b/contrib/mandoc/regress/roff/nr/argc.out_ascii @@ -0,0 +1,17 @@ +NR-ARGC(1) General Commands Manual NR-ARGC(1) + +NNAAMMEE + nnrr--aarrggcc - varying number of arguments to the .nr macro + +DDEESSCCRRIIPPTTIIOONN + one argument: 0 + + two arguments: 2 + + with suffix: 2 + + three arguments: 2 + + four arguments: 2 + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/nr/divzero.in b/contrib/mandoc/regress/roff/nr/divzero.in new file mode 100644 index 00000000000..45012688b03 --- /dev/null +++ b/contrib/mandoc/regress/roff/nr/divzero.in @@ -0,0 +1,9 @@ +.\" $OpenBSD: divzero.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.TH NR-DIVZERO 1 "December 18, 2014" +.SH NAME +nr-divzero \- division by zero in numerical expression +.SH DESCRIPTION +initial text +.nr divresult 1/0 +.nr modresult 1%0 +final \n[divresult] \n[modresult] text diff --git a/contrib/mandoc/regress/roff/nr/divzero.out_ascii b/contrib/mandoc/regress/roff/nr/divzero.out_ascii new file mode 100644 index 00000000000..26d93c26249 --- /dev/null +++ b/contrib/mandoc/regress/roff/nr/divzero.out_ascii @@ -0,0 +1,13 @@ +NR-DIVZERO(1) General Commands Manual NR-DIVZERO(1) + + + +NNAAMMEE + nr-divzero - division by zero in numerical expression + +DDEESSCCRRIIPPTTIIOONN + initial text final 0 0 text + + + +OpenBSD December 18, 2014 NR-DIVZERO(1) diff --git a/contrib/mandoc/regress/roff/nr/divzero.out_lint b/contrib/mandoc/regress/roff/nr/divzero.out_lint new file mode 100644 index 00000000000..f56d54b0877 --- /dev/null +++ b/contrib/mandoc/regress/roff/nr/divzero.out_lint @@ -0,0 +1,2 @@ +mandoc: divzero.in:7:4: ERROR: divide by zero: 1/0 +mandoc: divzero.in:8:4: ERROR: divide by zero: 1%0 diff --git a/contrib/mandoc/regress/roff/nr/escname.in b/contrib/mandoc/regress/roff/nr/escname.in new file mode 100644 index 00000000000..f81627e16f3 --- /dev/null +++ b/contrib/mandoc/regress/roff/nr/escname.in @@ -0,0 +1,18 @@ +.\" $OpenBSD: escname.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.TH NR-ESCNAME 1 "June 29, 2014" +.SH NAME +nr-escname \- escape sequences in register names +.SH DESCRIPTION +.nr first 1 +.nr second 2 +.nr first\\second 3 +.nr first\esecond 4 +\n[first] \n[second] \n[first\\second] +.PP +.rr first\esecond +\n[first] \n[second] \n[first\\second] +.PP +.rr first\\second +\n[first] \n[second] \n[first\\second] +.PP +incomplete: \n[second diff --git a/contrib/mandoc/regress/roff/nr/escname.out_ascii b/contrib/mandoc/regress/roff/nr/escname.out_ascii new file mode 100644 index 00000000000..fd970a1423c --- /dev/null +++ b/contrib/mandoc/regress/roff/nr/escname.out_ascii @@ -0,0 +1,19 @@ +NR-ESCNAME(1) General Commands Manual NR-ESCNAME(1) + + + +NNAAMMEE + nr-escname - escape sequences in register names + +DDEESSCCRRIIPPTTIIOONN + 1 2 3 + + 0 2 3 + + 0 2 0 + + incomplete: + + + +OpenBSD June 29, 2014 NR-ESCNAME(1) diff --git a/contrib/mandoc/regress/roff/nr/escname.out_lint b/contrib/mandoc/regress/roff/nr/escname.out_lint new file mode 100644 index 00000000000..a2dabebeb3e --- /dev/null +++ b/contrib/mandoc/regress/roff/nr/escname.out_lint @@ -0,0 +1,4 @@ +mandoc: escname.in:9:5: ERROR: escaped character not allowed in a name: first\e +mandoc: escname.in:12:5: ERROR: escaped character not allowed in a name: first\e +mandoc: escname.in:18:13: WARNING: invalid escape sequence: \n[second +mandoc: escname.in:18:12: STYLE: whitespace at end of input line diff --git a/contrib/mandoc/regress/roff/nr/eval.in b/contrib/mandoc/regress/roff/nr/eval.in new file mode 100644 index 00000000000..d8bc3ae8b46 --- /dev/null +++ b/contrib/mandoc/regress/roff/nr/eval.in @@ -0,0 +1,68 @@ +.\" $OpenBSD: eval.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.TH NR-EVAL 1 "April 7, 2014" +.SH NAME +nr-eval \- numeric expressions in assignments to number registers +.SH DESCRIPTION +.nr mr 1 +1: \n(mr +.br +.nr mr nonumber +nonumber: \n(mr +.br +.nr mr 3X +3X: \n(mr +.br +.nr mr 4+ +4+: \n(mr +.br +.nr mr 2+3 +2+3: \n(mr +.br +.nr mr 1+1: +1+1:: \n(mr +.br +.nr mr 10-3 +10-3: \n(mr +.br +.nr mr 4*2 +4*2: \n(mr +.br +.nr mr 27/3 +27/3: \n(mr +.br +.nr mr 58%16 +58%16: \n(mr +.br +.nr mr 11?13 +7>?13: \n(mr +.br +.nr mr 14>?6 +14>?6: \n(mr +.br +.nr mr 2+3*3 +2+3*3: \n(mr +.br +.nr mr 16+( +para at eol: \n(mr +.br +.nr mr (17 +unclosed para: \n(mr +.br +.nr mr (18) +(18): \n(mr +.br +.nr mr ( 25 - 6 ) +( 25 - 6 ): \n(mr +.br +.nr mr 11+( 3*3 ) +11+( 3*3 ): \n(mr +.br +.nr mr 3+(3*(5==5*2)*4)+(3*5)/2 +3+(3*(5==5*2)*4)+(3*5)/2: \n(mr +.br diff --git a/contrib/mandoc/regress/roff/nr/eval.out_ascii b/contrib/mandoc/regress/roff/nr/eval.out_ascii new file mode 100644 index 00000000000..5f4c767adcd --- /dev/null +++ b/contrib/mandoc/regress/roff/nr/eval.out_ascii @@ -0,0 +1,33 @@ +NR-EVAL(1) General Commands Manual NR-EVAL(1) + + + +NNAAMMEE + nr-eval - numeric expressions in assignments to number registers + +DDEESSCCRRIIPPTTIIOONN + 1: 1 + nonumber: 1 + 3X: 3 + 4+: 3 + 2+3: 5 + 1+1:: 5 + 10-3: 7 + 4*2: 8 + 27/3: 9 + 58%16: 10 + 11?13: 13 + 14>?6: 14 + 2+3*3: 15 + para at eol: 15 + unclosed para: 17 + (18): 18 + ( 25 - 6 ): 19 + 11+( 3*3 ): 20 + 3+(3*(5==5*2)*4)+(3*5)/2: 21 + + + +OpenBSD April 7, 2014 NR-EVAL(1) diff --git a/contrib/mandoc/regress/roff/nr/int.in b/contrib/mandoc/regress/roff/nr/int.in new file mode 100644 index 00000000000..27f187b37ac --- /dev/null +++ b/contrib/mandoc/regress/roff/nr/int.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: int.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.TH NR-INT 1 "October 3, 2013" +.SH NAME +nr-int \- integer number registers +.SH DESCRIPTION +initial contents: \nY \n(YY \n[YYY] +.br +.nr Y 42 +.nr YY -1 +.nr YYY 2147483647 +intermediate contents: \nY \n(YY \n[YYY] +.br +.nr Y -19 +.nr YY +2 +.nr YYY +1 +final contents: \nY \n(YY \n[YYY] diff --git a/contrib/mandoc/regress/roff/nr/int.out_ascii b/contrib/mandoc/regress/roff/nr/int.out_ascii new file mode 100644 index 00000000000..8471386fd05 --- /dev/null +++ b/contrib/mandoc/regress/roff/nr/int.out_ascii @@ -0,0 +1,15 @@ +NR-INT(1) General Commands Manual NR-INT(1) + + + +NNAAMMEE + nr-int - integer number registers + +DDEESSCCRRIIPPTTIIOONN + initial contents: 0 0 0 + intermediate contents: 42 -1 2147483647 + final contents: 23 1 -2147483648 + + + +OpenBSD October 3, 2013 NR-INT(1) diff --git a/contrib/mandoc/regress/roff/nr/predef.in b/contrib/mandoc/regress/roff/nr/predef.in new file mode 100644 index 00000000000..480a052ec8a --- /dev/null +++ b/contrib/mandoc/regress/roff/nr/predef.in @@ -0,0 +1,25 @@ +.\" $OpenBSD: predef.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.TH NR-PREDEF 1 "August 29, 2015" +.SH NAME +nr-predef \- pre-defined read-only integer number registers +.SH DESCRIPTION +.de mym +user defined macro with \\n(.$ arguments: \\$* +.. +.nf +.nr .A 111 +.nr .g 111 +.nr .H 111 +.nr .j 111 +.nr .T 111 +.nr .V 111 +.nr .$ 111 +ascii mode: \n(.A +groff mode: \n(.g +horizontal resolution: \n(.H +adjustment mode: \n(.j +output device defined: \n(.T +vertical resolution: \n(.V +.mym +.mym one +.mym one two diff --git a/contrib/mandoc/regress/roff/nr/predef.out_ascii b/contrib/mandoc/regress/roff/nr/predef.out_ascii new file mode 100644 index 00000000000..6973d296186 --- /dev/null +++ b/contrib/mandoc/regress/roff/nr/predef.out_ascii @@ -0,0 +1,21 @@ +NR-PREDEF(1) General Commands Manual NR-PREDEF(1) + + + +NNAAMMEE + nr-predef - pre-defined read-only integer number registers + +DDEESSCCRRIIPPTTIIOONN + ascii mode: 0 + groff mode: 1 + horizontal resolution: 24 + adjustment mode: 0 + output device defined: 1 + vertical resolution: 40 + user defined macro with 0 arguments: + user defined macro with 1 arguments: one + user defined macro with 2 arguments: one two + + + +OpenBSD August 29, 2015 NR-PREDEF(1) diff --git a/contrib/mandoc/regress/roff/nr/rr.in b/contrib/mandoc/regress/roff/nr/rr.in new file mode 100644 index 00000000000..6b888f12c2a --- /dev/null +++ b/contrib/mandoc/regress/roff/nr/rr.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: rr.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.TH NR-RR 1 "April 5, 2014" +.SH NAME +nr-rr \- defining and undefining number registers +.SH DESCRIPTION +.nr key1 1 +.nr key2 2 +.nr key3 3 +.nr key4 4 +.nr key5 5 +.rr key1 +.rr key3 +.rr key5 +non-null values: \n[key2] \n[key4] +.br +unset values: \n[key1] \n[key3] \n[key5] diff --git a/contrib/mandoc/regress/roff/nr/rr.out_ascii b/contrib/mandoc/regress/roff/nr/rr.out_ascii new file mode 100644 index 00000000000..21b50ee2ba0 --- /dev/null +++ b/contrib/mandoc/regress/roff/nr/rr.out_ascii @@ -0,0 +1,14 @@ +NR-RR(1) General Commands Manual NR-RR(1) + + + +NNAAMMEE + nr-rr - defining and undefining number registers + +DDEESSCCRRIIPPTTIIOONN + non-null values: 2 4 + unset values: 0 0 0 + + + +OpenBSD April 5, 2014 NR-RR(1) diff --git a/contrib/mandoc/regress/roff/nr/scale.in b/contrib/mandoc/regress/roff/nr/scale.in new file mode 100644 index 00000000000..7793a585efc --- /dev/null +++ b/contrib/mandoc/regress/roff/nr/scale.in @@ -0,0 +1,27 @@ +.\" $OpenBSD: scale.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.TH NR-INT 1 "January 23, 2015" +.SH NAME +nr-scale \- scaling units in numeric expressions +.SH DESCRIPTION +.nr Y 1f+1 +\nY +.nr Y 1i+1 +\nY +.nr Y 10c+1 +\nY +.nr Y 1v+1 +\nY +.nr Y 1P+1 +\nY +.nr Y 1m+1 +\nY +.nr Y 1n+1 +\nY +.nr Y 10p+1 +\nY +.nr Y 1u+1 +\nY +.nr Y 100M+1 +\nY +.nr Y 1X+2 +\nY diff --git a/contrib/mandoc/regress/roff/nr/scale.out_ascii b/contrib/mandoc/regress/roff/nr/scale.out_ascii new file mode 100644 index 00000000000..c6f79b2af8a --- /dev/null +++ b/contrib/mandoc/regress/roff/nr/scale.out_ascii @@ -0,0 +1,13 @@ +NR-INT(1) General Commands Manual NR-INT(1) + + + +NNAAMMEE + nr-scale - scaling units in numeric expressions + +DDEESSCCRRIIPPTTIIOONN + 65537 241 945 41 41 25 25 34 2 25 1 + + + +OpenBSD January 23, 2015 NR-INT(1) diff --git a/contrib/mandoc/regress/roff/po/Makefile b/contrib/mandoc/regress/roff/po/Makefile new file mode 100644 index 00000000000..dabc7c9e6d3 --- /dev/null +++ b/contrib/mandoc/regress/roff/po/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.1 2017/05/08 15:33:43 schwarze Exp $ + +REGRESS_TARGETS = basic-mdoc + +.include diff --git a/contrib/mandoc/regress/roff/po/basic-mdoc.in b/contrib/mandoc/regress/roff/po/basic-mdoc.in new file mode 100644 index 00000000000..87c3c777c19 --- /dev/null +++ b/contrib/mandoc/regress/roff/po/basic-mdoc.in @@ -0,0 +1,21 @@ +.\" $OpenBSD: basic-mdoc.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt PO-BASIC-MDOC 1 +.Os +.Sh NAME +.Nm po-basic-mdoc +.Nd the roff page offset request +.Sh DESCRIPTION +initial text +.Pp +.po -2n +shifted left +.Pp +.po +5n +shifted right +.Pp +.po XXX +shifted left +.Pp +.po 0 +final text diff --git a/contrib/mandoc/regress/roff/po/basic-mdoc.out_ascii b/contrib/mandoc/regress/roff/po/basic-mdoc.out_ascii new file mode 100644 index 00000000000..c07bfd9d27e --- /dev/null +++ b/contrib/mandoc/regress/roff/po/basic-mdoc.out_ascii @@ -0,0 +1,17 @@ +PO-BASIC-MDOC(1) General Commands Manual PO-BASIC-MDOC(1) + +NNAAMMEE + ppoo--bbaassiicc--mmddoocc - the roff page offset request + +DDEESSCCRRIIPPTTIIOONN + initial text + + shifted left + + shifted right + + shifted left + + final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/ps/Makefile b/contrib/mandoc/regress/roff/ps/Makefile new file mode 100644 index 00000000000..24e50bbd248 --- /dev/null +++ b/contrib/mandoc/regress/roff/ps/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.2 2011/11/17 16:28:46 schwarze Exp $ + +REGRESS_TARGETS=ignore + +.include diff --git a/contrib/mandoc/regress/roff/ps/ignore.in b/contrib/mandoc/regress/roff/ps/ignore.in new file mode 100644 index 00000000000..1c19a8d8feb --- /dev/null +++ b/contrib/mandoc/regress/roff/ps/ignore.in @@ -0,0 +1,10 @@ +.\" $OpenBSD: ignore.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.TH PS-IGNORE 1 "Febuary 5, 2011" +.SH NAME +ps-ignore \- ignoreing point size macros +.SH DESCRIPTION +normal text +.ps -1 +small text +.ps +1 +big text diff --git a/contrib/mandoc/regress/roff/ps/ignore.out_ascii b/contrib/mandoc/regress/roff/ps/ignore.out_ascii new file mode 100644 index 00000000000..b1bfacac272 --- /dev/null +++ b/contrib/mandoc/regress/roff/ps/ignore.out_ascii @@ -0,0 +1,13 @@ +PS-IGNORE(1) General Commands Manual PS-IGNORE(1) + + + +NNAAMMEE + ps-ignore - ignoreing point size macros + +DDEESSCCRRIIPPTTIIOONN + normal text small text big text + + + +OpenBSD Febuary 5, 2011 PS-IGNORE(1) diff --git a/contrib/mandoc/regress/roff/rm/Makefile b/contrib/mandoc/regress/roff/rm/Makefile new file mode 100644 index 00000000000..14c74a601d6 --- /dev/null +++ b/contrib/mandoc/regress/roff/rm/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.2 2011/11/17 16:28:46 schwarze Exp $ + +REGRESS_TARGETS=basic + +.include diff --git a/contrib/mandoc/regress/roff/rm/basic.in b/contrib/mandoc/regress/roff/rm/basic.in new file mode 100644 index 00000000000..82de7eeb309 --- /dev/null +++ b/contrib/mandoc/regress/roff/rm/basic.in @@ -0,0 +1,20 @@ +.\" $OpenBSD: basic.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt RM-BASIC 1 +.Os +.Sh NAME +.Nm rm-basic +.Nd the remove macro request +.Sh DESCRIPTION +.de mymacro +Hello +.. +.ds mystring world +before rm: +.mymacro +\*[mystring]! +.br +.rm mymacro mystring +after rm: +.mymacro +\*[mystring]! diff --git a/contrib/mandoc/regress/roff/rm/basic.out_ascii b/contrib/mandoc/regress/roff/rm/basic.out_ascii new file mode 100644 index 00000000000..5fd82a7e975 --- /dev/null +++ b/contrib/mandoc/regress/roff/rm/basic.out_ascii @@ -0,0 +1,10 @@ +RM-BASIC(1) General Commands Manual RM-BASIC(1) + +NNAAMMEE + rrmm--bbaassiicc - the remove macro request + +DDEESSCCRRIIPPTTIIOONN + before rm: Hello world! + after rm: ! + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/rn/Makefile b/contrib/mandoc/regress/roff/rn/Makefile new file mode 100644 index 00000000000..87ef7fe11e2 --- /dev/null +++ b/contrib/mandoc/regress/roff/rn/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.10 2017/03/07 20:00:02 schwarze Exp $ + +REGRESS_TARGETS = append + +.include diff --git a/contrib/mandoc/regress/roff/rn/append.in b/contrib/mandoc/regress/roff/rn/append.in new file mode 100644 index 00000000000..86b79da2aa5 --- /dev/null +++ b/contrib/mandoc/regress/roff/rn/append.in @@ -0,0 +1,24 @@ +.\" $OpenBSD: append.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt RN-APPEND 1 +.Os +.Sh NAME +.Nm rn-append +.Nd append to renamed standard macro +.Sh DESCRIPTION +original macro: +.Bo in brackets +.Bc +.Pp +renamed macro: +.rn Bc myBc +.Bo in brackets +.myBc +.Pp +appending to macro: +.am myBc +.Pq appended words +.. +.Bo more in brackets +.myBc +final text diff --git a/contrib/mandoc/regress/roff/rn/append.out_ascii b/contrib/mandoc/regress/roff/rn/append.out_ascii new file mode 100644 index 00000000000..42457d7a644 --- /dev/null +++ b/contrib/mandoc/regress/roff/rn/append.out_ascii @@ -0,0 +1,13 @@ +RN-APPEND(1) General Commands Manual RN-APPEND(1) + +NNAAMMEE + rrnn--aappppeenndd - append to renamed standard macro + +DDEESSCCRRIIPPTTIIOONN + original macro: [in brackets] + + renamed macro: [in brackets] + + appending to macro: [more in brackets] (appended words) final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/scale/Makefile b/contrib/mandoc/regress/roff/scale/Makefile new file mode 100644 index 00000000000..822f75559e5 --- /dev/null +++ b/contrib/mandoc/regress/roff/scale/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.1 2014/08/14 02:00:53 schwarze Exp $ + +REGRESS_TARGETS = horiz + +.include diff --git a/contrib/mandoc/regress/roff/scale/horiz.in b/contrib/mandoc/regress/roff/scale/horiz.in new file mode 100644 index 00000000000..11e6eef7fb7 --- /dev/null +++ b/contrib/mandoc/regress/roff/scale/horiz.in @@ -0,0 +1,32 @@ +.\" $OpenBSD: horiz.in,v 1.5 2017/07/04 14:53:27 schwarze Exp $ +.TH HORIZ 1 "December 23, 2014" +.SH NAME +horiz \- horizontal distances +.SH DESCRIPTION +initial text +.in 240u +240u +.in 3.6c +3.6c +.in 0.003f +0.003f +.in 2i +2i +.in 500M +500M +.in 6P +6P +.in 36p +36p +.in 10n +10n +.in 5m +5m +.in 79n +79n +.in 1.5ix +1.5ix +.in -6n +-6n +.PP +final text diff --git a/contrib/mandoc/regress/roff/scale/horiz.out_ascii b/contrib/mandoc/regress/roff/scale/horiz.out_ascii new file mode 100644 index 00000000000..75e12a4f323 --- /dev/null +++ b/contrib/mandoc/regress/roff/scale/horiz.out_ascii @@ -0,0 +1,27 @@ +HORIZ(1) General Commands Manual HORIZ(1) + + + +NNAAMMEE + horiz - horizontal distances + +DDEESSCCRRIIPPTTIIOONN + initial text + 240u + 3.6c + 0.003f + 2i + 500M + 6P + 36p + 10n + 5m + 79n + 1.5ix + -6n + + final text + + + +OpenBSD December 23, 2014 HORIZ(1) diff --git a/contrib/mandoc/regress/roff/sp/Makefile b/contrib/mandoc/regress/roff/sp/Makefile new file mode 100644 index 00000000000..7a09afb1cf7 --- /dev/null +++ b/contrib/mandoc/regress/roff/sp/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.5 2015/02/06 09:38:22 schwarze Exp $ + +REGRESS_TARGETS = badargs-man badargs-mdoc negative scaling-man scaling-mdoc +LINT_TARGETS = badargs-man + +.include diff --git a/contrib/mandoc/regress/roff/sp/badargs-man.in b/contrib/mandoc/regress/roff/sp/badargs-man.in new file mode 100644 index 00000000000..643addea16e --- /dev/null +++ b/contrib/mandoc/regress/roff/sp/badargs-man.in @@ -0,0 +1,18 @@ +.\" $OpenBSD: badargs-man.in,v 1.5 2017/07/04 14:53:27 schwarze Exp $ +.TH SP-BADARGS-MAN 1 "December 23, 2014" +.SH NAME +sp-badargs-man \- bad arguments to .sp macros in man(7) +.SH DESCRIPTION +no arguments: +.sp +one argument: +.sp 2v +two arguments: +.sp 3v 2i +no scaling unit specified: +.sp 1 +trailing garbage: +.sp 2vx +garbage only: +.sp xxx +end of test document diff --git a/contrib/mandoc/regress/roff/sp/badargs-man.out_ascii b/contrib/mandoc/regress/roff/sp/badargs-man.out_ascii new file mode 100644 index 00000000000..b04219168a8 --- /dev/null +++ b/contrib/mandoc/regress/roff/sp/badargs-man.out_ascii @@ -0,0 +1,29 @@ +SP-BADARGS-MAN(1) General Commands Manual SP-BADARGS-MAN(1) + + + +NNAAMMEE + sp-badargs-man - bad arguments to .sp macros in man(7) + +DDEESSCCRRIIPPTTIIOONN + no arguments: + + one argument: + + + two arguments: + + + + no scaling unit specified: + + trailing garbage: + + + garbage only: + + end of test document + + + +OpenBSD December 23, 2014 SP-BADARGS-MAN(1) diff --git a/contrib/mandoc/regress/roff/sp/badargs-man.out_lint b/contrib/mandoc/regress/roff/sp/badargs-man.out_lint new file mode 100644 index 00000000000..70c7884cd9e --- /dev/null +++ b/contrib/mandoc/regress/roff/sp/badargs-man.out_lint @@ -0,0 +1 @@ +mandoc: badargs-man.in:11:8: ERROR: skipping excess arguments: sp ... 2i diff --git a/contrib/mandoc/regress/roff/sp/badargs-mdoc.in b/contrib/mandoc/regress/roff/sp/badargs-mdoc.in new file mode 100644 index 00000000000..91a6e7122e3 --- /dev/null +++ b/contrib/mandoc/regress/roff/sp/badargs-mdoc.in @@ -0,0 +1,21 @@ +.\" $OpenBSD: badargs-mdoc.in,v 1.5 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SP-BADARGS-MDOC 1 +.Os +.Sh NAME +.Nm sp-badargs-mdoc +.Nd bad arguments to .sp macros in mdoc(7) +.Sh DESCRIPTION +no arguments: +.sp +one argument: +.sp 2v +two arguments: +.sp 3v 2i +no scaling unit specified: +.sp 1 +trailing garbage: +.sp 2vx +garbage only: +.sp xxx +end of test document diff --git a/contrib/mandoc/regress/roff/sp/badargs-mdoc.out_ascii b/contrib/mandoc/regress/roff/sp/badargs-mdoc.out_ascii new file mode 100644 index 00000000000..400f1e684c8 --- /dev/null +++ b/contrib/mandoc/regress/roff/sp/badargs-mdoc.out_ascii @@ -0,0 +1,25 @@ +SP-BADARGS-MDOC(1) General Commands Manual SP-BADARGS-MDOC(1) + +NNAAMMEE + sspp--bbaaddaarrggss--mmddoocc - bad arguments to .sp macros in mdoc(7) + +DDEESSCCRRIIPPTTIIOONN + no arguments: + + one argument: + + + two arguments: + + + + no scaling unit specified: + + trailing garbage: + + + garbage only: + + end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/sp/negative.in b/contrib/mandoc/regress/roff/sp/negative.in new file mode 100644 index 00000000000..5dd9a6a6012 --- /dev/null +++ b/contrib/mandoc/regress/roff/sp/negative.in @@ -0,0 +1,9 @@ +.\" $OpenBSD: negative.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.TH SP-NEGATIVE 1 "July 12, 2012" +.SH NAME +sp-negative \- negative vertical spacing +.SH DESCRIPTION +first line +.sp -1v +.PP +second line diff --git a/contrib/mandoc/regress/roff/sp/negative.out_ascii b/contrib/mandoc/regress/roff/sp/negative.out_ascii new file mode 100644 index 00000000000..8a71aba6efb --- /dev/null +++ b/contrib/mandoc/regress/roff/sp/negative.out_ascii @@ -0,0 +1,14 @@ +SP-NEGATIVE(1) General Commands Manual SP-NEGATIVE(1) + + + +NNAAMMEE + sp-negative - negative vertical spacing + +DDEESSCCRRIIPPTTIIOONN + first line + second line + + + +OpenBSD July 12, 2012 SP-NEGATIVE(1) diff --git a/contrib/mandoc/regress/roff/sp/scaling-man.in b/contrib/mandoc/regress/roff/sp/scaling-man.in new file mode 100644 index 00000000000..0c7d3a77ff2 --- /dev/null +++ b/contrib/mandoc/regress/roff/sp/scaling-man.in @@ -0,0 +1,28 @@ +.\" $OpenBSD: scaling-man.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.TH SP-SCALING-MAN 1 "December 23, 2014" +.SH NAME +sp-scaling-man \- scaled arguments to .sp requests in man(7) +.SH DESCRIPTION +20 basic units: +.sp 20u +21 basic units: +.sp 21u +one centimeter: +.sp 1c +quarter of an inch: +.sp 0.25i +half a pica: +.sp 0.5P +one pica: +.sp 1P +6 points: +.sp 6p +7 points: +.sp 7p +one en: +.sp 1n +three en: +.sp 3n +two em: +.sp 2m +end of test document diff --git a/contrib/mandoc/regress/roff/sp/scaling-man.out_ascii b/contrib/mandoc/regress/roff/sp/scaling-man.out_ascii new file mode 100644 index 00000000000..72a0b53bcbd --- /dev/null +++ b/contrib/mandoc/regress/roff/sp/scaling-man.out_ascii @@ -0,0 +1,34 @@ +SP-SCALING-MAN(1) General Commands Manual SP-SCALING-MAN(1) + + + +NNAAMMEE + sp-scaling-man - scaled arguments to .sp requests in man(7) + +DDEESSCCRRIIPPTTIIOONN + 20 basic units: + 21 basic units: + + one centimeter: + + + quarter of an inch: + + half a pica: + one pica: + + 6 points: + 7 points: + + one en: + + three en: + + + two em: + + end of test document + + + +OpenBSD December 23, 2014 SP-SCALING-MAN(1) diff --git a/contrib/mandoc/regress/roff/sp/scaling-mdoc.in b/contrib/mandoc/regress/roff/sp/scaling-mdoc.in new file mode 100644 index 00000000000..9e92ed52409 --- /dev/null +++ b/contrib/mandoc/regress/roff/sp/scaling-mdoc.in @@ -0,0 +1,31 @@ +.\" $OpenBSD: scaling-mdoc.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt SP-SCALING-MDOC 1 +.Os +.Sh NAME +.Nm sp-scaling-mdoc +.Nd scaled arguments to .sp requests in mdoc(7) +.Sh DESCRIPTION +20 basic units: +.sp 20u +21 basic units: +.sp 21u +one centimeter: +.sp 1c +quarter of an inch: +.sp 0.25i +half a pica: +.sp 0.5P +one pica: +.sp 1P +6 points: +.sp 6p +7 points: +.sp 7p +one en: +.sp 1n +three en: +.sp 3n +two em: +.sp 2m +end of test document diff --git a/contrib/mandoc/regress/roff/sp/scaling-mdoc.out_ascii b/contrib/mandoc/regress/roff/sp/scaling-mdoc.out_ascii new file mode 100644 index 00000000000..7223cb3119a --- /dev/null +++ b/contrib/mandoc/regress/roff/sp/scaling-mdoc.out_ascii @@ -0,0 +1,30 @@ +SP-SCALING-MDOC(1) General Commands Manual SP-SCALING-MDOC(1) + +NNAAMMEE + sspp--ssccaalliinngg--mmddoocc - scaled arguments to .sp requests in mdoc(7) + +DDEESSCCRRIIPPTTIIOONN + 20 basic units: + 21 basic units: + + one centimeter: + + + quarter of an inch: + + half a pica: + one pica: + + 6 points: + 7 points: + + one en: + + three en: + + + two em: + + end of test document + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/string/Makefile b/contrib/mandoc/regress/roff/string/Makefile new file mode 100644 index 00000000000..354a7a75424 --- /dev/null +++ b/contrib/mandoc/regress/roff/string/Makefile @@ -0,0 +1,15 @@ +# $OpenBSD: Makefile,v 1.6 2014/07/06 19:08:57 schwarze Exp $ + +REGRESS_TARGETS = escape infinite name std zerolength +LINT_TARGETS = name std + +# The infinite test fails badly with groff-1.20.1: +# It fails to print the following text. + +SKIP_GROFF ?= infinite + +# Groff can expand standard macros as strings, but mandoc cannot. + +SKIP_GROFF += std + +.include diff --git a/contrib/mandoc/regress/roff/string/escape.in b/contrib/mandoc/regress/roff/string/escape.in new file mode 100644 index 00000000000..339611e89a1 --- /dev/null +++ b/contrib/mandoc/regress/roff/string/escape.in @@ -0,0 +1,27 @@ +.\" $OpenBSD: escape.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.TH STRING-ESCAPE 1 "December 3, 2010" +.SH NAME +string-escape - preventing string interpolation +.SH DESCRIPTION +.ds right wrong +.ds inner *[right] +.ds outer \\*[inner] +.SS Normal interpolation +result: \*[inner] +.PP +The above line must be "result: *[right]". +.SS Intervening character +result: \e*[right] +.PP +The above line must be "result: backslash*[right]", +not "result: rong". +.SS Escaped backslash +result: \\*[right] +.PP +The above line must be "result: backslash*[right]", +not "result: rong". +.SS Delayed interpolation +result: \*[outer] +.PP +The above line must be "result: *[right]", +not "result: wrong". diff --git a/contrib/mandoc/regress/roff/string/escape.out_ascii b/contrib/mandoc/regress/roff/string/escape.out_ascii new file mode 100644 index 00000000000..8b00abaf34d --- /dev/null +++ b/contrib/mandoc/regress/roff/string/escape.out_ascii @@ -0,0 +1,31 @@ +STRING-ESCAPE(1) General Commands Manual STRING-ESCAPE(1) + + + +NNAAMMEE + string-escape - preventing string interpolation + +DDEESSCCRRIIPPTTIIOONN + NNoorrmmaall iinntteerrppoollaattiioonn + result: *[right] + + The above line must be "result: *[right]". + + IInntteerrvveenniinngg cchhaarraacctteerr + result: \*[right] + + The above line must be "result: backslash*[right]", not "result: rong". + + EEssccaappeedd bbaacckkssllaasshh + result: \*[right] + + The above line must be "result: backslash*[right]", not "result: rong". + + DDeellaayyeedd iinntteerrppoollaattiioonn + result: *[right] + + The above line must be "result: *[right]", not "result: wrong". + + + +OpenBSD December 3, 2010 STRING-ESCAPE(1) diff --git a/contrib/mandoc/regress/roff/string/infinite.in b/contrib/mandoc/regress/roff/string/infinite.in new file mode 100644 index 00000000000..c79b4bda8ab --- /dev/null +++ b/contrib/mandoc/regress/roff/string/infinite.in @@ -0,0 +1,9 @@ +.\" $OpenBSD: infinite.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.TH STRING-INFINITE 1 "December 3, 2010" +.SH NAME +string-infinite - endless recursion in string expansion +.SH DESCRIPTION +.ds recur \\*[recur] +Blow up, +(and do not \*[recur] print this) +but still render following text correctly. diff --git a/contrib/mandoc/regress/roff/string/infinite.out_ascii b/contrib/mandoc/regress/roff/string/infinite.out_ascii new file mode 100644 index 00000000000..1a9a5d6a37b --- /dev/null +++ b/contrib/mandoc/regress/roff/string/infinite.out_ascii @@ -0,0 +1,13 @@ +STRING-INFINITE(1) General Commands Manual STRING-INFINITE(1) + + + +NNAAMMEE + string-infinite - endless recursion in string expansion + +DDEESSCCRRIIPPTTIIOONN + Blow up, but still render following text correctly. + + + +OpenBSD December 3, 2010 STRING-INFINITE(1) diff --git a/contrib/mandoc/regress/roff/string/name.in b/contrib/mandoc/regress/roff/string/name.in new file mode 100644 index 00000000000..2948f164dcb --- /dev/null +++ b/contrib/mandoc/regress/roff/string/name.in @@ -0,0 +1,36 @@ +.\" $OpenBSD: name.in,v 1.4 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt STRING-NAME 1 +.Os +.Sh NAME +.Nm string-name +.Nd torturing .ds with weird string names +.Sh DESCRIPTION +.ds norm value of norm +.ds "quot" value of "quot" +.ds bs\e value of bs\ee +.ds bs\\e value of bs\e\ee +.ds bl\ e value of bl\e e +norm: \*[norm] +.br +norm without closing brace: \*[norm +.br +quot: \*[quot] +.br +"quot": \*["quot"] +.br +bs\e\ee: \*[bs\\e] +.\".br +.\"bs\ee: \*[bs\e] +.br +bse: \*[bse] +.br +bs: \*[bs] +.\".br +.\"bl\e e: \*[bl\ e] +.br +bl e: \*[bl e] +.br +ble: \*[ble] +.br +bl: \*[bl] diff --git a/contrib/mandoc/regress/roff/string/name.out_ascii b/contrib/mandoc/regress/roff/string/name.out_ascii new file mode 100644 index 00000000000..325e28aabc2 --- /dev/null +++ b/contrib/mandoc/regress/roff/string/name.out_ascii @@ -0,0 +1,18 @@ +STRING-NAME(1) General Commands Manual STRING-NAME(1) + +NNAAMMEE + ssttrriinngg--nnaammee - torturing .ds with weird string names + +DDEESSCCRRIIPPTTIIOONN + norm: value of norm + norm without closing brace: + quot: + "quot": value of "quot" + bs\\e: value of bs\\e + bse: + bs: + bl e: + ble: + bl: + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/string/name.out_lint b/contrib/mandoc/regress/roff/string/name.out_lint new file mode 100644 index 00000000000..795f5e8094d --- /dev/null +++ b/contrib/mandoc/regress/roff/string/name.out_lint @@ -0,0 +1,17 @@ +mandoc: name.in:11:5: ERROR: escaped character not allowed in a name: bs\e +mandoc: name.in:13:5: ERROR: escaped character not allowed in a name: bl\ +mandoc: name.in:16:29: WARNING: invalid escape sequence: \*[norm +mandoc: name.in:16:29: WARNING: undefined string, using "": norm +mandoc: name.in:16:28: STYLE: whitespace at end of input line +mandoc: name.in:18:7: WARNING: undefined string, using "": quot +mandoc: name.in:18:6: STYLE: whitespace at end of input line +mandoc: name.in:26:6: WARNING: undefined string, using "": bse +mandoc: name.in:26:5: STYLE: whitespace at end of input line +mandoc: name.in:28:5: WARNING: undefined string, using "": bs +mandoc: name.in:28:4: STYLE: whitespace at end of input line +mandoc: name.in:32:7: WARNING: undefined string, using "": bl e +mandoc: name.in:32:6: STYLE: whitespace at end of input line +mandoc: name.in:34:6: WARNING: undefined string, using "": ble +mandoc: name.in:34:5: STYLE: whitespace at end of input line +mandoc: name.in:36:5: WARNING: undefined string, using "": bl +mandoc: name.in:36:4: STYLE: whitespace at end of input line diff --git a/contrib/mandoc/regress/roff/string/std.in b/contrib/mandoc/regress/roff/string/std.in new file mode 100644 index 00000000000..0719b3c47d8 --- /dev/null +++ b/contrib/mandoc/regress/roff/string/std.in @@ -0,0 +1,11 @@ +.\" $OpenBSD: std.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.TH STRING-STD 1 "June 18, 2017" +.SH NAME +string-std - expanding standard macros as strings +.SH DESCRIPTION +expanding the DT macro as a string: +>>>\*[DT]<<< +.PP +.rn DT myname +the same after renaming it: +>>>\*[myname]<<< diff --git a/contrib/mandoc/regress/roff/string/std.out_ascii b/contrib/mandoc/regress/roff/string/std.out_ascii new file mode 100644 index 00000000000..b399374c0dc --- /dev/null +++ b/contrib/mandoc/regress/roff/string/std.out_ascii @@ -0,0 +1,15 @@ +STRING-STD(1) General Commands Manual STRING-STD(1) + + + +NNAAMMEE + string-std - expanding standard macros as strings + +DDEESSCCRRIIPPTTIIOONN + expanding the DT macro as a string: >>><<< + + the same after renaming it: >>><<< + + + +OpenBSD June 18, 2017 STRING-STD(1) diff --git a/contrib/mandoc/regress/roff/string/std.out_lint b/contrib/mandoc/regress/roff/string/std.out_lint new file mode 100644 index 00000000000..95a520ca9d0 --- /dev/null +++ b/contrib/mandoc/regress/roff/string/std.out_lint @@ -0,0 +1,2 @@ +mandoc: std.in:7:4: WARNING: undefined string, using "": DT +mandoc: std.in:11:4: WARNING: undefined string, using "": myname diff --git a/contrib/mandoc/regress/roff/string/zerolength.in b/contrib/mandoc/regress/roff/string/zerolength.in new file mode 100644 index 00000000000..4bab6df54f3 --- /dev/null +++ b/contrib/mandoc/regress/roff/string/zerolength.in @@ -0,0 +1,17 @@ +.\" $OpenBSD: zerolength.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.TH STRING-ZEROLENGTH 1 "December 19, 2010" +.SH NAME +string-zerolength - handling of zero-length user-defined strings +.SH DESCRIPTION +.ds dszero " +.de dezero +.. +use zero-length string: +x\*[dszero]x +.dszero +x +.PP +use zero-length macro: +x\*[dezero]x +.dezero +x diff --git a/contrib/mandoc/regress/roff/string/zerolength.out_ascii b/contrib/mandoc/regress/roff/string/zerolength.out_ascii new file mode 100644 index 00000000000..5ab80c5dc9f --- /dev/null +++ b/contrib/mandoc/regress/roff/string/zerolength.out_ascii @@ -0,0 +1,15 @@ +STRING-ZEROLENGTH(1) General Commands Manual STRING-ZEROLENGTH(1) + + + +NNAAMMEE + string-zerolength - handling of zero-length user-defined strings + +DDEESSCCRRIIPPTTIIOONN + use zero-length string: xx x + + use zero-length macro: xx x + + + +OpenBSD December 19, 2010 STRING-ZEROLENGTH(1) diff --git a/contrib/mandoc/regress/roff/ta/Makefile b/contrib/mandoc/regress/roff/ta/Makefile new file mode 100644 index 00000000000..656c5174f5a --- /dev/null +++ b/contrib/mandoc/regress/roff/ta/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD$ + +REGRESS_TARGETS = basic-mdoc basic-man + +.include diff --git a/contrib/mandoc/regress/roff/ta/basic-man.in b/contrib/mandoc/regress/roff/ta/basic-man.in new file mode 100644 index 00000000000..dd6794ec73e --- /dev/null +++ b/contrib/mandoc/regress/roff/ta/basic-man.in @@ -0,0 +1,23 @@ +.\" $OpenBSD: basic-man.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.TH TA-BASIC-MAN 1 "May 7, 2014" +.SH NAME +ta-basic-man \- setting tabstop positions in man(7) +.SH DESCRIPTION +.nf +default: +1 2 3 +10n: +.ta 10n +1 2 3 +none: +.ta +1 2 3 +3n +6n T 4n +2n: +.ta 3n +6n T 4n +2n +1 2 3 4 5 6 7 8 9 +default unit: +.ta 3 +4 12 +1 2 3 4 +rounding: +.ta 0.26i T 1c +1 2 3 4 5 6 7 8 9 diff --git a/contrib/mandoc/regress/roff/ta/basic-man.out_ascii b/contrib/mandoc/regress/roff/ta/basic-man.out_ascii new file mode 100644 index 00000000000..659422f2b11 --- /dev/null +++ b/contrib/mandoc/regress/roff/ta/basic-man.out_ascii @@ -0,0 +1,24 @@ +TA-BASIC-MAN(1) General Commands Manual TA-BASIC-MAN(1) + + + +NNAAMMEE + ta-basic-man - setting tabstop positions in man(7) + +DDEESSCCRRIIPPTTIIOONN + default: + 1 2 3 + 10n: + 1 23 + none: + 123 + 3n +6n T 4n +2n: + 1 2 3 4 5 6 7 8 9 + default unit: + 1 2 3 4 + rounding: + 1 2 3 4 5 6 7 8 9 + + + +OpenBSD May 7, 2014 TA-BASIC-MAN(1) diff --git a/contrib/mandoc/regress/roff/ta/basic-mdoc.in b/contrib/mandoc/regress/roff/ta/basic-mdoc.in new file mode 100644 index 00000000000..35a1926f231 --- /dev/null +++ b/contrib/mandoc/regress/roff/ta/basic-mdoc.in @@ -0,0 +1,35 @@ +.\" $OpenBSD: basic-mdoc.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt TA-BASIC-MDOC 1 +.Os +.Sh NAME +.Nm ta-basic-mdoc +.Nd setting tabstop positions in mdoc(7) +.Sh DESCRIPTION +.Bd -unfilled +default: +1 2 3 +10n: +.ta 10n +1 2 3 +none: +.ta +1 2 3 +3n +6n T 4n +2n: +.ta 3n +6n T 4n +2n +1 2 3 4 5 6 7 8 9 +.Ed +.Pp +literal: +.Bd -literal -compact +1 2 3 +.Ed +.Pp +after literal: +.br +1 2 3 +.Pp +default unit: +.br +.ta 3 +4 12 +1 2 3 4 diff --git a/contrib/mandoc/regress/roff/ta/basic-mdoc.out_ascii b/contrib/mandoc/regress/roff/ta/basic-mdoc.out_ascii new file mode 100644 index 00000000000..71d2b8bbbaa --- /dev/null +++ b/contrib/mandoc/regress/roff/ta/basic-mdoc.out_ascii @@ -0,0 +1,25 @@ +TA-BASIC-MDOC(1) General Commands Manual TA-BASIC-MDOC(1) + +NNAAMMEE + ttaa--bbaassiicc--mmddoocc - setting tabstop positions in mdoc(7) + +DDEESSCCRRIIPPTTIIOONN + default: + 1 2 3 + 10n: + 1 23 + none: + 123 + 3n +6n T 4n +2n: + 1 2 3 4 5 6 7 8 9 + + literal: + 1 2 3 + + after literal: + 1 2 3 + + default unit: + 1 2 3 4 + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/ti/Makefile b/contrib/mandoc/regress/roff/ti/Makefile new file mode 100644 index 00000000000..4ac4cde0171 --- /dev/null +++ b/contrib/mandoc/regress/roff/ti/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.1 2017/05/07 17:30:58 schwarze Exp $ + +REGRESS_TARGETS = basic-mdoc basic-man + +.include diff --git a/contrib/mandoc/regress/roff/ti/basic-man.in b/contrib/mandoc/regress/roff/ti/basic-man.in new file mode 100644 index 00000000000..f5a251e0c0f --- /dev/null +++ b/contrib/mandoc/regress/roff/ti/basic-man.in @@ -0,0 +1,19 @@ +.\" $OpenBSD: basic-man.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.TH TI-BASIC-MAN 1 "May 8, 2014" +.SH NAME +ti-basic-man \- temporary indentation in man(7) +.SH DESCRIPTION +initial text +.ti 0.96i +This text is indented. +However, the indent is temporary, +so as soon as the line wraps, it is gone. +.ti +10n +The temporary indent can be relative. +All the same, it will expire in the usual way. +.ti -0.26i +It is also possible to temporarily reduce the indentation, +but that will also last until the next line break only. +.ti -10n +Reducing by more than the current offset +starts the next line at the physical left margin. diff --git a/contrib/mandoc/regress/roff/ti/basic-man.out_ascii b/contrib/mandoc/regress/roff/ti/basic-man.out_ascii new file mode 100644 index 00000000000..acc53f45383 --- /dev/null +++ b/contrib/mandoc/regress/roff/ti/basic-man.out_ascii @@ -0,0 +1,21 @@ +TI-BASIC-MAN(1) General Commands Manual TI-BASIC-MAN(1) + + + +NNAAMMEE + ti-basic-man - temporary indentation in man(7) + +DDEESSCCRRIIPPTTIIOONN + initial text + This text is indented. However, the indent is temporary, so as soon + as the line wraps, it is gone. + The temporary indent can be relative. All the same, it will + expire in the usual way. + It is also possible to temporarily reduce the indentation, but that will + also last until the next line break only. +Reducing by more than the current offset starts the next line at the physical + left margin. + + + +OpenBSD May 8, 2014 TI-BASIC-MAN(1) diff --git a/contrib/mandoc/regress/roff/ti/basic-mdoc.in b/contrib/mandoc/regress/roff/ti/basic-mdoc.in new file mode 100644 index 00000000000..b6089d3d0b1 --- /dev/null +++ b/contrib/mandoc/regress/roff/ti/basic-mdoc.in @@ -0,0 +1,22 @@ +.\" $OpenBSD: basic-mdoc.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt TI-BASIC-MDOC 1 +.Os +.Sh NAME +.Nm ti-basic-mdoc +.Nd temporary indent in mdoc(7) +.Sh DESCRIPTION +initial text +.ti 10n +This text is indented. +However, the indent is temporary, +so as soon as the line wraps, it is gone. +.ti +10n +The temporary indent can be relative. +All the same, it will expire in the usual way. +.ti -3n +It is also possible to temporarily reduce the indentation, +but that will also last until the next line break only. +.ti -10n +Reducing by more than the current offset +starts the next line at the physical left margin. diff --git a/contrib/mandoc/regress/roff/ti/basic-mdoc.out_ascii b/contrib/mandoc/regress/roff/ti/basic-mdoc.out_ascii new file mode 100644 index 00000000000..3c23b665e29 --- /dev/null +++ b/contrib/mandoc/regress/roff/ti/basic-mdoc.out_ascii @@ -0,0 +1,17 @@ +TI-BASIC-MDOC(1) General Commands Manual TI-BASIC-MDOC(1) + +NNAAMMEE + ttii--bbaassiicc--mmddoocc - temporary indent in mdoc(7) + +DDEESSCCRRIIPPTTIIOONN + initial text + This text is indented. However, the indent is temporary, so as soon + as the line wraps, it is gone. + The temporary indent can be relative. All the same, it will + expire in the usual way. + It is also possible to temporarily reduce the indentation, but that will + also last until the next line break only. +Reducing by more than the current offset starts the next line at the physical + left margin. + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/roff/tr/Makefile b/contrib/mandoc/regress/roff/tr/Makefile new file mode 100644 index 00000000000..791c27ef205 --- /dev/null +++ b/contrib/mandoc/regress/roff/tr/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.1 2015/02/06 16:05:51 schwarze Exp $ + +REGRESS_TARGETS = args +LINT_TARGETS = args + +.include diff --git a/contrib/mandoc/regress/roff/tr/args.in b/contrib/mandoc/regress/roff/tr/args.in new file mode 100644 index 00000000000..fa413710ab7 --- /dev/null +++ b/contrib/mandoc/regress/roff/tr/args.in @@ -0,0 +1,17 @@ +.\" $OpenBSD: args.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.TH TR-BASIC 1 "February 6, 2015" +.SH NAME +tr-args \- arguments of the tr request +.SH DESCRIPTION +no argument: +.tr +one character: +.tr x +>>x<< +two characters: +.tr xy +>>x<< +three characters: +.tr xyz +>>xz<< +last line diff --git a/contrib/mandoc/regress/roff/tr/args.out_ascii b/contrib/mandoc/regress/roff/tr/args.out_ascii new file mode 100644 index 00000000000..b199ed6b81d --- /dev/null +++ b/contrib/mandoc/regress/roff/tr/args.out_ascii @@ -0,0 +1,14 @@ +TR-BASIC(1) General Commands Manual TR-BASIC(1) + + + +NNAAMMEE + tr-args - arguments of the tr request + +DDEESSCCRRIIPPTTIIOONN + no argument: one character: >> << two characters: >>y<< three + characters: >>y << last line + + + +OpenBSD February 6, 2015 TR-BASIC(1) diff --git a/contrib/mandoc/regress/roff/tr/args.out_lint b/contrib/mandoc/regress/roff/tr/args.out_lint new file mode 100644 index 00000000000..47b1ad78f35 --- /dev/null +++ b/contrib/mandoc/regress/roff/tr/args.out_lint @@ -0,0 +1,3 @@ +mandoc: args.in:7:2: WARNING: skipping empty request: tr +mandoc: args.in:9:5: WARNING: odd number of characters in request: tr x +mandoc: args.in:15:7: WARNING: odd number of characters in request: tr z diff --git a/contrib/mandoc/regress/tbl/Makefile b/contrib/mandoc/regress/tbl/Makefile new file mode 100644 index 00000000000..05743c8d253 --- /dev/null +++ b/contrib/mandoc/regress/tbl/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.13 2015/01/29 23:34:45 schwarze Exp $ + +SUBDIR = opt layout mod data macro + +.include "../Makefile.sub" +.include diff --git a/contrib/mandoc/regress/tbl/Makefile.inc b/contrib/mandoc/regress/tbl/Makefile.inc new file mode 100644 index 00000000000..95860d51d70 --- /dev/null +++ b/contrib/mandoc/regress/tbl/Makefile.inc @@ -0,0 +1,16 @@ +# $OpenBSD: Makefile.inc,v 1.2 2015/02/03 19:37:25 schwarze Exp $ + +TBL = /usr/local/bin/tbl + +SKIP_TMAN ?= ALL +SKIP_MARKDOWN ?= ALL + + +# OpenBSD only: maintainer targets + +.for t in ${REGRESS_TARGETS} +${t}.out_ascii: ${t}.in + ${TBL} ${.ALLSRC} | ${NROFF} ${NOPTS} -Tascii > ${.TARGET} +.endfor + +.include "../Makefile.inc" diff --git a/contrib/mandoc/regress/tbl/data/Makefile b/contrib/mandoc/regress/tbl/data/Makefile new file mode 100644 index 00000000000..07a5573d4c0 --- /dev/null +++ b/contrib/mandoc/regress/tbl/data/Makefile @@ -0,0 +1,12 @@ +# $OpenBSD: Makefile,v 1.4 2017/07/04 20:59:17 schwarze Exp $ + +REGRESS_TARGETS = blankline block_unclosed block_width block_wrap empty insert +LINT_TARGETS = block_unclosed empty insert + +# groff-1.22.3 defect: +# - When a table ends in the middle of a block, +# GNU eqn produces no output whatsoever for the whole table. + +SKIP_GROFF = block_unclosed + +.include diff --git a/contrib/mandoc/regress/tbl/data/blankline.in b/contrib/mandoc/regress/tbl/data/blankline.in new file mode 100644 index 00000000000..f171dcef4cf --- /dev/null +++ b/contrib/mandoc/regress/tbl/data/blankline.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: blankline.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.TH TBL-DATA-BLANKLINE 1 "January 21, 2015" +.SH NAME +tbl-data-blankline \- blank line in a table +.SH DESCRIPTION +normal text +.TS +lb +li +lb. +first + +last +.TE +normal text diff --git a/contrib/mandoc/regress/tbl/data/blankline.out_ascii b/contrib/mandoc/regress/tbl/data/blankline.out_ascii new file mode 100644 index 00000000000..2cfd35a120f --- /dev/null +++ b/contrib/mandoc/regress/tbl/data/blankline.out_ascii @@ -0,0 +1,18 @@ +TBL-DATA-BLANKLINE(1) General Commands Manual TBL-DATA-BLANKLINE(1) + + + +NNAAMMEE + tbl-data-blankline - blank line in a table + +DDEESSCCRRIIPPTTIIOONN + normal text + + ffiirrsstt + + llaasstt + normal text + + + +OpenBSD January 21, 2015 TBL-DATA-BLANKLINE(1) diff --git a/contrib/mandoc/regress/tbl/data/block_unclosed.in b/contrib/mandoc/regress/tbl/data/block_unclosed.in new file mode 100644 index 00000000000..61a02efd8b1 --- /dev/null +++ b/contrib/mandoc/regress/tbl/data/block_unclosed.in @@ -0,0 +1,34 @@ +.\" $OpenBSD: block_unclosed.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.TH TBL-DATA-BLOCK_UNCLOSED 1 "January 28, 2015" +.SH NAME +tbl-data-block_unclosed \- unclosed text block +.SH DESCRIPTION +normal text +.TS +box tab(:); +lll. +begin:T{ +middle +T}:end +T{ +begin +T}:middle:T{ +end +T} +incomplete:T{ +block +.TE +normal text +.TS +box tab(:); +lll. +begin:T{ +middle +T}:end +incomplete:T{ +block +.T& +rrr. +reset:still:works +.TE +normal text diff --git a/contrib/mandoc/regress/tbl/data/block_unclosed.out_ascii b/contrib/mandoc/regress/tbl/data/block_unclosed.out_ascii new file mode 100644 index 00000000000..bf0338ce982 --- /dev/null +++ b/contrib/mandoc/regress/tbl/data/block_unclosed.out_ascii @@ -0,0 +1,27 @@ +TBL-DATA-BLOCK_UNCLOSED(1) General Commands Manual TBL-DATA-BLOCK_UNCLOSED(1) + + + +NNAAMMEE + tbl-data-block_unclosed - unclosed text block + +DDEESSCCRRIIPPTTIIOONN + normal text + + +--------------------------+ + |begin middle end | + |begin middle end | + |incomplete block | + +--------------------------+ + normal text + + +----------------------------+ + |begin middle end | + |incomplete block | + | reset still works | + +----------------------------+ + normal text + + + +OpenBSD January 28, 2015 TBL-DATA-BLOCK_UNCLOSED(1) diff --git a/contrib/mandoc/regress/tbl/data/block_unclosed.out_lint b/contrib/mandoc/regress/tbl/data/block_unclosed.out_lint new file mode 100644 index 00000000000..60ce4a50bec --- /dev/null +++ b/contrib/mandoc/regress/tbl/data/block_unclosed.out_lint @@ -0,0 +1,2 @@ +mandoc: block_unclosed.in:7:2: ERROR: data block open at end of tbl: TE +mandoc: block_unclosed.in:30:2: ERROR: data block open at end of tbl: T& diff --git a/contrib/mandoc/regress/tbl/data/block_width.in b/contrib/mandoc/regress/tbl/data/block_width.in new file mode 100644 index 00000000000..a1aa47a4dc4 --- /dev/null +++ b/contrib/mandoc/regress/tbl/data/block_width.in @@ -0,0 +1,107 @@ +.\" $OpenBSD: block_width.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt TBL-DATA-BLOCK_WIDTH 1 +.Os +.Sh NAME +.Nm tbl-data-block_width +.Nd default width of text blocks +.Sh DESCRIPTION +one column: +.TS +allbox tab(:); +l. +T{ +1234567890123456789012345678901234567 9 +T} +T{ +1234567890123456789012345678901234567 90 +T} +.TE +.sp +two columns: +.TS +allbox tab(:); +l l. +a:T{ +123456789012345678901234 6 +T} +a:T{ +123456789012345678901234 67 +T} +.TE +.sp +three columns: +.TS +allbox tab(:); +l l l. +a:b:T{ +12345678901234567 9 +T} +a:b:T{ +12345678901234567 90 +T} +.TE +.sp +four columns: +.TS +allbox tab(:); +l l l l. +a:b:c:T{ +12345678901234 6 +T} +a:b:c:T{ +12345678901234 67 +T} +.TE +.sp +five columns: +.TS +allbox tab(:); +l l l l l. +a:b:c:d:T{ +12345678901 3 +T} +a:b:c:d:T{ +12345678901 34 +T} +.TE +.sp +six columns: +.TS +allbox tab(:); +l l l l l l. +a:b:c:d:e:T{ +123456789 1 +T} +a:b:c:d:e:T{ +123456789 12 +T} +.TE +.sp +seven columns: +.TS +allbox tab(:); +l l l l l l l. +a:b:c:d:e:f:T{ +12345678 0 +T} +a:b:c:d:e:f:T{ +12345678 01 +T} +.TE +.sp +eight columns: +.TS +allbox tab(:); +l l l l l l l l. +a:b:c:d:e:f:g:T{ +1234567 9 +T} +a:b:c:d:e:f:g:T{ +1234567 90 +T} +.TE +.sp +leaked tab settings: +.br +\& b c d e f g h diff --git a/contrib/mandoc/regress/tbl/data/block_width.out_ascii b/contrib/mandoc/regress/tbl/data/block_width.out_ascii new file mode 100644 index 00000000000..7058f54e14f --- /dev/null +++ b/contrib/mandoc/regress/tbl/data/block_width.out_ascii @@ -0,0 +1,66 @@ +TBL-DATA-BLOCK_WIDTH(1) General Commands Manual TBL-DATA-BLOCK_WIDTH(1) + +NNAAMMEE + ttbbll--ddaattaa--bblloocckk__wwiiddtthh - default width of text blocks + +DDEESSCCRRIIPPTTIIOONN + one column: + +----------------------------------------+ + |1234567890123456789012345678901234567 9 | + +----------------------------------------+ + |1234567890123456789012345678901234567 | + |90 | + +----------------------------------------+ + two columns: + +--+----------------------------+ + |a | 123456789012345678901234 6 | + +--+----------------------------+ + |a | 123456789012345678901234 | + | | 67 | + +--+----------------------------+ + three columns: + +--+---+---------------------+ + |a | b | 12345678901234567 9 | + +--+---+---------------------+ + |a | b | 12345678901234567 | + | | | 90 | + +--+---+---------------------+ + four columns: + +--+---+---+------------------+ + |a | b | c | 12345678901234 6 | + +--+---+---+------------------+ + |a | b | c | 12345678901234 | + | | | | 67 | + +--+---+---+------------------+ + five columns: + +--+---+---+---+---------------+ + |a | b | c | d | 12345678901 3 | + +--+---+---+---+---------------+ + |a | b | c | d | 12345678901 | + | | | | | 34 | + +--+---+---+---+---------------+ + six columns: + +--+---+---+---+---+-------------+ + |a | b | c | d | e | 123456789 1 | + +--+---+---+---+---+-------------+ + |a | b | c | d | e | 123456789 | + | | | | | | 12 | + +--+---+---+---+---+-------------+ + seven columns: + +--+---+---+---+---+---+------------+ + |a | b | c | d | e | f | 12345678 0 | + +--+---+---+---+---+---+------------+ + |a | b | c | d | e | f | 12345678 | + | | | | | | | 01 | + +--+---+---+---+---+---+------------+ + eight columns: + +--+---+---+---+---+---+---+-----------+ + |a | b | c | d | e | f | g | 1234567 9 | + +--+---+---+---+---+---+---+-----------+ + |a | b | c | d | e | f | g | 1234567 | + | | | | | | | | 90 | + +--+---+---+---+---+---+---+-----------+ + leaked tab settings: + b c d e f g h + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/tbl/data/block_wrap.in b/contrib/mandoc/regress/tbl/data/block_wrap.in new file mode 100644 index 00000000000..837d078e609 --- /dev/null +++ b/contrib/mandoc/regress/tbl/data/block_wrap.in @@ -0,0 +1,32 @@ +.\" $OpenBSD: block_wrap.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt TBL-DATA-BLOCK_WRAP 1 +.Os +.Sh NAME +.Nm tbl-data-block_wrap +.Nd line wrapping in text blocks +.Sh DESCRIPTION +initial text +.TS +allbox tab(:); +l l. +T{ +This is a very long sentence. +T}:short +short:T{ +This is an even longer sentence. +T} +.TE +.Pp +.TS +allbox tab(:); +lw10 lw10. +T{ +This is a very long sentence. +T}:short +short:T{ +This is an even longer sentence. +T} +.TE +.Pp +final text diff --git a/contrib/mandoc/regress/tbl/data/block_wrap.out_ascii b/contrib/mandoc/regress/tbl/data/block_wrap.out_ascii new file mode 100644 index 00000000000..1ffeb7f48f5 --- /dev/null +++ b/contrib/mandoc/regress/tbl/data/block_wrap.out_ascii @@ -0,0 +1,27 @@ +TBL-DATA-BLOCK_WRAP(1) General Commands Manual TBL-DATA-BLOCK_WRAP(1) + +NNAAMMEE + ttbbll--ddaattaa--bblloocckk__wwrraapp - line wrapping in text blocks + +DDEESSCCRRIIPPTTIIOONN + initial text + +--------------------+------------------------+ + |This is a very long | short | + |sentence. | | + +--------------------+------------------------+ + |short | This is an even longer | + | | sentence. | + +--------------------+------------------------+ + +-----------+------------+ + |This is a | short | + |very long | | + |sentence. | | + +-----------+------------+ + |short | This is an | + | | even | + | | longer | + | | sentence. | + +-----------+------------+ + final text + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/tbl/data/empty.in b/contrib/mandoc/regress/tbl/data/empty.in new file mode 100644 index 00000000000..8aff5fe7038 --- /dev/null +++ b/contrib/mandoc/regress/tbl/data/empty.in @@ -0,0 +1,10 @@ +.\" $OpenBSD: empty.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.TH TBL-DATA-EMPTY 1 "January 28, 2015" +.SH NAME +tbl-data-empty \- empty table +.SH DESCRIPTION +normal text +.TS +box; l. +.TE +normal text diff --git a/contrib/mandoc/regress/tbl/data/empty.out_ascii b/contrib/mandoc/regress/tbl/data/empty.out_ascii new file mode 100644 index 00000000000..6aaafe7f767 --- /dev/null +++ b/contrib/mandoc/regress/tbl/data/empty.out_ascii @@ -0,0 +1,15 @@ +TBL-DATA-EMPTY(1) General Commands Manual TBL-DATA-EMPTY(1) + + + +NNAAMMEE + tbl-data-empty - empty table + +DDEESSCCRRIIPPTTIIOONN + normal text + + normal text + + + +OpenBSD January 28, 2015 TBL-DATA-EMPTY(1) diff --git a/contrib/mandoc/regress/tbl/data/empty.out_lint b/contrib/mandoc/regress/tbl/data/empty.out_lint new file mode 100644 index 00000000000..b8edd7ddfa3 --- /dev/null +++ b/contrib/mandoc/regress/tbl/data/empty.out_lint @@ -0,0 +1 @@ +mandoc: empty.in:7:2: ERROR: tbl without any data cells diff --git a/contrib/mandoc/regress/tbl/data/insert.in b/contrib/mandoc/regress/tbl/data/insert.in new file mode 100644 index 00000000000..942a496154c --- /dev/null +++ b/contrib/mandoc/regress/tbl/data/insert.in @@ -0,0 +1,21 @@ +.\" $OpenBSD: insert.in,v 1.1 2017/07/04 20:59:17 schwarze Exp $ +.TH TBL-DATA-INSERT 1 "July 4, 2017" +.SH NAME +tbl-data-insert \- insertion of empty spans for line-only layout rows +.SH DESCRIPTION +initial text +.TS +tab(:); +_ _ +l l +- - +l r +_ ^ +r. +colum one:column two +left:right +not:printed +right:left +.TE +.sp +final text diff --git a/contrib/mandoc/regress/tbl/data/insert.out_ascii b/contrib/mandoc/regress/tbl/data/insert.out_ascii new file mode 100644 index 00000000000..50ce3484aa9 --- /dev/null +++ b/contrib/mandoc/regress/tbl/data/insert.out_ascii @@ -0,0 +1,22 @@ +TBL-DATA-INSERT(1) General Commands Manual TBL-DATA-INSERT(1) + + + +NNAAMMEE + tbl-data-insert - insertion of empty spans for line-only layout rows + +DDEESSCCRRIIPPTTIIOONN + initial text + + ----------------------- + colum one column two + ----------------------- + left right + ----------- + right left + + final text + + + +OpenBSD July 4, 2017 TBL-DATA-INSERT(1) diff --git a/contrib/mandoc/regress/tbl/data/insert.out_lint b/contrib/mandoc/regress/tbl/data/insert.out_lint new file mode 100644 index 00000000000..380b5e6bcac --- /dev/null +++ b/contrib/mandoc/regress/tbl/data/insert.out_lint @@ -0,0 +1,2 @@ +mandoc: insert.in:17:1: ERROR: ignoring data in spanned tbl cell: not +mandoc: insert.in:17:5: ERROR: ignoring data in spanned tbl cell: printed diff --git a/contrib/mandoc/regress/tbl/layout/Makefile b/contrib/mandoc/regress/tbl/layout/Makefile new file mode 100644 index 00000000000..9cc65754545 --- /dev/null +++ b/contrib/mandoc/regress/tbl/layout/Makefile @@ -0,0 +1,15 @@ +# $OpenBSD: Makefile,v 1.2 2015/01/30 00:27:09 schwarze Exp $ + +REGRESS_TARGETS = center complex empty emptyline +REGRESS_TARGETS += lines lines-nogroff numbers span +LINT_TARGETS = complex empty + +# groff-1.22.3 defects: +# - When the layout is completely empty, +# GNU eqn produces no output whatsoever for the whole table. +# - When there is no horizontal line at the top, +# vertical lines extend beyond the top of the table. + +SKIP_GROFF = empty lines-nogroff + +.include diff --git a/contrib/mandoc/regress/tbl/layout/center.in b/contrib/mandoc/regress/tbl/layout/center.in new file mode 100644 index 00000000000..5727ca96345 --- /dev/null +++ b/contrib/mandoc/regress/tbl/layout/center.in @@ -0,0 +1,27 @@ +.\" $OpenBSD: center.in,v 1.4 2017/07/04 14:53:27 schwarze Exp $ +.TH TBL-LAYOUT-CENTER 1 "June 17, 2017" +.SH NAME +tbl-layout-center \- centering of table cells +.SH DESCRIPTION +normal text +.TS +tab(:); +r c l +r c l +r c l +c s l +r c s +r c l . +*:*:* +**:**:** +***:***:*** +***:*** +***:*** +***:***:*** +****:****:**** +*****:*****:***** +.TE +.sp +leaked tab settings: +.br +a b c de diff --git a/contrib/mandoc/regress/tbl/layout/center.out_ascii b/contrib/mandoc/regress/tbl/layout/center.out_ascii new file mode 100644 index 00000000000..3196fff6c17 --- /dev/null +++ b/contrib/mandoc/regress/tbl/layout/center.out_ascii @@ -0,0 +1,25 @@ +TBL-LAYOUT-CENTER(1) General Commands Manual TBL-LAYOUT-CENTER(1) + + + +NNAAMMEE + tbl-layout-center - centering of table cells + +DDEESSCCRRIIPPTTIIOONN + normal text + + * * * + ** ** ** + *** *** *** + *** *** + *** *** + *** *** *** + **** **** **** + ***** ***** ***** + + leaked tab settings: + a b c de + + + +OpenBSD June 17, 2017 TBL-LAYOUT-CENTER(1) diff --git a/contrib/mandoc/regress/tbl/layout/complex.in b/contrib/mandoc/regress/tbl/layout/complex.in new file mode 100644 index 00000000000..4372503ae41 --- /dev/null +++ b/contrib/mandoc/regress/tbl/layout/complex.in @@ -0,0 +1,38 @@ +.\" $OpenBSD: complex.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.TH TBL-LAYOUT-COMPLEX 1 "January 26, 2015" +.SH NAME +tbl-layout-complex \- complex table layout +.SH DESCRIPTION +normal text +.TS +box tab(:); +l|p-1l bsil|||l,l|l ilb^|i||l. +a:b:c:d +e:f:g:h:i +.TE +.PP +normal text +.TS +box tab(:); +l ^ +l l. +a:b +c:d +.TE +.PP +normal text +.TS +tab(:); +||l||l|| +|l|l| +ll. +_ +a:b +_ +c:d +_ +e:f +_ +.TE +.PP +normal text diff --git a/contrib/mandoc/regress/tbl/layout/complex.out_ascii b/contrib/mandoc/regress/tbl/layout/complex.out_ascii new file mode 100644 index 00000000000..8581f2026d3 --- /dev/null +++ b/contrib/mandoc/regress/tbl/layout/complex.out_ascii @@ -0,0 +1,35 @@ +TBL-LAYOUT-COMPLEX(1) General Commands Manual TBL-LAYOUT-COMPLEX(1) + + + +NNAAMMEE + tbl-layout-complex - complex table layout + +DDEESSCCRRIIPPTTIIOONN + normal text + + +--+-----------++--+ + |a | bb c ||d | + |e | _f gg ||i | + +--+-----------++--+ + normal text + + +------+ + |a | + |c d | + +------+ + normal text + + +--++--+ + |a ||b | + +--++--+ + |c | d | + +--+---+ + e f + -------- + + normal text + + + +OpenBSD January 26, 2015 TBL-LAYOUT-COMPLEX(1) diff --git a/contrib/mandoc/regress/tbl/layout/complex.out_lint b/contrib/mandoc/regress/tbl/layout/complex.out_lint new file mode 100644 index 00000000000..cea8740a81d --- /dev/null +++ b/contrib/mandoc/regress/tbl/layout/complex.out_lint @@ -0,0 +1,5 @@ +mandoc: complex.in:9:14: WARNING: skipping vertical bar in tbl layout +mandoc: complex.in:9:28: WARNING: skipping vertical bar in tbl layout +mandoc: complex.in:11:7: ERROR: ignoring data in spanned tbl cell: h +mandoc: complex.in:17:3: WARNING: tbl column starts with span +mandoc: complex.in:19:3: ERROR: ignoring data in spanned tbl cell: b diff --git a/contrib/mandoc/regress/tbl/layout/empty.in b/contrib/mandoc/regress/tbl/layout/empty.in new file mode 100644 index 00000000000..cf8f7a52e91 --- /dev/null +++ b/contrib/mandoc/regress/tbl/layout/empty.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: empty.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.TH TBL-LAYOUT-EMPTY 1 "January 29, 2015" +.SH NAME +tbl-layout-empty \- empty table layout +.SH DESCRIPTION +completely empty layout: +.TS +. +table text +.TE +layout only contains a bar: +.TS +|. +table text +.TE +normal text diff --git a/contrib/mandoc/regress/tbl/layout/empty.out_ascii b/contrib/mandoc/regress/tbl/layout/empty.out_ascii new file mode 100644 index 00000000000..96d224fa391 --- /dev/null +++ b/contrib/mandoc/regress/tbl/layout/empty.out_ascii @@ -0,0 +1,19 @@ +TBL-LAYOUT-EMPTY(1) General Commands Manual TBL-LAYOUT-EMPTY(1) + + + +NNAAMMEE + tbl-layout-empty - empty table layout + +DDEESSCCRRIIPPTTIIOONN + completely empty layout: + + table text + layout only contains a bar: + + |table text + normal text + + + +OpenBSD January 29, 2015 TBL-LAYOUT-EMPTY(1) diff --git a/contrib/mandoc/regress/tbl/layout/empty.out_lint b/contrib/mandoc/regress/tbl/layout/empty.out_lint new file mode 100644 index 00000000000..d5470182755 --- /dev/null +++ b/contrib/mandoc/regress/tbl/layout/empty.out_lint @@ -0,0 +1,2 @@ +mandoc: empty.in:8:2: ERROR: empty tbl layout +mandoc: empty.in:13:3: ERROR: empty tbl layout diff --git a/contrib/mandoc/regress/tbl/layout/emptyline.in b/contrib/mandoc/regress/tbl/layout/emptyline.in new file mode 100644 index 00000000000..ce2743bcf29 --- /dev/null +++ b/contrib/mandoc/regress/tbl/layout/emptyline.in @@ -0,0 +1,25 @@ +.\" $OpenBSD: emptyline.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.TH TBL-LAYOUT-EMPTYLINE 1 "January 29, 2015" +.SH NAME +tbl-layout-emptyline \- empty lines in table layouts +.SH DESCRIPTION +An empty line in the middle of a table joins with the next: +.TS +l +| +r. +table text +_ +bar +right +.TE +.PP +An empty line at the end of a table is discarded: +.TS +l +r +|. +table text +right +.TE +normal text diff --git a/contrib/mandoc/regress/tbl/layout/emptyline.out_ascii b/contrib/mandoc/regress/tbl/layout/emptyline.out_ascii new file mode 100644 index 00000000000..230cc597a33 --- /dev/null +++ b/contrib/mandoc/regress/tbl/layout/emptyline.out_ascii @@ -0,0 +1,24 @@ +TBL-LAYOUT-EMPTYLINE(1) General Commands Manual TBL-LAYOUT-EMPTYLINE(1) + + + +NNAAMMEE + tbl-layout-emptyline - empty lines in table layouts + +DDEESSCCRRIIPPTTIIOONN + An empty line in the middle of a table joins with the next: + + table text + +----------- + | bar + | right + + An empty line at the end of a table is discarded: + + table text + right + normal text + + + +OpenBSD January 29, 2015 TBL-LAYOUT-EMPTYLINE(1) diff --git a/contrib/mandoc/regress/tbl/layout/lines-nogroff.in b/contrib/mandoc/regress/tbl/layout/lines-nogroff.in new file mode 100644 index 00000000000..61fa2fab827 --- /dev/null +++ b/contrib/mandoc/regress/tbl/layout/lines-nogroff.in @@ -0,0 +1,208 @@ +.\" $OpenBSD: lines-nogroff.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt TBL-LAYOUT-LINES-NOGROFF 1 +.Os +.Sh NAME +.Nm tbl-layout-lines +.Nd table cells containing lines, misformatting with groff +.Sh DESCRIPTION +vline top left: +.sp +.TS +tab(:); +| l l + l l. +11:12 +21:22 +.TE +.sp +hline and vline top left: +.sp +.TS +tab(:); +_| l +l l. +:12 +21:22 +.TE +.sp +vline and hline top left: +.sp +.TS +tab(:); +| _ l + l l. +:12 +21:22 +.TE +.sp +vline top: +.sp +.TS +tab(:); +l| l +l l. +11:12 +21:22 +.TE +.sp +vline and hline top: +.sp +.TS +tab(:); +l| _ l +l l l. +11::13 +21:22:23 +.TE +.sp +hline and vline top: +.sp +.TS +tab(:); +l _| l +l l l. +11::13 +21:22:23 +.TE +.sp +hline, vline, hline top: +.sp +.TS +tab(:); +l _| _ l +l l l l. +11:::13 +21:22:23:24 +.TE +.sp +vline top right: +.sp +.TS +tab(:); +l l| +l l. +11:12 +21:22 +.TE +.sp +vline and hline top right: +.sp +.TS +tab(:); +l| _ +l l. +11: +21:22 +.TE +.sp +hline and vline top right: +.sp +.TS +tab(:); +l _| +l l. +11: +21:22 +.TE +.sp +double vline top left: +.sp +.TS +tab(:); +|| l l + l l. +11:12 +21:22 +.TE +.sp +hline and double vline top left: +.sp +.TS +tab(:); +_|| l +l l. +:12 +21:22 +.TE +.sp +double vline and hline top left: +.sp +.TS +tab(:); +|| _ l + l l. +:12 +21:22 +.TE +.sp +double vline top: +.sp +.TS +tab(:); +l|| l +l l. +11:12 +21:22 +.TE +.sp +double vline and hline top: +.sp +.TS +tab(:); +l|| _ l +l l l. +11::13 +21:22:23 +.TE +.sp +hline and double vline top: +.sp +.TS +tab(:); +l _|| l +l l l. +11::13 +21:22:23 +.TE +.sp +hline, double vline, hline top: +.sp +.TS +tab(:); +l _|| _ l +l l l l. +11:::13 +21:22:23:24 +.TE +.sp +double vline top right: +.sp +.TS +tab(:); +l l|| +l l. +11:12 +21:22 +.TE +.sp +double vline and hline top right: +.sp +.TS +tab(:); +l|| _ +l l. +11: +21:22 +.TE +.sp +hline and double vline top right: +.sp +.TS +tab(:); +l _|| +l l. +11: +21:22 +.TE +.sp diff --git a/contrib/mandoc/regress/tbl/layout/lines-nogroff.out_ascii b/contrib/mandoc/regress/tbl/layout/lines-nogroff.out_ascii new file mode 100644 index 00000000000..8473e97269c --- /dev/null +++ b/contrib/mandoc/regress/tbl/layout/lines-nogroff.out_ascii @@ -0,0 +1,108 @@ +TBL-LAYOUT-LINES-NOGROFF(1) General Commands Manual + +NNAAMMEE + ttbbll--llaayyoouutt--lliinneess - table cells containing lines, misformatting with groff + +DDEESSCCRRIIPPTTIIOONN + vline top left: + + |11 12 + 21 22 + + hline and vline top left: + + ---+ 12 + 21 22 + + vline and hline top left: + + +---- 12 + 21 22 + + vline top: + + 11 | 12 + 21 22 + + vline and hline top: + + 11 +----- 13 + 21 22 23 + + hline and vline top: + + 11 -----+ 13 + 21 22 23 + + hline, vline, hline top: + + 11 -----+----- 13 + 21 22 23 24 + + vline top right: + + 11 12 | + 21 22 + + vline and hline top right: + + 11 +---- + 21 22 + + hline and vline top right: + + 11 -----+ + 21 22 + + double vline top left: + + |11 12 + 21 22 + + hline and double vline top left: + + ---+|12 + 21 22 + + double vline and hline top left: + + +---- 12 + 21 22 + + double vline top: + + 11 ||12 + 21 22 + + double vline and hline top: + + 11 ++---- 13 + 21 22 23 + + hline and double vline top: + + 11 -----+|13 + 21 22 23 + + hline, double vline, hline top: + + 11 -----++---- 13 + 21 22 23 24 + + double vline top right: + + 11 12 | + 21 22 + + double vline and hline top right: + + 11 ++--- + 21 22 + + hline and double vline top right: + + 11 -----+ + 21 22 + + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/tbl/layout/lines.in b/contrib/mandoc/regress/tbl/layout/lines.in new file mode 100644 index 00000000000..ae4462deea6 --- /dev/null +++ b/contrib/mandoc/regress/tbl/layout/lines.in @@ -0,0 +1,6977 @@ +.\" $OpenBSD: lines.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt TBL-LAYOUT-LINES 1 +.Os +.Sh NAME +.Nm tbl-layout-lines +.Nd table cells containing lines +.Sh DESCRIPTION +.pl 8000 +hline top left: +.TS +tab(:); +_ l +l l. +:12 +21:22 +.TE +.sp +hline top: +.TS +tab(:); +l _ l +l l l. +11::13 +21:22:23 +.TE +.sp +double hline top: +.TS +tab(:); +l _ _ l +l l l l. +11:::13 +21:22:23:24 +.TE +.sp +hline top right: +.TS +tab(:); +l _ +l l. +11: +21:22 +.TE +.sp +hline in front: +.TS +tab(:); +l l +_ l +l l. +11:12 +:22 +31:32 +.TE +.sp +vline in front: +.TS +tab(:); + l l + l l +| l l + l l. +11:12 +21:22 +31:32 +41:42 +.TE +.sp +hline and vline in front: +.TS +tab(:); +l l +l l +_| l +l l. +11:12 +21:22 +:32 +41:42 +.TE +.sp +vline and hline in front: +.TS +tab(:); + l l + l l +| _ l + l l. +11:12 +21:22 +:32 +41:42 +.TE +.sp +hline in the middle: +.TS +tab(:); +l l l +l _ l +l l l. +11:12:13 +21::23 +31:32:33 +.TE +.sp +vline in the middle: +.TS +tab(:); +l l l +l l l +l| l l +l l l. +11:12:13 +21:22:23 +31:32:33 +41:42:43 +.TE +.sp +vline and hline in the middle: +.TS +tab(:); +l l l +l l l +l| _ l +l l l. +11:12:13 +21:22:23 +31::33 +41:42:43 +.TE +.sp +hline and vline in the middle: +.TS +tab(:); +l l l +l l l +l _| l +l l l. +11:12:13 +21:22:23 +31::33 +41:42:43 +.TE +.sp +double hline in the middle: +.TS +tab(:); +l l l l +l _ _ l +l l l l. +11:12:13:14 +21:::24 +31:32:33:34 +.TE +.sp +hline, vline, hline in the middle: +.TS +tab(:); +l l l l +l l l l +l _| _ l +l l l l. +11:12:13:14 +21:22:23:24 +31:::34 +41:42:43:44 +.TE +.sp +hline at the end: +.TS +tab(:); +l l +l _ +l l. +11:12 +21: +31:32 +.TE +.sp +vline at the end: +.TS +tab(:); +l l +l l +l l| +l l. +11:12 +21:22 +31:32 +41:42 +.TE +.sp +vline and hline at the end: +.TS +tab(:); +l l +l l +l| _ +l l. +11:12 +21:22 +31: +41:42 +.TE +.sp +hline and vline at the end: +.TS +tab(:); +l l +l l +l _| +l l. +11:12 +21:22 +31: +41:42 +.TE +.sp +hline bottom left: +.TS +tab(:); +l l +_ l. +11:12 +:22 +.TE +.sp +vline bottom left: +.TS +tab(:); + l l + l l +| l l. +11:12 +21:22 +31:32 +.TE +.sp +hline and vline bottom left: +.TS +tab(:); +l l +l l +_| l. +11:12 +21:22 +:32 +.TE +.sp +vline and hline bottom left: +.TS +tab(:); + l l + l l +| _ l. +11:12 +21:22 +:32 +.TE +.sp +double hline bottom: +.TS +tab(:); +l l l l +l _ _ l. +11:12:13:14 +21:::24 +.TE +.sp +hline, vline, hline bottom: +.TS +tab(:); +l l l l +l l l l +l _| _ l. +11:12:13:14 +21:22:23:24 +31:::34 +.TE +.sp +hline bottom right: +.TS +tab(:); +l l +l _. +11:12 +21: +.TE +.sp +vline bottom right: +.TS +tab(:); +l l +l l +l l|. +11:12 +21:22 +31:32 +.TE +.sp +vline and hline bottom right: +.TS +tab(:); +l l +l l +l| _. +11:12 +21:22 +31: +.TE +.sp +hline and vline bottom right: +.TS +tab(:); +l l +l l +l _|. +11:12 +21:22 +31: +.TE +.sp +double vline in front: +.TS +tab(:); + l l + l l +|| l l + l l. +11:12 +21:22 +31:32 +41:42 +.TE +.sp +hline and double vline in front: +.TS +tab(:); +l l +l l +_|| l +l l. +11:12 +21:22 +:32 +41:42 +.TE +.sp +double vline and hline in front: +.TS +tab(:); + l l + l l +|| _ l + l l. +11:12 +21:22 +:32 +41:42 +.TE +.sp +double vline in the middle: +.TS +tab(:); +l l l +l l l +l|| l l +l l l. +11:12:13 +21:22:23 +31:32:33 +41:42:43 +.TE +.sp +double vline and hline in the middle: +.TS +tab(:); +l l l +l l l +l|| _ l +l l l. +11:12:13 +21:22:23 +31::33 +41:42:43 +.TE +.sp +hline and doble vline in the middle: +.TS +tab(:); +l l l +l l l +l _|| l +l l l. +11:12:13 +21:22:23 +31::33 +41:42:43 +.TE +.sp +hline, double vline, hline in the middle: +.TS +tab(:); +l l l l +l l l l +l _|| _ l +l l l l. +11:12:13:14 +21:22:23:24 +31:::34 +41:42:43:44 +.TE +.sp +double vline at the end: +.TS +tab(:); +l l +l l +l l|| +l l. +11:12 +21:22 +31:32 +41:42 +.TE +.sp +double vline and hline at the end: +.TS +tab(:); +l l +l l +l|| _ +l l. +11:12 +21:22 +31: +41:42 +.TE +.sp +hline and double vline at the end: +.TS +tab(:); +l l +l l +l _|| +l l. +11:12 +21:22 +31: +41:42 +.TE +.sp +double vline bottom left: +.TS +tab(:); + l l + l l +|| l l. +11:12 +21:22 +31:32 +.TE +.sp +hline and double vline bottom left: +.TS +tab(:); +l l +l l +_|| l. +11:12 +21:22 +:32 +.TE +.sp +double vline and hline bottom left: +.TS +tab(:); + l l + l l +|| _ l. +11:12 +21:22 +:32 +.TE +.sp +hline, double vline, hline bottom: +.TS +tab(:); +l l l l +l l l l +l _|| _ l. +11:12:13:14 +21:22:23:24 +31:::34 +.TE +.sp +double vline bottom right: +.TS +tab(:); +l l +l l +l l||. +11:12 +21:22 +31:32 +.TE +.sp +double vline and hline bottom right: +.TS +tab(:); +l l +l l +l|| _. +11:12 +21:22 +31: +.TE +.sp +hline and double vline bottom right: +.TS +tab(:); +l l +l l +l _||. +11:12 +21:22 +31: +.TE +.sp +vline left below hline top left: +.TS +tab(:); + _ l +| l l + l l. +:12 +21:22 +31:32 +.TE +.sp +vline right below hline top left: +.TS +tab(:); +_ l +l| l +l l. +:12 +21:22 +31:32 +.TE +.sp +vline left below hline at the top: +.TS +tab(:); +l _ l +l| l l +l l l. +11::13 +21:22:23 +31:32:33 +.TE +.sp +vline right below hline at the top: +.TS +tab(:); +l _ l +l l| l +l l l. +11::13 +21:22:23 +31:32:33 +.TE +.sp +vline below hline at the top: +.TS +tab(:); +l _ _ l +l l| l l +l l l l. +11:::14 +21:22:23:24 +31:32:33:34 +.TE +.sp +vline left below hline top right: +.TS +tab(:); +l _ +l| l +l l. +11: +21:22 +31:32 +.TE +.sp +vline right below hline top right: +.TS +tab(:); +l _ +l l| +l l. +11: +21:22 +31:32 +.TE +.sp +vline left below hline in front: +.TS +tab(:); + l l + _ l +| l l + l l. +11:12 +:22 +31:32 +41:42 +.TE +.sp +vline left above hline in front: +.TS +tab(:); + l l + l l +| l l + _ l + l l. +11:12 +21:22 +31:32 +:42 +51:52 +.TE +.sp +vline right below hline in front: +.TS +tab(:); +l l +_ l +l| l +l l. +11:12 +:22 +31:32 +41:42 +.TE +.sp +vline right above hline in front: +.TS +tab(:); +l l +l l +l| l +_ l +l l. +11:12 +21:22 +31:32 +:42 +51:52 +.TE +.sp +vline left below hline in the middle: +.TS +tab(:); +l l l +l _ l +l| l l +l l l. +11:12:13 +21::23 +31:32:33 +41:42:43 +.TE +.sp +vline left above hline in the middle: +.TS +tab(:); +l l l +l l l +l| l l +l _ l +l l l. +11:12:13 +21:22:23 +31:32:33 +41::43 +51:52:53 +.TE +.sp +vline right below hline in the middle: +.TS +tab(:); +l l l +l _ l +l l| l +l l l. +11:12:13 +21::23 +31:32:33 +41:42:43 +.TE +.sp +vline right above hline in the middle: +.TS +tab(:); +l l l +l l l +l l| l +l _ l +l l l. +11:12:13 +21:22:23 +31:32:33 +41::43 +51:52:53 +.TE +.sp +vline below hline in the middle: +.TS +tab(:); +l l l l +l _ _ l +l l| l l +l l l l. +11:12:13:14 +21:::24 +31:32:33:34 +41:42:43:44 +.TE +.sp +vline above hline in the middle: +.TS +tab(:); +l l l l +l l l l +l l| l l +l _ _ l +l l l l. +11:12:13:14 +21:22:23:24 +31:32:33:34 +41:::44 +51:52:53:54 +.TE +.sp +vline left below hline at the end: +.TS +tab(:); +l l +l _ +l| l +l l. +11:12 +21: +31:32 +41:42 +.TE +.sp +vline left above hline at the end: +.TS +tab(:); +l l +l l +l| l +l _ +l l. +11:12 +21:22 +31:32 +41: +51:52 +.TE +.sp +vline right below hline at the end: +.TS +tab(:); +l l +l _ +l l| +l l. +11:12 +21: +31:32 +41:42 +.TE +.sp +vline right above hline at the end: +.TS +tab(:); +l l +l l +l l| +l _ +l l. +11:12 +21:22 +31:32 +41: +51:52 +.TE +.sp +vline left above hline bottom left: +.TS +tab(:); + l l + l l +| l l + _ l. +11:12 +21:22 +31:32 +:42 +.TE +.sp +vline right above hline bottom left: +.TS +tab(:); +l l +l l +l| l +_ l. +11:12 +21:22 +31:32 +:42 +.TE +.sp +vline left above hline at the bottom: +.TS +tab(:); +l l l +l l l +l| l l +l _ l. +11:12:13 +21:22:23 +31:32:33 +41::43 +.TE +.sp +vline right above hline at the bottom: +.TS +tab(:); +l l l +l l l +l l| l +l _ l. +11:12:13 +21:22:23 +31:32:33 +41::43 +.TE +.sp +vline above hline at the bottom: +.TS +tab(:); +l l l l +l l l l +l l| l l +l _ _ l. +11:12:13:14 +21:22:23:24 +31:32:33:34 +41:::44 +.TE +.sp +vline left above hline bottom right: +.TS +tab(:); +l l +l l +l| l +l _. +11:12 +21:22 +31:32 +41: +.TE +.sp +vline right above hline bottom right: +.TS +tab(:); +l l +l l +l l| +l _. +11:12 +21:22 +31:32 +41: +.TE +.sp +double vline left below hline top left: +.TS +tab(:); + _ l +|| l l + l l. +:12 +21:22 +31:32 +.TE +.sp +double vline right below hline top left: +.TS +tab(:); +_ l +l|| l +l l. +:12 +21:22 +31:32 +.TE +.sp +double vline left below hline at the top: +.TS +tab(:); +l _ l +l|| l l +l l l. +11::13 +21:22:23 +31:32:33 +.TE +.sp +double vline right below hline at the top: +.TS +tab(:); +l _ l +l l|| l +l l l. +11::13 +21:22:23 +31:32:33 +.TE +.sp +double vline below hline at the top: +.TS +tab(:); +l _ _ l +l l|| l l +l l l l. +11:::14 +21:22:23:24 +31:32:33:34 +.TE +.sp +double vline left below hline top right: +.TS +tab(:); +l _ +l|| l +l l. +11: +21:22 +31:32 +.TE +.sp +double vline right below hline top right: +.TS +tab(:); +l _ +l l|| +l l. +11: +21:22 +31:32 +.TE +.sp +double vline left below hline in front: +.TS +tab(:); + l l + _ l +|| l l + l l. +11:12 +:22 +31:32 +41:42 +.TE +.sp +double vline left above hline in front: +.TS +tab(:); + l l + l l +|| l l + _ l + l l. +11:12 +21:22 +31:32 +:42 +51:52 +.TE +.sp +double vline right below hline in front: +.TS +tab(:); +l l +_ l +l|| l +l l. +11:12 +:22 +31:32 +41:42 +.TE +.sp +double vline right above hline in front: +.TS +tab(:); +l l +l l +l|| l +_ l +l l. +11:12 +21:22 +31:32 +:42 +51:52 +.TE +.sp +double vline left below hline in the middle: +.TS +tab(:); +l l l +l _ l +l|| l l +l l l. +11:12:13 +21::23 +31:32:33 +41:42:43 +.TE +.sp +double vline left above hline in the middle: +.TS +tab(:); +l l l +l l l +l|| l l +l _ l +l l l. +11:12:13 +21:22:23 +31:32:33 +41::43 +51:52:53 +.TE +.sp +double vline right below hline in the middle: +.TS +tab(:); +l l l +l _ l +l l|| l +l l l. +11:12:13 +21::23 +31:32:33 +41:42:43 +.TE +.sp +double vline right above hline in the middle: +.TS +tab(:); +l l l +l l l +l l|| l +l _ l +l l l. +11:12:13 +21:22:23 +31:32:33 +41::43 +51:52:53 +.TE +.sp +double vline below hline in the middle: +.TS +tab(:); +l l l l +l _ _ l +l l|| l l +l l l l. +11:12:13:14 +21:::24 +31:32:33:34 +41:42:43:44 +.TE +.sp +double vline above hline in the middle: +.TS +tab(:); +l l l l +l l l l +l l|| l l +l _ _ l +l l l l. +11:12:13:14 +21:22:23:24 +31:32:33:34 +41:::44 +51:52:53:54 +.TE +.sp +double vline left below hline at the end: +.TS +tab(:); +l l +l _ +l|| l +l l. +11:12 +21: +31:32 +41:42 +.TE +.sp +double vline left above hline at the end: +.TS +tab(:); +l l +l l +l|| l +l _ +l l. +11:12 +21:22 +31:32 +41: +51:52 +.TE +.sp +double vline right below hline at the end: +.TS +tab(:); +l l +l _ +l l|| +l l. +11:12 +21: +31:32 +41:42 +.TE +.sp +double vline right above hline at the end: +.TS +tab(:); +l l +l l +l l|| +l _ +l l. +11:12 +21:22 +31:32 +41: +51:52 +.TE +.sp +double vline left above hline bottom left: +.TS +tab(:); + l l + l l +|| l l + _ l. +11:12 +21:22 +31:32 +:42 +.TE +.sp +double vline right above hline bottom left: +.TS +tab(:); +l l +l l +l|| l +_ l. +11:12 +21:22 +31:32 +:42 +.TE +.sp +double vline left above hline at the bottom: +.TS +tab(:); +l l l +l l l +l|| l l +l _ l. +11:12:13 +21:22:23 +31:32:33 +41::43 +.TE +.sp +double vline right above hline at the bottom: +.TS +tab(:); +l l l +l l l +l l|| l +l _ l. +11:12:13 +21:22:23 +31:32:33 +41::43 +.TE +.sp +double vline above hline at the bottom: +.TS +tab(:); +l l l l +l l l l +l l|| l l +l _ _ l. +11:12:13:14 +21:22:23:24 +31:32:33:34 +41:::44 +.TE +.sp +double vline left above hline bottom right: +.TS +tab(:); +l l +l l +l|| l +l _. +11:12 +21:22 +31:32 +41: +.TE +.sp +double vline right above hline bottom right: +.TS +tab(:); +l l +l l +l l|| +l _. +11:12 +21:22 +31:32 +41: +.TE +.Sh BOXED +vline top left: +.TS +box tab(:); +| l l + l l. +11:12 +21:22 +.TE +.sp +hline and vline top left: +.TS +box tab(:); +_| l +l l. +:12 +21:22 +.TE +.sp +vline and hline top left: +.TS +box tab(:); +| _ l + l l. +:12 +21:22 +.TE +.sp +vline top: +.TS +box tab(:); +l| l +l l. +11:12 +21:22 +.TE +.sp +vline and hline top: +.TS +box tab(:); +l| _ l +l l l. +11::13 +21:22:23 +.TE +.sp +hline and vline top: +.TS +box tab(:); +l _| l +l l l. +11::13 +21:22:23 +.TE +.sp +hline, vline, hline top: +.TS +box tab(:); +l _| _ l +l l l l. +11:::13 +21:22:23:24 +.TE +.sp +vline top right: +.TS +box tab(:); +l l| +l l. +11:12 +21:22 +.TE +.sp +vline and hline top right: +.TS +box tab(:); +l| _ +l l. +11: +21:22 +.TE +.sp +hline and vline top right: +.TS +box tab(:); +l _| +l l. +11: +21:22 +.TE +.sp +double vline top left: +.TS +box tab(:); +|| l l + l l. +11:12 +21:22 +.TE +.sp +hline and double vline top left: +.TS +box tab(:); +_|| l +l l. +:12 +21:22 +.TE +.sp +double vline and hline top left: +.TS +box tab(:); +|| _ l + l l. +:12 +21:22 +.TE +.sp +double vline top: +.TS +box tab(:); +l|| l +l l. +11:12 +21:22 +.TE +.sp +double vline and hline top: +.TS +box tab(:); +l|| _ l +l l l. +11::13 +21:22:23 +.TE +.sp +hline and double vline top: +.TS +box tab(:); +l _|| l +l l l. +11::13 +21:22:23 +.TE +.sp +hline, double vline, hline top: +.TS +box tab(:); +l _|| _ l +l l l l. +11:::13 +21:22:23:24 +.TE +.sp +double vline top right: +.TS +box tab(:); +l l|| +l l. +11:12 +21:22 +.TE +.sp +double vline and hline top right: +.TS +box tab(:); +l|| _ +l l. +11: +21:22 +.TE +.sp +hline and double vline top right: +.TS +box tab(:); +l _|| +l l. +11: +21:22 +.TE +.sp +hline top left: +.TS +box tab(:); +_ l +l l. +:12 +21:22 +.TE +.sp +hline top: +.TS +box tab(:); +l _ l +l l l. +11::13 +21:22:23 +.TE +.sp +double hline top: +.TS +box tab(:); +l _ _ l +l l l l. +11:::13 +21:22:23:24 +.TE +.sp +hline top right: +.TS +box tab(:); +l _ +l l. +11: +21:22 +.TE +.sp +hline in front: +.TS +box tab(:); +l l +_ l +l l. +11:12 +:22 +31:32 +.TE +.sp +vline in front: +.TS +box tab(:); + l l + l l +| l l + l l. +11:12 +21:22 +31:32 +41:42 +.TE +.sp +hline and vline in front: +.TS +box tab(:); +l l +l l +_| l +l l. +11:12 +21:22 +:32 +41:42 +.TE +.sp +vline and hline in front: +.TS +box tab(:); + l l + l l +| _ l + l l. +11:12 +21:22 +:32 +41:42 +.TE +.sp +hline in the middle: +.TS +box tab(:); +l l l +l _ l +l l l. +11:12:13 +21::23 +31:32:33 +.TE +.sp +vline in the middle: +.TS +box tab(:); +l l l +l l l +l| l l +l l l. +11:12:13 +21:22:23 +31:32:33 +41:42:43 +.TE +.sp +vline and hline in the middle: +.TS +box tab(:); +l l l +l l l +l| _ l +l l l. +11:12:13 +21:22:23 +31::33 +41:42:43 +.TE +.sp +hline and vline in the middle: +.TS +box tab(:); +l l l +l l l +l _| l +l l l. +11:12:13 +21:22:23 +31::33 +41:42:43 +.TE +.sp +double hline in the middle: +.TS +box tab(:); +l l l l +l _ _ l +l l l l. +11:12:13:14 +21:::24 +31:32:33:34 +.TE +.sp +hline, vline, hline in the middle: +.TS +box tab(:); +l l l l +l l l l +l _| _ l +l l l l. +11:12:13:14 +21:22:23:24 +31:::34 +41:42:43:44 +.TE +.sp +hline at the end: +.TS +box tab(:); +l l +l _ +l l. +11:12 +21: +31:32 +.TE +.sp +vline at the end: +.TS +box tab(:); +l l +l l +l l| +l l. +11:12 +21:22 +31:32 +41:42 +.TE +.sp +vline and hline at the end: +.TS +box tab(:); +l l +l l +l| _ +l l. +11:12 +21:22 +31: +41:42 +.TE +.sp +hline and vline at the end: +.TS +box tab(:); +l l +l l +l _| +l l. +11:12 +21:22 +31: +41:42 +.TE +.sp +hline bottom left: +.TS +box tab(:); +l l +_ l. +11:12 +:22 +.TE +.sp +vline bottom left: +.TS +box tab(:); + l l + l l +| l l. +11:12 +21:22 +31:32 +.TE +.sp +hline and vline bottom left: +.TS +box tab(:); +l l +l l +_| l. +11:12 +21:22 +:32 +.TE +.sp +vline and hline bottom left: +.TS +box tab(:); + l l + l l +| _ l. +11:12 +21:22 +:32 +.TE +.sp +double hline bottom: +.TS +box tab(:); +l l l l +l _ _ l. +11:12:13:14 +21:::24 +.TE +.sp +hline, vline, hline bottom: +.TS +box tab(:); +l l l l +l l l l +l _| _ l. +11:12:13:14 +21:22:23:24 +31:::34 +.TE +.sp +hline bottom right: +.TS +box tab(:); +l l +l _. +11:12 +21: +.TE +.sp +vline bottom right: +.TS +box tab(:); +l l +l l +l l|. +11:12 +21:22 +31:32 +.TE +.sp +vline and hline bottom right: +.TS +box tab(:); +l l +l l +l| _. +11:12 +21:22 +31: +.TE +.sp +hline and vline bottom right: +.TS +box tab(:); +l l +l l +l _|. +11:12 +21:22 +31: +.TE +.sp +double vline in front: +.TS +box tab(:); + l l + l l +|| l l + l l. +11:12 +21:22 +31:32 +41:42 +.TE +.sp +hline and double vline in front: +.TS +box tab(:); +l l +l l +_|| l +l l. +11:12 +21:22 +:32 +41:42 +.TE +.sp +double vline and hline in front: +.TS +box tab(:); + l l + l l +|| _ l + l l. +11:12 +21:22 +:32 +41:42 +.TE +.sp +double vline in the middle: +.TS +box tab(:); +l l l +l l l +l|| l l +l l l. +11:12:13 +21:22:23 +31:32:33 +41:42:43 +.TE +.sp +double vline and hline in the middle: +.TS +box tab(:); +l l l +l l l +l|| _ l +l l l. +11:12:13 +21:22:23 +31::33 +41:42:43 +.TE +.sp +hline and doble vline in the middle: +.TS +box tab(:); +l l l +l l l +l _|| l +l l l. +11:12:13 +21:22:23 +31::33 +41:42:43 +.TE +.sp +hline, double vline, hline in the middle: +.TS +box tab(:); +l l l l +l l l l +l _|| _ l +l l l l. +11:12:13:14 +21:22:23:24 +31:::34 +41:42:43:44 +.TE +.sp +double vline at the end: +.TS +box tab(:); +l l +l l +l l|| +l l. +11:12 +21:22 +31:32 +41:42 +.TE +.sp +double vline and hline at the end: +.TS +box tab(:); +l l +l l +l|| _ +l l. +11:12 +21:22 +31: +41:42 +.TE +.sp +hline and double vline at the end: +.TS +box tab(:); +l l +l l +l _|| +l l. +11:12 +21:22 +31: +41:42 +.TE +.sp +double vline bottom left: +.TS +box tab(:); + l l + l l +|| l l. +11:12 +21:22 +31:32 +.TE +.sp +hline and double vline bottom left: +.TS +box tab(:); +l l +l l +_|| l. +11:12 +21:22 +:32 +.TE +.sp +double vline and hline bottom left: +.TS +box tab(:); + l l + l l +|| _ l. +11:12 +21:22 +:32 +.TE +.sp +hline, double vline, hline bottom: +.TS +box tab(:); +l l l l +l l l l +l _|| _ l. +11:12:13:14 +21:22:23:24 +31:::34 +.TE +.sp +double vline bottom right: +.TS +box tab(:); +l l +l l +l l||. +11:12 +21:22 +31:32 +.TE +.sp +double vline and hline bottom right: +.TS +box tab(:); +l l +l l +l|| _. +11:12 +21:22 +31: +.TE +.sp +hline and double vline bottom right: +.TS +box tab(:); +l l +l l +l _||. +11:12 +21:22 +31: +.TE +.sp +vline left below hline top left: +.TS +box tab(:); + _ l +| l l + l l. +:12 +21:22 +31:32 +.TE +.sp +vline right below hline top left: +.TS +box tab(:); +_ l +l| l +l l. +:12 +21:22 +31:32 +.TE +.sp +vline left below hline at the top: +.TS +box tab(:); +l _ l +l| l l +l l l. +11::13 +21:22:23 +31:32:33 +.TE +.sp +vline right below hline at the top: +.TS +box tab(:); +l _ l +l l| l +l l l. +11::13 +21:22:23 +31:32:33 +.TE +.sp +vline below hline at the top: +.TS +box tab(:); +l _ _ l +l l| l l +l l l l. +11:::14 +21:22:23:24 +31:32:33:34 +.TE +.sp +vline left below hline top right: +.TS +box tab(:); +l _ +l| l +l l. +11: +21:22 +31:32 +.TE +.sp +vline right below hline top right: +.TS +box tab(:); +l _ +l l| +l l. +11: +21:22 +31:32 +.TE +.sp +vline left below hline in front: +.TS +box tab(:); + l l + _ l +| l l + l l. +11:12 +:22 +31:32 +41:42 +.TE +.sp +vline left above hline in front: +.TS +box tab(:); + l l + l l +| l l + _ l + l l. +11:12 +21:22 +31:32 +:42 +51:52 +.TE +.sp +vline right below hline in front: +.TS +box tab(:); +l l +_ l +l| l +l l. +11:12 +:22 +31:32 +41:42 +.TE +.sp +vline right above hline in front: +.TS +box tab(:); +l l +l l +l| l +_ l +l l. +11:12 +21:22 +31:32 +:42 +51:52 +.TE +.sp +vline left below hline in the middle: +.TS +box tab(:); +l l l +l _ l +l| l l +l l l. +11:12:13 +21::23 +31:32:33 +41:42:43 +.TE +.sp +vline left above hline in the middle: +.TS +box tab(:); +l l l +l l l +l| l l +l _ l +l l l. +11:12:13 +21:22:23 +31:32:33 +41::43 +51:52:53 +.TE +.sp +vline right below hline in the middle: +.TS +box tab(:); +l l l +l _ l +l l| l +l l l. +11:12:13 +21::23 +31:32:33 +41:42:43 +.TE +.sp +vline right above hline in the middle: +.TS +box tab(:); +l l l +l l l +l l| l +l _ l +l l l. +11:12:13 +21:22:23 +31:32:33 +41::43 +51:52:53 +.TE +.sp +vline below hline in the middle: +.TS +box tab(:); +l l l l +l _ _ l +l l| l l +l l l l. +11:12:13:14 +21:::24 +31:32:33:34 +41:42:43:44 +.TE +.sp +vline above hline in the middle: +.TS +box tab(:); +l l l l +l l l l +l l| l l +l _ _ l +l l l l. +11:12:13:14 +21:22:23:24 +31:32:33:34 +41:::44 +51:52:53:54 +.TE +.sp +vline left below hline at the end: +.TS +box tab(:); +l l +l _ +l| l +l l. +11:12 +21: +31:32 +41:42 +.TE +.sp +vline left above hline at the end: +.TS +box tab(:); +l l +l l +l| l +l _ +l l. +11:12 +21:22 +31:32 +41: +51:52 +.TE +.sp +vline right below hline at the end: +.TS +box tab(:); +l l +l _ +l l| +l l. +11:12 +21: +31:32 +41:42 +.TE +.sp +vline right above hline at the end: +.TS +box tab(:); +l l +l l +l l| +l _ +l l. +11:12 +21:22 +31:32 +41: +51:52 +.TE +.sp +vline left above hline bottom left: +.TS +box tab(:); + l l + l l +| l l + _ l. +11:12 +21:22 +31:32 +:42 +.TE +.sp +vline right above hline bottom left: +.TS +box tab(:); +l l +l l +l| l +_ l. +11:12 +21:22 +31:32 +:42 +.TE +.sp +vline left above hline at the bottom: +.TS +box tab(:); +l l l +l l l +l| l l +l _ l. +11:12:13 +21:22:23 +31:32:33 +41::43 +.TE +.sp +vline right above hline at the bottom: +.TS +box tab(:); +l l l +l l l +l l| l +l _ l. +11:12:13 +21:22:23 +31:32:33 +41::43 +.TE +.sp +vline above hline at the bottom: +.TS +box tab(:); +l l l l +l l l l +l l| l l +l _ _ l. +11:12:13:14 +21:22:23:24 +31:32:33:34 +41:::44 +.TE +.sp +vline left above hline bottom right: +.TS +box tab(:); +l l +l l +l| l +l _. +11:12 +21:22 +31:32 +41: +.TE +.sp +vline right above hline bottom right: +.TS +box tab(:); +l l +l l +l l| +l _. +11:12 +21:22 +31:32 +41: +.TE +.sp +double vline left below hline top left: +.TS +box tab(:); + _ l +|| l l + l l. +:12 +21:22 +31:32 +.TE +.sp +double vline right below hline top left: +.TS +box tab(:); +_ l +l|| l +l l. +:12 +21:22 +31:32 +.TE +.sp +double vline left below hline at the top: +.TS +box tab(:); +l _ l +l|| l l +l l l. +11::13 +21:22:23 +31:32:33 +.TE +.sp +double vline right below hline at the top: +.TS +box tab(:); +l _ l +l l|| l +l l l. +11::13 +21:22:23 +31:32:33 +.TE +.sp +double vline below hline at the top: +.TS +box tab(:); +l _ _ l +l l|| l l +l l l l. +11:::14 +21:22:23:24 +31:32:33:34 +.TE +.sp +double vline left below hline top right: +.TS +box tab(:); +l _ +l|| l +l l. +11: +21:22 +31:32 +.TE +.sp +double vline right below hline top right: +.TS +box tab(:); +l _ +l l|| +l l. +11: +21:22 +31:32 +.TE +.sp +double vline left below hline in front: +.TS +box tab(:); + l l + _ l +|| l l + l l. +11:12 +:22 +31:32 +41:42 +.TE +.sp +double vline left above hline in front: +.TS +box tab(:); + l l + l l +|| l l + _ l + l l. +11:12 +21:22 +31:32 +:42 +51:52 +.TE +.sp +double vline right below hline in front: +.TS +box tab(:); +l l +_ l +l|| l +l l. +11:12 +:22 +31:32 +41:42 +.TE +.sp +double vline right above hline in front: +.TS +box tab(:); +l l +l l +l|| l +_ l +l l. +11:12 +21:22 +31:32 +:42 +51:52 +.TE +.sp +double vline left below hline in the middle: +.TS +box tab(:); +l l l +l _ l +l|| l l +l l l. +11:12:13 +21::23 +31:32:33 +41:42:43 +.TE +.sp +double vline left above hline in the middle: +.TS +box tab(:); +l l l +l l l +l|| l l +l _ l +l l l. +11:12:13 +21:22:23 +31:32:33 +41::43 +51:52:53 +.TE +.sp +double vline right below hline in the middle: +.TS +box tab(:); +l l l +l _ l +l l|| l +l l l. +11:12:13 +21::23 +31:32:33 +41:42:43 +.TE +.sp +double vline right above hline in the middle: +.TS +box tab(:); +l l l +l l l +l l|| l +l _ l +l l l. +11:12:13 +21:22:23 +31:32:33 +41::43 +51:52:53 +.TE +.sp +double vline below hline in the middle: +.TS +box tab(:); +l l l l +l _ _ l +l l|| l l +l l l l. +11:12:13:14 +21:::24 +31:32:33:34 +41:42:43:44 +.TE +.sp +double vline above hline in the middle: +.TS +box tab(:); +l l l l +l l l l +l l|| l l +l _ _ l +l l l l. +11:12:13:14 +21:22:23:24 +31:32:33:34 +41:::44 +51:52:53:54 +.TE +.sp +double vline left below hline at the end: +.TS +box tab(:); +l l +l _ +l|| l +l l. +11:12 +21: +31:32 +41:42 +.TE +.sp +double vline left above hline at the end: +.TS +box tab(:); +l l +l l +l|| l +l _ +l l. +11:12 +21:22 +31:32 +41: +51:52 +.TE +.sp +double vline right below hline at the end: +.TS +box tab(:); +l l +l _ +l l|| +l l. +11:12 +21: +31:32 +41:42 +.TE +.sp +double vline right above hline at the end: +.TS +box tab(:); +l l +l l +l l|| +l _ +l l. +11:12 +21:22 +31:32 +41: +51:52 +.TE +.sp +double vline left above hline bottom left: +.TS +box tab(:); + l l + l l +|| l l + _ l. +11:12 +21:22 +31:32 +:42 +.TE +.sp +double vline right above hline bottom left: +.TS +box tab(:); +l l +l l +l|| l +_ l. +11:12 +21:22 +31:32 +:42 +.TE +.sp +double vline left above hline at the bottom: +.TS +box tab(:); +l l l +l l l +l|| l l +l _ l. +11:12:13 +21:22:23 +31:32:33 +41::43 +.TE +.sp +double vline right above hline at the bottom: +.TS +box tab(:); +l l l +l l l +l l|| l +l _ l. +11:12:13 +21:22:23 +31:32:33 +41::43 +.TE +.sp +double vline above hline at the bottom: +.TS +box tab(:); +l l l l +l l l l +l l|| l l +l _ _ l. +11:12:13:14 +21:22:23:24 +31:32:33:34 +41:::44 +.TE +.sp +double vline left above hline bottom right: +.TS +box tab(:); +l l +l l +l|| l +l _. +11:12 +21:22 +31:32 +41: +.TE +.sp +double vline right above hline bottom right: +.TS +box tab(:); +l l +l l +l l|| +l _. +11:12 +21:22 +31:32 +41: +.TE +.sp +.Sh ALLBOX +vline top left: +.TS +allbox tab(:); +| l l + l l. +11:12 +21:22 +.TE +.sp +hline and vline top left: +.TS +allbox tab(:); +_| l +l l. +:12 +21:22 +.TE +.sp +vline and hline top left: +.TS +allbox tab(:); +| _ l + l l. +:12 +21:22 +.TE +.sp +vline top: +.TS +allbox tab(:); +l| l +l l. +11:12 +21:22 +.TE +.sp +vline and hline top: +.TS +allbox tab(:); +l| _ l +l l l. +11::13 +21:22:23 +.TE +.sp +hline and vline top: +.TS +allbox tab(:); +l _| l +l l l. +11::13 +21:22:23 +.TE +.sp +hline, vline, hline top: +.TS +allbox tab(:); +l _| _ l +l l l l. +11:::13 +21:22:23:24 +.TE +.sp +vline top right: +.TS +allbox tab(:); +l l| +l l. +11:12 +21:22 +.TE +.sp +vline and hline top right: +.TS +allbox tab(:); +l| _ +l l. +11: +21:22 +.TE +.sp +hline and vline top right: +.TS +allbox tab(:); +l _| +l l. +11: +21:22 +.TE +.sp +double vline top left: +.TS +allbox tab(:); +|| l l + l l. +11:12 +21:22 +.TE +.sp +hline and double vline top left: +.TS +allbox tab(:); +_|| l +l l. +:12 +21:22 +.TE +.sp +double vline and hline top left: +.TS +allbox tab(:); +|| _ l + l l. +:12 +21:22 +.TE +.sp +double vline top: +.TS +allbox tab(:); +l|| l +l l. +11:12 +21:22 +.TE +.sp +double vline and hline top: +.TS +allbox tab(:); +l|| _ l +l l l. +11::13 +21:22:23 +.TE +.sp +hline and double vline top: +.TS +allbox tab(:); +l _|| l +l l l. +11::13 +21:22:23 +.TE +.sp +hline, double vline, hline top: +.TS +allbox tab(:); +l _|| _ l +l l l l. +11:::13 +21:22:23:24 +.TE +.sp +double vline top right: +.TS +allbox tab(:); +l l|| +l l. +11:12 +21:22 +.TE +.sp +double vline and hline top right: +.TS +allbox tab(:); +l|| _ +l l. +11: +21:22 +.TE +.sp +hline and double vline top right: +.TS +allbox tab(:); +l _|| +l l. +11: +21:22 +.TE +.sp +hline top left: +.TS +allbox tab(:); +_ l +l l. +:12 +21:22 +.TE +.sp +hline top: +.TS +allbox tab(:); +l _ l +l l l. +11::13 +21:22:23 +.TE +.sp +double hline top: +.TS +allbox tab(:); +l _ _ l +l l l l. +11:::13 +21:22:23:24 +.TE +.sp +hline top right: +.TS +allbox tab(:); +l _ +l l. +11: +21:22 +.TE +.sp +hline in front: +.TS +allbox tab(:); +l l +_ l +l l. +11:12 +:22 +31:32 +.TE +.sp +vline in front: +.TS +allbox tab(:); + l l + l l +| l l + l l. +11:12 +21:22 +31:32 +41:42 +.TE +.sp +hline and vline in front: +.TS +allbox tab(:); +l l +l l +_| l +l l. +11:12 +21:22 +:32 +41:42 +.TE +.sp +vline and hline in front: +.TS +allbox tab(:); + l l + l l +| _ l + l l. +11:12 +21:22 +:32 +41:42 +.TE +.sp +hline in the middle: +.TS +allbox tab(:); +l l l +l _ l +l l l. +11:12:13 +21::23 +31:32:33 +.TE +.sp +vline in the middle: +.TS +allbox tab(:); +l l l +l l l +l| l l +l l l. +11:12:13 +21:22:23 +31:32:33 +41:42:43 +.TE +.sp +vline and hline in the middle: +.TS +allbox tab(:); +l l l +l l l +l| _ l +l l l. +11:12:13 +21:22:23 +31::33 +41:42:43 +.TE +.sp +hline and vline in the middle: +.TS +allbox tab(:); +l l l +l l l +l _| l +l l l. +11:12:13 +21:22:23 +31::33 +41:42:43 +.TE +.sp +double hline in the middle: +.TS +allbox tab(:); +l l l l +l _ _ l +l l l l. +11:12:13:14 +21:::24 +31:32:33:34 +.TE +.sp +hline, vline, hline in the middle: +.TS +allbox tab(:); +l l l l +l l l l +l _| _ l +l l l l. +11:12:13:14 +21:22:23:24 +31:::34 +41:42:43:44 +.TE +.sp +hline at the end: +.TS +allbox tab(:); +l l +l _ +l l. +11:12 +21: +31:32 +.TE +.sp +vline at the end: +.TS +allbox tab(:); +l l +l l +l l| +l l. +11:12 +21:22 +31:32 +41:42 +.TE +.sp +vline and hline at the end: +.TS +allbox tab(:); +l l +l l +l| _ +l l. +11:12 +21:22 +31: +41:42 +.TE +.sp +hline and vline at the end: +.TS +allbox tab(:); +l l +l l +l _| +l l. +11:12 +21:22 +31: +41:42 +.TE +.sp +hline bottom left: +.TS +allbox tab(:); +l l +_ l. +11:12 +:22 +.TE +.sp +vline bottom left: +.TS +allbox tab(:); + l l + l l +| l l. +11:12 +21:22 +31:32 +.TE +.sp +hline and vline bottom left: +.TS +allbox tab(:); +l l +l l +_| l. +11:12 +21:22 +:32 +.TE +.sp +vline and hline bottom left: +.TS +allbox tab(:); + l l + l l +| _ l. +11:12 +21:22 +:32 +.TE +.sp +double hline bottom: +.TS +allbox tab(:); +l l l l +l _ _ l. +11:12:13:14 +21:::24 +.TE +.sp +hline, vline, hline bottom: +.TS +allbox tab(:); +l l l l +l l l l +l _| _ l. +11:12:13:14 +21:22:23:24 +31:::34 +.TE +.sp +hline bottom right: +.TS +allbox tab(:); +l l +l _. +11:12 +21: +.TE +.sp +vline bottom right: +.TS +allbox tab(:); +l l +l l +l l|. +11:12 +21:22 +31:32 +.TE +.sp +vline and hline bottom right: +.TS +allbox tab(:); +l l +l l +l| _. +11:12 +21:22 +31: +.TE +.sp +hline and vline bottom right: +.TS +allbox tab(:); +l l +l l +l _|. +11:12 +21:22 +31: +.TE +.sp +double vline in front: +.TS +allbox tab(:); + l l + l l +|| l l + l l. +11:12 +21:22 +31:32 +41:42 +.TE +.sp +hline and double vline in front: +.TS +allbox tab(:); +l l +l l +_|| l +l l. +11:12 +21:22 +:32 +41:42 +.TE +.sp +double vline and hline in front: +.TS +allbox tab(:); + l l + l l +|| _ l + l l. +11:12 +21:22 +:32 +41:42 +.TE +.sp +double vline in the middle: +.TS +allbox tab(:); +l l l +l l l +l|| l l +l l l. +11:12:13 +21:22:23 +31:32:33 +41:42:43 +.TE +.sp +double vline and hline in the middle: +.TS +allbox tab(:); +l l l +l l l +l|| _ l +l l l. +11:12:13 +21:22:23 +31::33 +41:42:43 +.TE +.sp +hline and doble vline in the middle: +.TS +allbox tab(:); +l l l +l l l +l _|| l +l l l. +11:12:13 +21:22:23 +31::33 +41:42:43 +.TE +.sp +hline, double vline, hline in the middle: +.TS +allbox tab(:); +l l l l +l l l l +l _|| _ l +l l l l. +11:12:13:14 +21:22:23:24 +31:::34 +41:42:43:44 +.TE +.sp +double vline at the end: +.TS +allbox tab(:); +l l +l l +l l|| +l l. +11:12 +21:22 +31:32 +41:42 +.TE +.sp +double vline and hline at the end: +.TS +allbox tab(:); +l l +l l +l|| _ +l l. +11:12 +21:22 +31: +41:42 +.TE +.sp +hline and double vline at the end: +.TS +allbox tab(:); +l l +l l +l _|| +l l. +11:12 +21:22 +31: +41:42 +.TE +.sp +double vline bottom left: +.TS +allbox tab(:); + l l + l l +|| l l. +11:12 +21:22 +31:32 +.TE +.sp +hline and double vline bottom left: +.TS +allbox tab(:); +l l +l l +_|| l. +11:12 +21:22 +:32 +.TE +.sp +double vline and hline bottom left: +.TS +allbox tab(:); + l l + l l +|| _ l. +11:12 +21:22 +:32 +.TE +.sp +hline, double vline, hline bottom: +.TS +allbox tab(:); +l l l l +l l l l +l _|| _ l. +11:12:13:14 +21:22:23:24 +31:::34 +.TE +.sp +double vline bottom right: +.TS +allbox tab(:); +l l +l l +l l||. +11:12 +21:22 +31:32 +.TE +.sp +double vline and hline bottom right: +.TS +allbox tab(:); +l l +l l +l|| _. +11:12 +21:22 +31: +.TE +.sp +hline and double vline bottom right: +.TS +allbox tab(:); +l l +l l +l _||. +11:12 +21:22 +31: +.TE +.sp +vline left below hline top left: +.TS +allbox tab(:); + _ l +| l l + l l. +:12 +21:22 +31:32 +.TE +.sp +vline right below hline top left: +.TS +allbox tab(:); +_ l +l| l +l l. +:12 +21:22 +31:32 +.TE +.sp +vline left below hline at the top: +.TS +allbox tab(:); +l _ l +l| l l +l l l. +11::13 +21:22:23 +31:32:33 +.TE +.sp +vline right below hline at the top: +.TS +allbox tab(:); +l _ l +l l| l +l l l. +11::13 +21:22:23 +31:32:33 +.TE +.sp +vline below hline at the top: +.TS +allbox tab(:); +l _ _ l +l l| l l +l l l l. +11:::14 +21:22:23:24 +31:32:33:34 +.TE +.sp +vline left below hline top right: +.TS +allbox tab(:); +l _ +l| l +l l. +11: +21:22 +31:32 +.TE +.sp +vline right below hline top right: +.TS +allbox tab(:); +l _ +l l| +l l. +11: +21:22 +31:32 +.TE +.sp +vline left below hline in front: +.TS +allbox tab(:); + l l + _ l +| l l + l l. +11:12 +:22 +31:32 +41:42 +.TE +.sp +vline left above hline in front: +.TS +allbox tab(:); + l l + l l +| l l + _ l + l l. +11:12 +21:22 +31:32 +:42 +51:52 +.TE +.sp +vline right below hline in front: +.TS +allbox tab(:); +l l +_ l +l| l +l l. +11:12 +:22 +31:32 +41:42 +.TE +.sp +vline right above hline in front: +.TS +allbox tab(:); +l l +l l +l| l +_ l +l l. +11:12 +21:22 +31:32 +:42 +51:52 +.TE +.sp +vline left below hline in the middle: +.TS +allbox tab(:); +l l l +l _ l +l| l l +l l l. +11:12:13 +21::23 +31:32:33 +41:42:43 +.TE +.sp +vline left above hline in the middle: +.TS +allbox tab(:); +l l l +l l l +l| l l +l _ l +l l l. +11:12:13 +21:22:23 +31:32:33 +41::43 +51:52:53 +.TE +.sp +vline right below hline in the middle: +.TS +allbox tab(:); +l l l +l _ l +l l| l +l l l. +11:12:13 +21::23 +31:32:33 +41:42:43 +.TE +.sp +vline right above hline in the middle: +.TS +allbox tab(:); +l l l +l l l +l l| l +l _ l +l l l. +11:12:13 +21:22:23 +31:32:33 +41::43 +51:52:53 +.TE +.sp +vline below hline in the middle: +.TS +allbox tab(:); +l l l l +l _ _ l +l l| l l +l l l l. +11:12:13:14 +21:::24 +31:32:33:34 +41:42:43:44 +.TE +.sp +vline above hline in the middle: +.TS +allbox tab(:); +l l l l +l l l l +l l| l l +l _ _ l +l l l l. +11:12:13:14 +21:22:23:24 +31:32:33:34 +41:::44 +51:52:53:54 +.TE +.sp +vline left below hline at the end: +.TS +allbox tab(:); +l l +l _ +l| l +l l. +11:12 +21: +31:32 +41:42 +.TE +.sp +vline left above hline at the end: +.TS +allbox tab(:); +l l +l l +l| l +l _ +l l. +11:12 +21:22 +31:32 +41: +51:52 +.TE +.sp +vline right below hline at the end: +.TS +allbox tab(:); +l l +l _ +l l| +l l. +11:12 +21: +31:32 +41:42 +.TE +.sp +vline right above hline at the end: +.TS +allbox tab(:); +l l +l l +l l| +l _ +l l. +11:12 +21:22 +31:32 +41: +51:52 +.TE +.sp +vline left above hline bottom left: +.TS +allbox tab(:); + l l + l l +| l l + _ l. +11:12 +21:22 +31:32 +:42 +.TE +.sp +vline right above hline bottom left: +.TS +allbox tab(:); +l l +l l +l| l +_ l. +11:12 +21:22 +31:32 +:42 +.TE +.sp +vline left above hline at the bottom: +.TS +allbox tab(:); +l l l +l l l +l| l l +l _ l. +11:12:13 +21:22:23 +31:32:33 +41::43 +.TE +.sp +vline right above hline at the bottom: +.TS +allbox tab(:); +l l l +l l l +l l| l +l _ l. +11:12:13 +21:22:23 +31:32:33 +41::43 +.TE +.sp +vline above hline at the bottom: +.TS +allbox tab(:); +l l l l +l l l l +l l| l l +l _ _ l. +11:12:13:14 +21:22:23:24 +31:32:33:34 +41:::44 +.TE +.sp +vline left above hline bottom right: +.TS +allbox tab(:); +l l +l l +l| l +l _. +11:12 +21:22 +31:32 +41: +.TE +.sp +vline right above hline bottom right: +.TS +allbox tab(:); +l l +l l +l l| +l _. +11:12 +21:22 +31:32 +41: +.TE +.sp +double vline left below hline top left: +.TS +allbox tab(:); + _ l +|| l l + l l. +:12 +21:22 +31:32 +.TE +.sp +double vline right below hline top left: +.TS +allbox tab(:); +_ l +l|| l +l l. +:12 +21:22 +31:32 +.TE +.sp +double vline left below hline at the top: +.TS +allbox tab(:); +l _ l +l|| l l +l l l. +11::13 +21:22:23 +31:32:33 +.TE +.sp +double vline right below hline at the top: +.TS +allbox tab(:); +l _ l +l l|| l +l l l. +11::13 +21:22:23 +31:32:33 +.TE +.sp +double vline below hline at the top: +.TS +allbox tab(:); +l _ _ l +l l|| l l +l l l l. +11:::14 +21:22:23:24 +31:32:33:34 +.TE +.sp +double vline left below hline top right: +.TS +allbox tab(:); +l _ +l|| l +l l. +11: +21:22 +31:32 +.TE +.sp +double vline right below hline top right: +.TS +allbox tab(:); +l _ +l l|| +l l. +11: +21:22 +31:32 +.TE +.sp +double vline left below hline in front: +.TS +allbox tab(:); + l l + _ l +|| l l + l l. +11:12 +:22 +31:32 +41:42 +.TE +.sp +double vline left above hline in front: +.TS +allbox tab(:); + l l + l l +|| l l + _ l + l l. +11:12 +21:22 +31:32 +:42 +51:52 +.TE +.sp +double vline right below hline in front: +.TS +allbox tab(:); +l l +_ l +l|| l +l l. +11:12 +:22 +31:32 +41:42 +.TE +.sp +double vline right above hline in front: +.TS +allbox tab(:); +l l +l l +l|| l +_ l +l l. +11:12 +21:22 +31:32 +:42 +51:52 +.TE +.sp +double vline left below hline in the middle: +.TS +allbox tab(:); +l l l +l _ l +l|| l l +l l l. +11:12:13 +21::23 +31:32:33 +41:42:43 +.TE +.sp +double vline left above hline in the middle: +.TS +allbox tab(:); +l l l +l l l +l|| l l +l _ l +l l l. +11:12:13 +21:22:23 +31:32:33 +41::43 +51:52:53 +.TE +.sp +double vline right below hline in the middle: +.TS +allbox tab(:); +l l l +l _ l +l l|| l +l l l. +11:12:13 +21::23 +31:32:33 +41:42:43 +.TE +.sp +double vline right above hline in the middle: +.TS +allbox tab(:); +l l l +l l l +l l|| l +l _ l +l l l. +11:12:13 +21:22:23 +31:32:33 +41::43 +51:52:53 +.TE +.sp +double vline below hline in the middle: +.TS +allbox tab(:); +l l l l +l _ _ l +l l|| l l +l l l l. +11:12:13:14 +21:::24 +31:32:33:34 +41:42:43:44 +.TE +.sp +double vline above hline in the middle: +.TS +allbox tab(:); +l l l l +l l l l +l l|| l l +l _ _ l +l l l l. +11:12:13:14 +21:22:23:24 +31:32:33:34 +41:::44 +51:52:53:54 +.TE +.sp +double vline left below hline at the end: +.TS +allbox tab(:); +l l +l _ +l|| l +l l. +11:12 +21: +31:32 +41:42 +.TE +.sp +double vline left above hline at the end: +.TS +allbox tab(:); +l l +l l +l|| l +l _ +l l. +11:12 +21:22 +31:32 +41: +51:52 +.TE +.sp +double vline right below hline at the end: +.TS +allbox tab(:); +l l +l _ +l l|| +l l. +11:12 +21: +31:32 +41:42 +.TE +.sp +double vline right above hline at the end: +.TS +allbox tab(:); +l l +l l +l l|| +l _ +l l. +11:12 +21:22 +31:32 +41: +51:52 +.TE +.sp +double vline left above hline bottom left: +.TS +allbox tab(:); + l l + l l +|| l l + _ l. +11:12 +21:22 +31:32 +:42 +.TE +.sp +double vline right above hline bottom left: +.TS +allbox tab(:); +l l +l l +l|| l +_ l. +11:12 +21:22 +31:32 +:42 +.TE +.sp +double vline left above hline at the bottom: +.TS +allbox tab(:); +l l l +l l l +l|| l l +l _ l. +11:12:13 +21:22:23 +31:32:33 +41::43 +.TE +.sp +double vline right above hline at the bottom: +.TS +allbox tab(:); +l l l +l l l +l l|| l +l _ l. +11:12:13 +21:22:23 +31:32:33 +41::43 +.TE +.sp +double vline above hline at the bottom: +.TS +allbox tab(:); +l l l l +l l l l +l l|| l l +l _ _ l. +11:12:13:14 +21:22:23:24 +31:32:33:34 +41:::44 +.TE +.sp +double vline left above hline bottom right: +.TS +allbox tab(:); +l l +l l +l|| l +l _. +11:12 +21:22 +31:32 +41: +.TE +.sp +double vline right above hline bottom right: +.TS +allbox tab(:); +l l +l l +l l|| +l _. +11:12 +21:22 +31:32 +41: +.TE +.sp +.Sh DOUBLEBOX +vline top left: +.TS +doublebox tab(:); +| l l + l l. +11:12 +21:22 +.TE +.sp 2v +hline and vline top left: +.TS +doublebox tab(:); +_| l +l l. +:12 +21:22 +.TE +.sp 2v +vline and hline top left: +.TS +doublebox tab(:); +| _ l + l l. +:12 +21:22 +.TE +.sp 2v +vline top: +.TS +doublebox tab(:); +l| l +l l. +11:12 +21:22 +.TE +.sp 2v +vline and hline top: +.TS +doublebox tab(:); +l| _ l +l l l. +11::13 +21:22:23 +.TE +.sp 2v +hline and vline top: +.TS +doublebox tab(:); +l _| l +l l l. +11::13 +21:22:23 +.TE +.sp 2v +hline, vline, hline top: +.TS +doublebox tab(:); +l _| _ l +l l l l. +11:::13 +21:22:23:24 +.TE +.sp 2v +vline top right: +.TS +doublebox tab(:); +l l| +l l. +11:12 +21:22 +.TE +.sp 2v +vline and hline top right: +.TS +doublebox tab(:); +l| _ +l l. +11: +21:22 +.TE +.sp 2v +hline and vline top right: +.TS +doublebox tab(:); +l _| +l l. +11: +21:22 +.TE +.sp 2v +double vline top left: +.TS +doublebox tab(:); +|| l l + l l. +11:12 +21:22 +.TE +.sp 2v +hline and double vline top left: +.TS +doublebox tab(:); +_|| l +l l. +:12 +21:22 +.TE +.sp 2v +double vline and hline top left: +.TS +doublebox tab(:); +|| _ l + l l. +:12 +21:22 +.TE +.sp 2v +double vline top: +.TS +doublebox tab(:); +l|| l +l l. +11:12 +21:22 +.TE +.sp 2v +double vline and hline top: +.TS +doublebox tab(:); +l|| _ l +l l l. +11::13 +21:22:23 +.TE +.sp 2v +hline and double vline top: +.TS +doublebox tab(:); +l _|| l +l l l. +11::13 +21:22:23 +.TE +.sp 2v +hline, double vline, hline top: +.TS +doublebox tab(:); +l _|| _ l +l l l l. +11:::13 +21:22:23:24 +.TE +.sp 2v +double vline top right: +.TS +doublebox tab(:); +l l|| +l l. +11:12 +21:22 +.TE +.sp 2v +double vline and hline top right: +.TS +doublebox tab(:); +l|| _ +l l. +11: +21:22 +.TE +.sp 2v +hline and double vline top right: +.TS +doublebox tab(:); +l _|| +l l. +11: +21:22 +.TE +.sp 2v +hline top left: +.TS +doublebox tab(:); +_ l +l l. +:12 +21:22 +.TE +.sp 2v +hline top: +.TS +doublebox tab(:); +l _ l +l l l. +11::13 +21:22:23 +.TE +.sp 2v +double hline top: +.TS +doublebox tab(:); +l _ _ l +l l l l. +11:::13 +21:22:23:24 +.TE +.sp 2v +hline top right: +.TS +doublebox tab(:); +l _ +l l. +11: +21:22 +.TE +.sp 2v +hline in front: +.TS +doublebox tab(:); +l l +_ l +l l. +11:12 +:22 +31:32 +.TE +.sp 2v +vline in front: +.TS +doublebox tab(:); + l l + l l +| l l + l l. +11:12 +21:22 +31:32 +41:42 +.TE +.sp 2v +hline and vline in front: +.TS +doublebox tab(:); +l l +l l +_| l +l l. +11:12 +21:22 +:32 +41:42 +.TE +.sp 2v +vline and hline in front: +.TS +doublebox tab(:); + l l + l l +| _ l + l l. +11:12 +21:22 +:32 +41:42 +.TE +.sp 2v +hline in the middle: +.TS +doublebox tab(:); +l l l +l _ l +l l l. +11:12:13 +21::23 +31:32:33 +.TE +.sp 2v +vline in the middle: +.TS +doublebox tab(:); +l l l +l l l +l| l l +l l l. +11:12:13 +21:22:23 +31:32:33 +41:42:43 +.TE +.sp 2v +vline and hline in the middle: +.TS +doublebox tab(:); +l l l +l l l +l| _ l +l l l. +11:12:13 +21:22:23 +31::33 +41:42:43 +.TE +.sp 2v +hline and vline in the middle: +.TS +doublebox tab(:); +l l l +l l l +l _| l +l l l. +11:12:13 +21:22:23 +31::33 +41:42:43 +.TE +.sp 2v +double hline in the middle: +.TS +doublebox tab(:); +l l l l +l _ _ l +l l l l. +11:12:13:14 +21:::24 +31:32:33:34 +.TE +.sp 2v +hline, vline, hline in the middle: +.TS +doublebox tab(:); +l l l l +l l l l +l _| _ l +l l l l. +11:12:13:14 +21:22:23:24 +31:::34 +41:42:43:44 +.TE +.sp 2v +hline at the end: +.TS +doublebox tab(:); +l l +l _ +l l. +11:12 +21: +31:32 +.TE +.sp 2v +vline at the end: +.TS +doublebox tab(:); +l l +l l +l l| +l l. +11:12 +21:22 +31:32 +41:42 +.TE +.sp 2v +vline and hline at the end: +.TS +doublebox tab(:); +l l +l l +l| _ +l l. +11:12 +21:22 +31: +41:42 +.TE +.sp 2v +hline and vline at the end: +.TS +doublebox tab(:); +l l +l l +l _| +l l. +11:12 +21:22 +31: +41:42 +.TE +.sp 2v +hline bottom left: +.TS +doublebox tab(:); +l l +_ l. +11:12 +:22 +.TE +.sp 2v +vline bottom left: +.TS +doublebox tab(:); + l l + l l +| l l. +11:12 +21:22 +31:32 +.TE +.sp 2v +hline and vline bottom left: +.TS +doublebox tab(:); +l l +l l +_| l. +11:12 +21:22 +:32 +.TE +.sp 2v +vline and hline bottom left: +.TS +doublebox tab(:); + l l + l l +| _ l. +11:12 +21:22 +:32 +.TE +.sp 2v +double hline bottom: +.TS +doublebox tab(:); +l l l l +l _ _ l. +11:12:13:14 +21:::24 +.TE +.sp 2v +hline, vline, hline bottom: +.TS +doublebox tab(:); +l l l l +l l l l +l _| _ l. +11:12:13:14 +21:22:23:24 +31:::34 +.TE +.sp 2v +hline bottom right: +.TS +doublebox tab(:); +l l +l _. +11:12 +21: +.TE +.sp 2v +vline bottom right: +.TS +doublebox tab(:); +l l +l l +l l|. +11:12 +21:22 +31:32 +.TE +.sp 2v +vline and hline bottom right: +.TS +doublebox tab(:); +l l +l l +l| _. +11:12 +21:22 +31: +.TE +.sp 2v +hline and vline bottom right: +.TS +doublebox tab(:); +l l +l l +l _|. +11:12 +21:22 +31: +.TE +.sp 2v +double vline in front: +.TS +doublebox tab(:); + l l + l l +|| l l + l l. +11:12 +21:22 +31:32 +41:42 +.TE +.sp 2v +hline and double vline in front: +.TS +doublebox tab(:); +l l +l l +_|| l +l l. +11:12 +21:22 +:32 +41:42 +.TE +.sp 2v +double vline and hline in front: +.TS +doublebox tab(:); + l l + l l +|| _ l + l l. +11:12 +21:22 +:32 +41:42 +.TE +.sp 2v +double vline in the middle: +.TS +doublebox tab(:); +l l l +l l l +l|| l l +l l l. +11:12:13 +21:22:23 +31:32:33 +41:42:43 +.TE +.sp 2v +double vline and hline in the middle: +.TS +doublebox tab(:); +l l l +l l l +l|| _ l +l l l. +11:12:13 +21:22:23 +31::33 +41:42:43 +.TE +.sp 2v +hline and doble vline in the middle: +.TS +doublebox tab(:); +l l l +l l l +l _|| l +l l l. +11:12:13 +21:22:23 +31::33 +41:42:43 +.TE +.sp 2v +hline, double vline, hline in the middle: +.TS +doublebox tab(:); +l l l l +l l l l +l _|| _ l +l l l l. +11:12:13:14 +21:22:23:24 +31:::34 +41:42:43:44 +.TE +.sp 2v +double vline at the end: +.TS +doublebox tab(:); +l l +l l +l l|| +l l. +11:12 +21:22 +31:32 +41:42 +.TE +.sp 2v +double vline and hline at the end: +.TS +doublebox tab(:); +l l +l l +l|| _ +l l. +11:12 +21:22 +31: +41:42 +.TE +.sp 2v +hline and double vline at the end: +.TS +doublebox tab(:); +l l +l l +l _|| +l l. +11:12 +21:22 +31: +41:42 +.TE +.sp 2v +double vline bottom left: +.TS +doublebox tab(:); + l l + l l +|| l l. +11:12 +21:22 +31:32 +.TE +.sp 2v +hline and double vline bottom left: +.TS +doublebox tab(:); +l l +l l +_|| l. +11:12 +21:22 +:32 +.TE +.sp 2v +double vline and hline bottom left: +.TS +doublebox tab(:); + l l + l l +|| _ l. +11:12 +21:22 +:32 +.TE +.sp 2v +hline, double vline, hline bottom: +.TS +doublebox tab(:); +l l l l +l l l l +l _|| _ l. +11:12:13:14 +21:22:23:24 +31:::34 +.TE +.sp 2v +double vline bottom right: +.TS +doublebox tab(:); +l l +l l +l l||. +11:12 +21:22 +31:32 +.TE +.sp 2v +double vline and hline bottom right: +.TS +doublebox tab(:); +l l +l l +l|| _. +11:12 +21:22 +31: +.TE +.sp 2v +hline and double vline bottom right: +.TS +doublebox tab(:); +l l +l l +l _||. +11:12 +21:22 +31: +.TE +.sp 2v +vline left below hline top left: +.TS +doublebox tab(:); + _ l +| l l + l l. +:12 +21:22 +31:32 +.TE +.sp 2v +vline right below hline top left: +.TS +doublebox tab(:); +_ l +l| l +l l. +:12 +21:22 +31:32 +.TE +.sp 2v +vline left below hline at the top: +.TS +doublebox tab(:); +l _ l +l| l l +l l l. +11::13 +21:22:23 +31:32:33 +.TE +.sp 2v +vline right below hline at the top: +.TS +doublebox tab(:); +l _ l +l l| l +l l l. +11::13 +21:22:23 +31:32:33 +.TE +.sp 2v +vline below hline at the top: +.TS +doublebox tab(:); +l _ _ l +l l| l l +l l l l. +11:::14 +21:22:23:24 +31:32:33:34 +.TE +.sp 2v +vline left below hline top right: +.TS +doublebox tab(:); +l _ +l| l +l l. +11: +21:22 +31:32 +.TE +.sp 2v +vline right below hline top right: +.TS +doublebox tab(:); +l _ +l l| +l l. +11: +21:22 +31:32 +.TE +.sp 2v +vline left below hline in front: +.TS +doublebox tab(:); + l l + _ l +| l l + l l. +11:12 +:22 +31:32 +41:42 +.TE +.sp 2v +vline left above hline in front: +.TS +doublebox tab(:); + l l + l l +| l l + _ l + l l. +11:12 +21:22 +31:32 +:42 +51:52 +.TE +.sp 2v +vline right below hline in front: +.TS +doublebox tab(:); +l l +_ l +l| l +l l. +11:12 +:22 +31:32 +41:42 +.TE +.sp 2v +vline right above hline in front: +.TS +doublebox tab(:); +l l +l l +l| l +_ l +l l. +11:12 +21:22 +31:32 +:42 +51:52 +.TE +.sp 2v +vline left below hline in the middle: +.TS +doublebox tab(:); +l l l +l _ l +l| l l +l l l. +11:12:13 +21::23 +31:32:33 +41:42:43 +.TE +.sp 2v +vline left above hline in the middle: +.TS +doublebox tab(:); +l l l +l l l +l| l l +l _ l +l l l. +11:12:13 +21:22:23 +31:32:33 +41::43 +51:52:53 +.TE +.sp 2v +vline right below hline in the middle: +.TS +doublebox tab(:); +l l l +l _ l +l l| l +l l l. +11:12:13 +21::23 +31:32:33 +41:42:43 +.TE +.sp 2v +vline right above hline in the middle: +.TS +doublebox tab(:); +l l l +l l l +l l| l +l _ l +l l l. +11:12:13 +21:22:23 +31:32:33 +41::43 +51:52:53 +.TE +.sp 2v +vline below hline in the middle: +.TS +doublebox tab(:); +l l l l +l _ _ l +l l| l l +l l l l. +11:12:13:14 +21:::24 +31:32:33:34 +41:42:43:44 +.TE +.sp 2v +vline above hline in the middle: +.TS +doublebox tab(:); +l l l l +l l l l +l l| l l +l _ _ l +l l l l. +11:12:13:14 +21:22:23:24 +31:32:33:34 +41:::44 +51:52:53:54 +.TE +.sp 2v +vline left below hline at the end: +.TS +doublebox tab(:); +l l +l _ +l| l +l l. +11:12 +21: +31:32 +41:42 +.TE +.sp 2v +vline left above hline at the end: +.TS +doublebox tab(:); +l l +l l +l| l +l _ +l l. +11:12 +21:22 +31:32 +41: +51:52 +.TE +.sp 2v +vline right below hline at the end: +.TS +doublebox tab(:); +l l +l _ +l l| +l l. +11:12 +21: +31:32 +41:42 +.TE +.sp 2v +vline right above hline at the end: +.TS +doublebox tab(:); +l l +l l +l l| +l _ +l l. +11:12 +21:22 +31:32 +41: +51:52 +.TE +.sp 2v +vline left above hline bottom left: +.TS +doublebox tab(:); + l l + l l +| l l + _ l. +11:12 +21:22 +31:32 +:42 +.TE +.sp 2v +vline right above hline bottom left: +.TS +doublebox tab(:); +l l +l l +l| l +_ l. +11:12 +21:22 +31:32 +:42 +.TE +.sp 2v +vline left above hline at the bottom: +.TS +doublebox tab(:); +l l l +l l l +l| l l +l _ l. +11:12:13 +21:22:23 +31:32:33 +41::43 +.TE +.sp 2v +vline right above hline at the bottom: +.TS +doublebox tab(:); +l l l +l l l +l l| l +l _ l. +11:12:13 +21:22:23 +31:32:33 +41::43 +.TE +.sp 2v +vline above hline at the bottom: +.TS +doublebox tab(:); +l l l l +l l l l +l l| l l +l _ _ l. +11:12:13:14 +21:22:23:24 +31:32:33:34 +41:::44 +.TE +.sp 2v +vline left above hline bottom right: +.TS +doublebox tab(:); +l l +l l +l| l +l _. +11:12 +21:22 +31:32 +41: +.TE +.sp 2v +vline right above hline bottom right: +.TS +doublebox tab(:); +l l +l l +l l| +l _. +11:12 +21:22 +31:32 +41: +.TE +.sp 2v +double vline left below hline top left: +.TS +doublebox tab(:); + _ l +|| l l + l l. +:12 +21:22 +31:32 +.TE +.sp 2v +double vline right below hline top left: +.TS +doublebox tab(:); +_ l +l|| l +l l. +:12 +21:22 +31:32 +.TE +.sp 2v +double vline left below hline at the top: +.TS +doublebox tab(:); +l _ l +l|| l l +l l l. +11::13 +21:22:23 +31:32:33 +.TE +.sp 2v +double vline right below hline at the top: +.TS +doublebox tab(:); +l _ l +l l|| l +l l l. +11::13 +21:22:23 +31:32:33 +.TE +.sp 2v +double vline below hline at the top: +.TS +doublebox tab(:); +l _ _ l +l l|| l l +l l l l. +11:::14 +21:22:23:24 +31:32:33:34 +.TE +.sp 2v +double vline left below hline top right: +.TS +doublebox tab(:); +l _ +l|| l +l l. +11: +21:22 +31:32 +.TE +.sp 2v +double vline right below hline top right: +.TS +doublebox tab(:); +l _ +l l|| +l l. +11: +21:22 +31:32 +.TE +.sp 2v +double vline left below hline in front: +.TS +doublebox tab(:); + l l + _ l +|| l l + l l. +11:12 +:22 +31:32 +41:42 +.TE +.sp 2v +double vline left above hline in front: +.TS +doublebox tab(:); + l l + l l +|| l l + _ l + l l. +11:12 +21:22 +31:32 +:42 +51:52 +.TE +.sp 2v +double vline right below hline in front: +.TS +doublebox tab(:); +l l +_ l +l|| l +l l. +11:12 +:22 +31:32 +41:42 +.TE +.sp 2v +double vline right above hline in front: +.TS +doublebox tab(:); +l l +l l +l|| l +_ l +l l. +11:12 +21:22 +31:32 +:42 +51:52 +.TE +.sp 2v +double vline left below hline in the middle: +.TS +doublebox tab(:); +l l l +l _ l +l|| l l +l l l. +11:12:13 +21::23 +31:32:33 +41:42:43 +.TE +.sp 2v +double vline left above hline in the middle: +.TS +doublebox tab(:); +l l l +l l l +l|| l l +l _ l +l l l. +11:12:13 +21:22:23 +31:32:33 +41::43 +51:52:53 +.TE +.sp 2v +double vline right below hline in the middle: +.TS +doublebox tab(:); +l l l +l _ l +l l|| l +l l l. +11:12:13 +21::23 +31:32:33 +41:42:43 +.TE +.sp 2v +double vline right above hline in the middle: +.TS +doublebox tab(:); +l l l +l l l +l l|| l +l _ l +l l l. +11:12:13 +21:22:23 +31:32:33 +41::43 +51:52:53 +.TE +.sp 2v +double vline below hline in the middle: +.TS +doublebox tab(:); +l l l l +l _ _ l +l l|| l l +l l l l. +11:12:13:14 +21:::24 +31:32:33:34 +41:42:43:44 +.TE +.sp 2v +double vline above hline in the middle: +.TS +doublebox tab(:); +l l l l +l l l l +l l|| l l +l _ _ l +l l l l. +11:12:13:14 +21:22:23:24 +31:32:33:34 +41:::44 +51:52:53:54 +.TE +.sp 2v +double vline left below hline at the end: +.TS +doublebox tab(:); +l l +l _ +l|| l +l l. +11:12 +21: +31:32 +41:42 +.TE +.sp 2v +double vline left above hline at the end: +.TS +doublebox tab(:); +l l +l l +l|| l +l _ +l l. +11:12 +21:22 +31:32 +41: +51:52 +.TE +.sp 2v +double vline right below hline at the end: +.TS +doublebox tab(:); +l l +l _ +l l|| +l l. +11:12 +21: +31:32 +41:42 +.TE +.sp 2v +double vline right above hline at the end: +.TS +doublebox tab(:); +l l +l l +l l|| +l _ +l l. +11:12 +21:22 +31:32 +41: +51:52 +.TE +.sp 2v +double vline left above hline bottom left: +.TS +doublebox tab(:); + l l + l l +|| l l + _ l. +11:12 +21:22 +31:32 +:42 +.TE +.sp 2v +double vline right above hline bottom left: +.TS +doublebox tab(:); +l l +l l +l|| l +_ l. +11:12 +21:22 +31:32 +:42 +.TE +.sp 2v +double vline left above hline at the bottom: +.TS +doublebox tab(:); +l l l +l l l +l|| l l +l _ l. +11:12:13 +21:22:23 +31:32:33 +41::43 +.TE +.sp 2v +double vline right above hline at the bottom: +.TS +doublebox tab(:); +l l l +l l l +l l|| l +l _ l. +11:12:13 +21:22:23 +31:32:33 +41::43 +.TE +.sp 2v +double vline above hline at the bottom: +.TS +doublebox tab(:); +l l l l +l l l l +l l|| l l +l _ _ l. +11:12:13:14 +21:22:23:24 +31:32:33:34 +41:::44 +.TE +.sp 2v +double vline left above hline bottom right: +.TS +doublebox tab(:); +l l +l l +l|| l +l _. +11:12 +21:22 +31:32 +41: +.TE +.sp 2v +double vline right above hline bottom right: +.TS +doublebox tab(:); +l l +l l +l l|| +l _. +11:12 +21:22 +31:32 +41: +.TE +.sp 2v +.Sh DOUBLEBOX ALLBOX +vline top left: +.TS +doublebox allbox tab(:); +| l l + l l. +11:12 +21:22 +.TE +.sp 2v +hline and vline top left: +.TS +doublebox allbox tab(:); +_| l +l l. +:12 +21:22 +.TE +.sp 2v +vline and hline top left: +.TS +doublebox allbox tab(:); +| _ l + l l. +:12 +21:22 +.TE +.sp 2v +vline top: +.TS +doublebox allbox tab(:); +l| l +l l. +11:12 +21:22 +.TE +.sp 2v +vline and hline top: +.TS +doublebox allbox tab(:); +l| _ l +l l l. +11::13 +21:22:23 +.TE +.sp 2v +hline and vline top: +.TS +doublebox allbox tab(:); +l _| l +l l l. +11::13 +21:22:23 +.TE +.sp 2v +hline, vline, hline top: +.TS +doublebox allbox tab(:); +l _| _ l +l l l l. +11:::13 +21:22:23:24 +.TE +.sp 2v +vline top right: +.TS +doublebox allbox tab(:); +l l| +l l. +11:12 +21:22 +.TE +.sp 2v +vline and hline top right: +.TS +doublebox allbox tab(:); +l| _ +l l. +11: +21:22 +.TE +.sp 2v +hline and vline top right: +.TS +doublebox allbox tab(:); +l _| +l l. +11: +21:22 +.TE +.sp 2v +double vline top left: +.TS +doublebox allbox tab(:); +|| l l + l l. +11:12 +21:22 +.TE +.sp 2v +hline and double vline top left: +.TS +doublebox allbox tab(:); +_|| l +l l. +:12 +21:22 +.TE +.sp 2v +double vline and hline top left: +.TS +doublebox allbox tab(:); +|| _ l + l l. +:12 +21:22 +.TE +.sp 2v +double vline top: +.TS +doublebox allbox tab(:); +l|| l +l l. +11:12 +21:22 +.TE +.sp 2v +double vline and hline top: +.TS +doublebox allbox tab(:); +l|| _ l +l l l. +11::13 +21:22:23 +.TE +.sp 2v +hline and double vline top: +.TS +doublebox allbox tab(:); +l _|| l +l l l. +11::13 +21:22:23 +.TE +.sp 2v +hline, double vline, hline top: +.TS +doublebox allbox tab(:); +l _|| _ l +l l l l. +11:::13 +21:22:23:24 +.TE +.sp 2v +double vline top right: +.TS +doublebox allbox tab(:); +l l|| +l l. +11:12 +21:22 +.TE +.sp 2v +double vline and hline top right: +.TS +doublebox allbox tab(:); +l|| _ +l l. +11: +21:22 +.TE +.sp 2v +hline and double vline top right: +.TS +doublebox allbox tab(:); +l _|| +l l. +11: +21:22 +.TE +.sp 2v +hline top left: +.TS +doublebox allbox tab(:); +_ l +l l. +:12 +21:22 +.TE +.sp 2v +hline top: +.TS +doublebox allbox tab(:); +l _ l +l l l. +11::13 +21:22:23 +.TE +.sp 2v +double hline top: +.TS +doublebox allbox tab(:); +l _ _ l +l l l l. +11:::13 +21:22:23:24 +.TE +.sp 2v +hline top right: +.TS +doublebox allbox tab(:); +l _ +l l. +11: +21:22 +.TE +.sp 2v +hline in front: +.TS +doublebox allbox tab(:); +l l +_ l +l l. +11:12 +:22 +31:32 +.TE +.sp 2v +vline in front: +.TS +doublebox allbox tab(:); + l l + l l +| l l + l l. +11:12 +21:22 +31:32 +41:42 +.TE +.sp 2v +hline and vline in front: +.TS +doublebox allbox tab(:); +l l +l l +_| l +l l. +11:12 +21:22 +:32 +41:42 +.TE +.sp 2v +vline and hline in front: +.TS +doublebox allbox tab(:); + l l + l l +| _ l + l l. +11:12 +21:22 +:32 +41:42 +.TE +.sp 2v +hline in the middle: +.TS +doublebox allbox tab(:); +l l l +l _ l +l l l. +11:12:13 +21::23 +31:32:33 +.TE +.sp 2v +vline in the middle: +.TS +doublebox allbox tab(:); +l l l +l l l +l| l l +l l l. +11:12:13 +21:22:23 +31:32:33 +41:42:43 +.TE +.sp 2v +vline and hline in the middle: +.TS +doublebox allbox tab(:); +l l l +l l l +l| _ l +l l l. +11:12:13 +21:22:23 +31::33 +41:42:43 +.TE +.sp 2v +hline and vline in the middle: +.TS +doublebox allbox tab(:); +l l l +l l l +l _| l +l l l. +11:12:13 +21:22:23 +31::33 +41:42:43 +.TE +.sp 2v +double hline in the middle: +.TS +doublebox allbox tab(:); +l l l l +l _ _ l +l l l l. +11:12:13:14 +21:::24 +31:32:33:34 +.TE +.sp 2v +hline, vline, hline in the middle: +.TS +doublebox allbox tab(:); +l l l l +l l l l +l _| _ l +l l l l. +11:12:13:14 +21:22:23:24 +31:::34 +41:42:43:44 +.TE +.sp 2v +hline at the end: +.TS +doublebox allbox tab(:); +l l +l _ +l l. +11:12 +21: +31:32 +.TE +.sp 2v +vline at the end: +.TS +doublebox allbox tab(:); +l l +l l +l l| +l l. +11:12 +21:22 +31:32 +41:42 +.TE +.sp 2v +vline and hline at the end: +.TS +doublebox allbox tab(:); +l l +l l +l| _ +l l. +11:12 +21:22 +31: +41:42 +.TE +.sp 2v +hline and vline at the end: +.TS +doublebox allbox tab(:); +l l +l l +l _| +l l. +11:12 +21:22 +31: +41:42 +.TE +.sp 2v +hline bottom left: +.TS +doublebox allbox tab(:); +l l +_ l. +11:12 +:22 +.TE +.sp 2v +vline bottom left: +.TS +doublebox allbox tab(:); + l l + l l +| l l. +11:12 +21:22 +31:32 +.TE +.sp 2v +hline and vline bottom left: +.TS +doublebox allbox tab(:); +l l +l l +_| l. +11:12 +21:22 +:32 +.TE +.sp 2v +vline and hline bottom left: +.TS +doublebox allbox tab(:); + l l + l l +| _ l. +11:12 +21:22 +:32 +.TE +.sp 2v +double hline bottom: +.TS +doublebox allbox tab(:); +l l l l +l _ _ l. +11:12:13:14 +21:::24 +.TE +.sp 2v +hline, vline, hline bottom: +.TS +doublebox allbox tab(:); +l l l l +l l l l +l _| _ l. +11:12:13:14 +21:22:23:24 +31:::34 +.TE +.sp 2v +hline bottom right: +.TS +doublebox allbox tab(:); +l l +l _. +11:12 +21: +.TE +.sp 2v +vline bottom right: +.TS +doublebox allbox tab(:); +l l +l l +l l|. +11:12 +21:22 +31:32 +.TE +.sp 2v +vline and hline bottom right: +.TS +doublebox allbox tab(:); +l l +l l +l| _. +11:12 +21:22 +31: +.TE +.sp 2v +hline and vline bottom right: +.TS +doublebox allbox tab(:); +l l +l l +l _|. +11:12 +21:22 +31: +.TE +.sp 2v +double vline in front: +.TS +doublebox allbox tab(:); + l l + l l +|| l l + l l. +11:12 +21:22 +31:32 +41:42 +.TE +.sp 2v +hline and double vline in front: +.TS +doublebox allbox tab(:); +l l +l l +_|| l +l l. +11:12 +21:22 +:32 +41:42 +.TE +.sp 2v +double vline and hline in front: +.TS +doublebox allbox tab(:); + l l + l l +|| _ l + l l. +11:12 +21:22 +:32 +41:42 +.TE +.sp 2v +double vline in the middle: +.TS +doublebox allbox tab(:); +l l l +l l l +l|| l l +l l l. +11:12:13 +21:22:23 +31:32:33 +41:42:43 +.TE +.sp 2v +double vline and hline in the middle: +.TS +doublebox allbox tab(:); +l l l +l l l +l|| _ l +l l l. +11:12:13 +21:22:23 +31::33 +41:42:43 +.TE +.sp 2v +hline and doble vline in the middle: +.TS +doublebox allbox tab(:); +l l l +l l l +l _|| l +l l l. +11:12:13 +21:22:23 +31::33 +41:42:43 +.TE +.sp 2v +hline, double vline, hline in the middle: +.TS +doublebox allbox tab(:); +l l l l +l l l l +l _|| _ l +l l l l. +11:12:13:14 +21:22:23:24 +31:::34 +41:42:43:44 +.TE +.sp 2v +double vline at the end: +.TS +doublebox allbox tab(:); +l l +l l +l l|| +l l. +11:12 +21:22 +31:32 +41:42 +.TE +.sp 2v +double vline and hline at the end: +.TS +doublebox allbox tab(:); +l l +l l +l|| _ +l l. +11:12 +21:22 +31: +41:42 +.TE +.sp 2v +hline and double vline at the end: +.TS +doublebox allbox tab(:); +l l +l l +l _|| +l l. +11:12 +21:22 +31: +41:42 +.TE +.sp 2v +double vline bottom left: +.TS +doublebox allbox tab(:); + l l + l l +|| l l. +11:12 +21:22 +31:32 +.TE +.sp 2v +hline and double vline bottom left: +.TS +doublebox allbox tab(:); +l l +l l +_|| l. +11:12 +21:22 +:32 +.TE +.sp 2v +double vline and hline bottom left: +.TS +doublebox allbox tab(:); + l l + l l +|| _ l. +11:12 +21:22 +:32 +.TE +.sp 2v +hline, double vline, hline bottom: +.TS +doublebox allbox tab(:); +l l l l +l l l l +l _|| _ l. +11:12:13:14 +21:22:23:24 +31:::34 +.TE +.sp 2v +double vline bottom right: +.TS +doublebox allbox tab(:); +l l +l l +l l||. +11:12 +21:22 +31:32 +.TE +.sp 2v +double vline and hline bottom right: +.TS +doublebox allbox tab(:); +l l +l l +l|| _. +11:12 +21:22 +31: +.TE +.sp 2v +hline and double vline bottom right: +.TS +doublebox allbox tab(:); +l l +l l +l _||. +11:12 +21:22 +31: +.TE +.sp 2v +vline left below hline top left: +.TS +doublebox allbox tab(:); + _ l +| l l + l l. +:12 +21:22 +31:32 +.TE +.sp 2v +vline right below hline top left: +.TS +doublebox allbox tab(:); +_ l +l| l +l l. +:12 +21:22 +31:32 +.TE +.sp 2v +vline left below hline at the top: +.TS +doublebox allbox tab(:); +l _ l +l| l l +l l l. +11::13 +21:22:23 +31:32:33 +.TE +.sp 2v +vline right below hline at the top: +.TS +doublebox allbox tab(:); +l _ l +l l| l +l l l. +11::13 +21:22:23 +31:32:33 +.TE +.sp 2v +vline below hline at the top: +.TS +doublebox allbox tab(:); +l _ _ l +l l| l l +l l l l. +11:::14 +21:22:23:24 +31:32:33:34 +.TE +.sp 2v +vline left below hline top right: +.TS +doublebox allbox tab(:); +l _ +l| l +l l. +11: +21:22 +31:32 +.TE +.sp 2v +vline right below hline top right: +.TS +doublebox allbox tab(:); +l _ +l l| +l l. +11: +21:22 +31:32 +.TE +.sp 2v +vline left below hline in front: +.TS +doublebox allbox tab(:); + l l + _ l +| l l + l l. +11:12 +:22 +31:32 +41:42 +.TE +.sp 2v +vline left above hline in front: +.TS +doublebox allbox tab(:); + l l + l l +| l l + _ l + l l. +11:12 +21:22 +31:32 +:42 +51:52 +.TE +.sp 2v +vline right below hline in front: +.TS +doublebox allbox tab(:); +l l +_ l +l| l +l l. +11:12 +:22 +31:32 +41:42 +.TE +.sp 2v +vline right above hline in front: +.TS +doublebox allbox tab(:); +l l +l l +l| l +_ l +l l. +11:12 +21:22 +31:32 +:42 +51:52 +.TE +.sp 2v +vline left below hline in the middle: +.TS +doublebox allbox tab(:); +l l l +l _ l +l| l l +l l l. +11:12:13 +21::23 +31:32:33 +41:42:43 +.TE +.sp 2v +vline left above hline in the middle: +.TS +doublebox allbox tab(:); +l l l +l l l +l| l l +l _ l +l l l. +11:12:13 +21:22:23 +31:32:33 +41::43 +51:52:53 +.TE +.sp 2v +vline right below hline in the middle: +.TS +doublebox allbox tab(:); +l l l +l _ l +l l| l +l l l. +11:12:13 +21::23 +31:32:33 +41:42:43 +.TE +.sp 2v +vline right above hline in the middle: +.TS +doublebox allbox tab(:); +l l l +l l l +l l| l +l _ l +l l l. +11:12:13 +21:22:23 +31:32:33 +41::43 +51:52:53 +.TE +.sp 2v +vline below hline in the middle: +.TS +doublebox allbox tab(:); +l l l l +l _ _ l +l l| l l +l l l l. +11:12:13:14 +21:::24 +31:32:33:34 +41:42:43:44 +.TE +.sp 2v +vline above hline in the middle: +.TS +doublebox allbox tab(:); +l l l l +l l l l +l l| l l +l _ _ l +l l l l. +11:12:13:14 +21:22:23:24 +31:32:33:34 +41:::44 +51:52:53:54 +.TE +.sp 2v +vline left below hline at the end: +.TS +doublebox allbox tab(:); +l l +l _ +l| l +l l. +11:12 +21: +31:32 +41:42 +.TE +.sp 2v +vline left above hline at the end: +.TS +doublebox allbox tab(:); +l l +l l +l| l +l _ +l l. +11:12 +21:22 +31:32 +41: +51:52 +.TE +.sp 2v +vline right below hline at the end: +.TS +doublebox allbox tab(:); +l l +l _ +l l| +l l. +11:12 +21: +31:32 +41:42 +.TE +.sp 2v +vline right above hline at the end: +.TS +doublebox allbox tab(:); +l l +l l +l l| +l _ +l l. +11:12 +21:22 +31:32 +41: +51:52 +.TE +.sp 2v +vline left above hline bottom left: +.TS +doublebox allbox tab(:); + l l + l l +| l l + _ l. +11:12 +21:22 +31:32 +:42 +.TE +.sp 2v +vline right above hline bottom left: +.TS +doublebox allbox tab(:); +l l +l l +l| l +_ l. +11:12 +21:22 +31:32 +:42 +.TE +.sp 2v +vline left above hline at the bottom: +.TS +doublebox allbox tab(:); +l l l +l l l +l| l l +l _ l. +11:12:13 +21:22:23 +31:32:33 +41::43 +.TE +.sp 2v +vline right above hline at the bottom: +.TS +doublebox allbox tab(:); +l l l +l l l +l l| l +l _ l. +11:12:13 +21:22:23 +31:32:33 +41::43 +.TE +.sp 2v +vline above hline at the bottom: +.TS +doublebox allbox tab(:); +l l l l +l l l l +l l| l l +l _ _ l. +11:12:13:14 +21:22:23:24 +31:32:33:34 +41:::44 +.TE +.sp 2v +vline left above hline bottom right: +.TS +doublebox allbox tab(:); +l l +l l +l| l +l _. +11:12 +21:22 +31:32 +41: +.TE +.sp 2v +vline right above hline bottom right: +.TS +doublebox allbox tab(:); +l l +l l +l l| +l _. +11:12 +21:22 +31:32 +41: +.TE +.sp 2v +double vline left below hline top left: +.TS +doublebox allbox tab(:); + _ l +|| l l + l l. +:12 +21:22 +31:32 +.TE +.sp 2v +double vline right below hline top left: +.TS +doublebox allbox tab(:); +_ l +l|| l +l l. +:12 +21:22 +31:32 +.TE +.sp 2v +double vline left below hline at the top: +.TS +doublebox allbox tab(:); +l _ l +l|| l l +l l l. +11::13 +21:22:23 +31:32:33 +.TE +.sp 2v +double vline right below hline at the top: +.TS +doublebox allbox tab(:); +l _ l +l l|| l +l l l. +11::13 +21:22:23 +31:32:33 +.TE +.sp 2v +double vline below hline at the top: +.TS +doublebox allbox tab(:); +l _ _ l +l l|| l l +l l l l. +11:::14 +21:22:23:24 +31:32:33:34 +.TE +.sp 2v +double vline left below hline top right: +.TS +doublebox allbox tab(:); +l _ +l|| l +l l. +11: +21:22 +31:32 +.TE +.sp 2v +double vline right below hline top right: +.TS +doublebox allbox tab(:); +l _ +l l|| +l l. +11: +21:22 +31:32 +.TE +.sp 2v +double vline left below hline in front: +.TS +doublebox allbox tab(:); + l l + _ l +|| l l + l l. +11:12 +:22 +31:32 +41:42 +.TE +.sp 2v +double vline left above hline in front: +.TS +doublebox allbox tab(:); + l l + l l +|| l l + _ l + l l. +11:12 +21:22 +31:32 +:42 +51:52 +.TE +.sp 2v +double vline right below hline in front: +.TS +doublebox allbox tab(:); +l l +_ l +l|| l +l l. +11:12 +:22 +31:32 +41:42 +.TE +.sp 2v +double vline right above hline in front: +.TS +doublebox allbox tab(:); +l l +l l +l|| l +_ l +l l. +11:12 +21:22 +31:32 +:42 +51:52 +.TE +.sp 2v +double vline left below hline in the middle: +.TS +doublebox allbox tab(:); +l l l +l _ l +l|| l l +l l l. +11:12:13 +21::23 +31:32:33 +41:42:43 +.TE +.sp 2v +double vline left above hline in the middle: +.TS +doublebox allbox tab(:); +l l l +l l l +l|| l l +l _ l +l l l. +11:12:13 +21:22:23 +31:32:33 +41::43 +51:52:53 +.TE +.sp 2v +double vline right below hline in the middle: +.TS +doublebox allbox tab(:); +l l l +l _ l +l l|| l +l l l. +11:12:13 +21::23 +31:32:33 +41:42:43 +.TE +.sp 2v +double vline right above hline in the middle: +.TS +doublebox allbox tab(:); +l l l +l l l +l l|| l +l _ l +l l l. +11:12:13 +21:22:23 +31:32:33 +41::43 +51:52:53 +.TE +.sp 2v +double vline below hline in the middle: +.TS +doublebox allbox tab(:); +l l l l +l _ _ l +l l|| l l +l l l l. +11:12:13:14 +21:::24 +31:32:33:34 +41:42:43:44 +.TE +.sp 2v +double vline above hline in the middle: +.TS +doublebox allbox tab(:); +l l l l +l l l l +l l|| l l +l _ _ l +l l l l. +11:12:13:14 +21:22:23:24 +31:32:33:34 +41:::44 +51:52:53:54 +.TE +.sp 2v +double vline left below hline at the end: +.TS +doublebox allbox tab(:); +l l +l _ +l|| l +l l. +11:12 +21: +31:32 +41:42 +.TE +.sp 2v +double vline left above hline at the end: +.TS +doublebox allbox tab(:); +l l +l l +l|| l +l _ +l l. +11:12 +21:22 +31:32 +41: +51:52 +.TE +.sp 2v +double vline right below hline at the end: +.TS +doublebox allbox tab(:); +l l +l _ +l l|| +l l. +11:12 +21: +31:32 +41:42 +.TE +.sp 2v +double vline right above hline at the end: +.TS +doublebox allbox tab(:); +l l +l l +l l|| +l _ +l l. +11:12 +21:22 +31:32 +41: +51:52 +.TE +.sp 2v +double vline left above hline bottom left: +.TS +doublebox allbox tab(:); + l l + l l +|| l l + _ l. +11:12 +21:22 +31:32 +:42 +.TE +.sp 2v +double vline right above hline bottom left: +.TS +doublebox allbox tab(:); +l l +l l +l|| l +_ l. +11:12 +21:22 +31:32 +:42 +.TE +.sp 2v +double vline left above hline at the bottom: +.TS +doublebox allbox tab(:); +l l l +l l l +l|| l l +l _ l. +11:12:13 +21:22:23 +31:32:33 +41::43 +.TE +.sp 2v +double vline right above hline at the bottom: +.TS +doublebox allbox tab(:); +l l l +l l l +l l|| l +l _ l. +11:12:13 +21:22:23 +31:32:33 +41::43 +.TE +.sp 2v +double vline above hline at the bottom: +.TS +doublebox allbox tab(:); +l l l l +l l l l +l l|| l l +l _ _ l. +11:12:13:14 +21:22:23:24 +31:32:33:34 +41:::44 +.TE +.sp 2v +double vline left above hline bottom right: +.TS +doublebox allbox tab(:); +l l +l l +l|| l +l _. +11:12 +21:22 +31:32 +41: +.TE +.sp 2v +double vline right above hline bottom right: +.TS +doublebox allbox tab(:); +l l +l l +l l|| +l _. +11:12 +21:22 +31:32 +41: +.TE +.sp 2v diff --git a/contrib/mandoc/regress/tbl/layout/lines.out_ascii b/contrib/mandoc/regress/tbl/layout/lines.out_ascii new file mode 100644 index 00000000000..0b2a1cfe90f --- /dev/null +++ b/contrib/mandoc/regress/tbl/layout/lines.out_ascii @@ -0,0 +1,4755 @@ +TBL-LAYOUT-LINES(1) General Commands Manual TBL-LAYOUT-LINES(1) + +NNAAMMEE + ttbbll--llaayyoouutt--lliinneess - table cells containing lines + +DDEESSCCRRIIPPTTIIOONN + hline top left: + ---- 12 + 21 22 + + hline top: + 11 ------ 13 + 21 22 23 + + double hline top: + 11 ----------- 13 + 21 22 23 24 + + hline top right: + 11 ----- + 21 22 + + hline in front: + 11 12 + ---- 22 + 31 32 + + vline in front: + 11 12 + |21 22 + |31 32 + 41 42 + + hline and vline in front: + 11 12 + 21 | 22 + ---+ 32 + 41 42 + + vline and hline in front: + 11 12 + |21 22 + +---- 32 + 41 42 + + hline in the middle: + 11 12 13 + 21 ------ 23 + 31 32 33 + + vline in the middle: + 11 12 13 + 21 | 22 23 + 31 | 32 33 + 41 42 43 + + vline and hline in the middle: + 11 12 13 + 21 | 22 23 + 31 +----- 33 + 41 42 43 + + hline and vline in the middle: + 11 12 13 + 21 22 | 23 + 31 -----+ 33 + 41 42 43 + + double hline in the middle: + 11 12 13 14 + 21 ----------- 24 + 31 32 33 34 + + hline, vline, hline in the middle: + 11 12 13 14 + 21 22 | 23 24 + 31 -----+----- 34 + 41 42 43 44 + + hline at the end: + 11 12 + 21 ----- + 31 32 + + vline at the end: + 11 12 + 21 22 | + 31 32 | + 41 42 + + vline and hline at the end: + 11 12 + 21 | 22 + 31 +---- + 41 42 + + hline and vline at the end: + 11 12 + 21 22 | + 31 -----+ + 41 42 + + hline bottom left: + 11 12 + ---- 22 + + vline bottom left: + 11 12 + |21 22 + |31 32 + + hline and vline bottom left: + 11 12 + 21 | 22 + ---+ 32 + + vline and hline bottom left: + 11 12 + |21 22 + +---- 32 + + double hline bottom: + 11 12 13 14 + 21 ----------- 24 + + hline, vline, hline bottom: + 11 12 13 14 + 21 22 | 23 24 + 31 -----+----- 34 + + hline bottom right: + 11 12 + 21 ----- + + vline bottom right: + 11 12 + 21 22 | + 31 32 | + + vline and hline bottom right: + 11 12 + 21 | 22 + 31 +---- + + hline and vline bottom right: + 11 12 + 21 22 | + 31 -----+ + + double vline in front: + 11 12 + |21 22 + |31 32 + 41 42 + + hline and double vline in front: + 11 12 + 21 ||22 + ---+|32 + 41 42 + + double vline and hline in front: + 11 12 + |21 22 + +---- 32 + 41 42 + + double vline in the middle: + 11 12 13 + 21 ||22 23 + 31 ||32 33 + 41 42 43 + + double vline and hline in the middle: + 11 12 13 + 21 ||22 23 + 31 ++---- 33 + 41 42 43 + + hline and doble vline in the middle: + 11 12 13 + 21 22 ||23 + 31 -----+|33 + 41 42 43 + + hline, double vline, hline in the middle: + 11 12 13 14 + 21 22 ||23 24 + 31 -----++---- 34 + 41 42 43 44 + + double vline at the end: + 11 12 + 21 22 | + 31 32 | + 41 42 + + double vline and hline at the end: + 11 12 + 21 ||22 + 31 ++--- + 41 42 + + hline and double vline at the end: + 11 12 + 21 22 | + 31 -----+ + 41 42 + + double vline bottom left: + 11 12 + |21 22 + |31 32 + + hline and double vline bottom left: + 11 12 + 21 ||22 + ---+|32 + + double vline and hline bottom left: + 11 12 + |21 22 + +---- 32 + + hline, double vline, hline bottom: + 11 12 13 14 + 21 22 ||23 24 + 31 -----++---- 34 + + double vline bottom right: + 11 12 + 21 22 | + 31 32 | + + double vline and hline bottom right: + 11 12 + 21 ||22 + 31 ++--- + + hline and double vline bottom right: + 11 12 + 21 22 | + 31 -----+ + + vline left below hline top left: + +---- 12 + |21 22 + 31 32 + + vline right below hline top left: + ---+ 12 + 21 | 22 + 31 32 + + vline left below hline at the top: + 11 +----- 13 + 21 | 22 23 + 31 32 33 + + vline right below hline at the top: + 11 -----+ 13 + 21 22 | 23 + 31 32 33 + + vline below hline at the top: + 11 -----+----- 14 + 21 22 | 23 24 + 31 32 33 34 + + vline left below hline top right: + 11 +---- + 21 | 22 + 31 32 + + vline right below hline top right: + 11 -----+ + 21 22 | + 31 32 + + vline left below hline in front: + 11 12 + +---- 22 + |31 32 + 41 42 + + vline left above hline in front: + 11 12 + |21 22 + |31 32 + +---- 42 + 51 52 + + vline right below hline in front: + 11 12 + ---+ 22 + 31 | 32 + 41 42 + + vline right above hline in front: + 11 12 + 21 | 22 + 31 | 32 + ---+ 42 + 51 52 + + vline left below hline in the middle: + 11 12 13 + 21 +----- 23 + 31 | 32 33 + 41 42 43 + + vline left above hline in the middle: + 11 12 13 + 21 | 22 23 + 31 | 32 33 + 41 +----- 43 + 51 52 53 + + vline right below hline in the middle: + 11 12 13 + 21 -----+ 23 + 31 32 | 33 + 41 42 43 + + vline right above hline in the middle: + 11 12 13 + 21 22 | 23 + 31 32 | 33 + 41 -----+ 43 + 51 52 53 + + vline below hline in the middle: + 11 12 13 14 + 21 -----+----- 24 + 31 32 | 33 34 + 41 42 43 44 + + vline above hline in the middle: + 11 12 13 14 + 21 22 | 23 24 + 31 32 | 33 34 + 41 -----+----- 44 + 51 52 53 54 + + vline left below hline at the end: + 11 12 + 21 +---- + 31 | 32 + 41 42 + + vline left above hline at the end: + 11 12 + 21 | 22 + 31 | 32 + 41 +---- + 51 52 + + vline right below hline at the end: + 11 12 + 21 -----+ + 31 32 | + 41 42 + + vline right above hline at the end: + 11 12 + 21 22 | + 31 32 | + 41 -----+ + 51 52 + + vline left above hline bottom left: + 11 12 + |21 22 + |31 32 + +---- 42 + + vline right above hline bottom left: + 11 12 + 21 | 22 + 31 | 32 + ---+ 42 + + vline left above hline at the bottom: + 11 12 13 + 21 | 22 23 + 31 | 32 33 + 41 +----- 43 + + vline right above hline at the bottom: + 11 12 13 + 21 22 | 23 + 31 32 | 33 + 41 -----+ 43 + + vline above hline at the bottom: + 11 12 13 14 + 21 22 | 23 24 + 31 32 | 33 34 + 41 -----+----- 44 + + vline left above hline bottom right: + 11 12 + 21 | 22 + 31 | 32 + 41 +---- + + vline right above hline bottom right: + 11 12 + 21 22 | + 31 32 | + 41 -----+ + + double vline left below hline top left: + +---- 12 + |21 22 + 31 32 + + double vline right below hline top left: + ---+|12 + 21 ||22 + 31 32 + + double vline left below hline at the top: + 11 ++---- 13 + 21 ||22 23 + 31 32 33 + + double vline right below hline at the top: + 11 -----+|13 + 21 22 ||23 + 31 32 33 + + double vline below hline at the top: + 11 -----++---- 14 + 21 22 ||23 24 + 31 32 33 34 + + double vline left below hline top right: + 11 ++--- + 21 ||22 + 31 32 + + double vline right below hline top right: + 11 -----+ + 21 22 | + 31 32 + + double vline left below hline in front: + 11 12 + +---- 22 + |31 32 + 41 42 + + double vline left above hline in front: + 11 12 + |21 22 + |31 32 + +---- 42 + 51 52 + + double vline right below hline in front: + 11 12 + ---+|22 + 31 ||32 + 41 42 + + double vline right above hline in front: + 11 12 + 21 ||22 + 31 ||32 + ---+|42 + 51 52 + + double vline left below hline in the middle: + 11 12 13 + 21 ++---- 23 + 31 ||32 33 + 41 42 43 + + double vline left above hline in the middle: + 11 12 13 + 21 ||22 23 + 31 ||32 33 + 41 ++---- 43 + 51 52 53 + + double vline right below hline in the middle: + 11 12 13 + 21 -----+|23 + 31 32 ||33 + 41 42 43 + + double vline right above hline in the middle: + 11 12 13 + 21 22 ||23 + 31 32 ||33 + 41 -----+|43 + 51 52 53 + + double vline below hline in the middle: + 11 12 13 14 + 21 -----++---- 24 + 31 32 ||33 34 + 41 42 43 44 + + double vline above hline in the middle: + 11 12 13 14 + 21 22 ||23 24 + 31 32 ||33 34 + 41 -----++---- 44 + 51 52 53 54 + + double vline left below hline at the end: + 11 12 + 21 ++--- + 31 ||32 + 41 42 + + double vline left above hline at the end: + 11 12 + 21 ||22 + 31 ||32 + 41 ++--- + 51 52 + + double vline right below hline at the end: + 11 12 + 21 -----+ + 31 32 | + 41 42 + + double vline right above hline at the end: + 11 12 + 21 22 | + 31 32 | + 41 -----+ + 51 52 + + double vline left above hline bottom left: + 11 12 + |21 22 + |31 32 + +---- 42 + + double vline right above hline bottom left: + 11 12 + 21 ||22 + 31 ||32 + ---+|42 + + double vline left above hline at the bottom: + 11 12 13 + 21 ||22 23 + 31 ||32 33 + 41 ++---- 43 + + double vline right above hline at the bottom: + 11 12 13 + 21 22 ||23 + 31 32 ||33 + 41 -----+|43 + + double vline above hline at the bottom: + 11 12 13 14 + 21 22 ||23 24 + 31 32 ||33 34 + 41 -----++---- 44 + + double vline left above hline bottom right: + 11 12 + 21 ||22 + 31 ||32 + 41 ++--- + + double vline right above hline bottom right: + 11 12 + 21 22 | + 31 32 | + 41 -----+ + +BBOOXXEEDD + vline top left: + +--------+ + |11 12 | + |21 22 | + +--------+ + hline and vline top left: + +---+----+ + +---+ 12 | + |21 22 | + +--------+ + vline and hline top left: + +--------+ + +---- 12 | + |21 22 | + +--------+ + vline top: + +---+----+ + |11 | 12 | + |21 22 | + +--------+ + vline and hline top: + +---+---------+ + |11 +----- 13 | + |21 22 23 | + +-------------+ + hline and vline top: + +--------+----+ + |11 -----+ 13 | + |21 22 23 | + +-------------+ + hline, vline, hline top: + +--------+---------+ + |11 -----+----- 13 | + |21 22 23 24 | + +------------------+ + vline top right: + +--------+ + |11 12 | + |21 22 | + +--------+ + vline and hline top right: + +---+----+ + |11 +----+ + |21 22 | + +--------+ + hline and vline top right: + +--------+ + |11 -----+ + |21 22 | + +--------+ + double vline top left: + +--------+ + |11 12 | + |21 22 | + +--------+ + hline and double vline top left: + +---++---+ + +---+|12 | + |21 22 | + +--------+ + double vline and hline top left: + +--------+ + +---- 12 | + |21 22 | + +--------+ + double vline top: + +---++---+ + |11 ||12 | + |21 22 | + +--------+ + double vline and hline top: + +---++--------+ + |11 ++---- 13 | + |21 22 23 | + +-------------+ + hline and double vline top: + +--------++---+ + |11 -----+|13 | + |21 22 23 | + +-------------+ + hline, double vline, hline top: + +--------++--------+ + |11 -----++---- 13 | + |21 22 23 24 | + +------------------+ + double vline top right: + +--------+ + |11 12 | + |21 22 | + +--------+ + double vline and hline top right: + +---++---+ + |11 ++---+ + |21 22 | + +--------+ + hline and double vline top right: + +--------+ + |11 -----+ + |21 22 | + +--------+ + hline top left: + +--------+ + +---- 12 | + |21 22 | + +--------+ + hline top: + +-------------+ + |11 ------ 13 | + |21 22 23 | + +-------------+ + double hline top: + +------------------+ + |11 ----------- 13 | + |21 22 23 24 | + +------------------+ + hline top right: + +--------+ + |11 -----+ + |21 22 | + +--------+ + hline in front: + +--------+ + |11 12 | + +---- 22 | + |31 32 | + +--------+ + vline in front: + +--------+ + |11 12 | + |21 22 | + |31 32 | + |41 42 | + +--------+ + hline and vline in front: + +--------+ + |11 12 | + |21 | 22 | + +---+ 32 | + |41 42 | + +--------+ + vline and hline in front: + +--------+ + |11 12 | + |21 22 | + +---- 32 | + |41 42 | + +--------+ + hline in the middle: + +-------------+ + |11 12 13 | + |21 ------ 23 | + |31 32 33 | + +-------------+ + vline in the middle: + +-------------+ + |11 12 13 | + |21 | 22 23 | + |31 | 32 33 | + |41 42 43 | + +-------------+ + vline and hline in the middle: + +-------------+ + |11 12 13 | + |21 | 22 23 | + |31 +----- 33 | + |41 42 43 | + +-------------+ + hline and vline in the middle: + +-------------+ + |11 12 13 | + |21 22 | 23 | + |31 -----+ 33 | + |41 42 43 | + +-------------+ + double hline in the middle: + +------------------+ + |11 12 13 14 | + |21 ----------- 24 | + |31 32 33 34 | + +------------------+ + hline, vline, hline in the middle: + +------------------+ + |11 12 13 14 | + |21 22 | 23 24 | + |31 -----+----- 34 | + |41 42 43 44 | + +------------------+ + hline at the end: + +--------+ + |11 12 | + |21 -----+ + |31 32 | + +--------+ + vline at the end: + +--------+ + |11 12 | + |21 22 | + |31 32 | + |41 42 | + +--------+ + vline and hline at the end: + +--------+ + |11 12 | + |21 | 22 | + |31 +----+ + |41 42 | + +--------+ + hline and vline at the end: + +--------+ + |11 12 | + |21 22 | + |31 -----+ + |41 42 | + +--------+ + hline bottom left: + +--------+ + |11 12 | + +---- 22 | + +--------+ + vline bottom left: + +--------+ + |11 12 | + |21 22 | + |31 32 | + +--------+ + hline and vline bottom left: + +--------+ + |11 12 | + |21 | 22 | + +---+ 32 | + +---+----+ + vline and hline bottom left: + +--------+ + |11 12 | + |21 22 | + +---- 32 | + +--------+ + double hline bottom: + +------------------+ + |11 12 13 14 | + |21 ----------- 24 | + +------------------+ + hline, vline, hline bottom: + +------------------+ + |11 12 13 14 | + |21 22 | 23 24 | + |31 -----+----- 34 | + +--------+---------+ + hline bottom right: + +--------+ + |11 12 | + |21 -----+ + +--------+ + vline bottom right: + +--------+ + |11 12 | + |21 22 | + |31 32 | + +--------+ + vline and hline bottom right: + +--------+ + |11 12 | + |21 | 22 | + |31 +----+ + +---+----+ + hline and vline bottom right: + +--------+ + |11 12 | + |21 22 | + |31 -----+ + +--------+ + double vline in front: + +--------+ + |11 12 | + |21 22 | + |31 32 | + |41 42 | + +--------+ + hline and double vline in front: + +--------+ + |11 12 | + |21 ||22 | + +---+|32 | + |41 42 | + +--------+ + double vline and hline in front: + +--------+ + |11 12 | + |21 22 | + +---- 32 | + |41 42 | + +--------+ + double vline in the middle: + +-------------+ + |11 12 13 | + |21 ||22 23 | + |31 ||32 33 | + |41 42 43 | + +-------------+ + double vline and hline in the middle: + +-------------+ + |11 12 13 | + |21 ||22 23 | + |31 ++---- 33 | + |41 42 43 | + +-------------+ + hline and doble vline in the middle: + +-------------+ + |11 12 13 | + |21 22 ||23 | + |31 -----+|33 | + |41 42 43 | + +-------------+ + hline, double vline, hline in the middle: + +------------------+ + |11 12 13 14 | + |21 22 ||23 24 | + |31 -----++---- 34 | + |41 42 43 44 | + +------------------+ + double vline at the end: + +--------+ + |11 12 | + |21 22 | + |31 32 | + |41 42 | + +--------+ + double vline and hline at the end: + +--------+ + |11 12 | + |21 ||22 | + |31 ++---+ + |41 42 | + +--------+ + hline and double vline at the end: + +--------+ + |11 12 | + |21 22 | + |31 -----+ + |41 42 | + +--------+ + double vline bottom left: + +--------+ + |11 12 | + |21 22 | + |31 32 | + +--------+ + hline and double vline bottom left: + +--------+ + |11 12 | + |21 ||22 | + +---+|32 | + +---++---+ + double vline and hline bottom left: + +--------+ + |11 12 | + |21 22 | + +---- 32 | + +--------+ + hline, double vline, hline bottom: + +------------------+ + |11 12 13 14 | + |21 22 ||23 24 | + |31 -----++---- 34 | + +--------++--------+ + double vline bottom right: + +--------+ + |11 12 | + |21 22 | + |31 32 | + +--------+ + double vline and hline bottom right: + +--------+ + |11 12 | + |21 ||22 | + |31 ++---+ + +---++---+ + hline and double vline bottom right: + +--------+ + |11 12 | + |21 22 | + |31 -----+ + +--------+ + vline left below hline top left: + +--------+ + +---- 12 | + |21 22 | + |31 32 | + +--------+ + vline right below hline top left: + +--------+ + +---+ 12 | + |21 | 22 | + |31 32 | + +--------+ + vline left below hline at the top: + +-------------+ + |11 +----- 13 | + |21 | 22 23 | + |31 32 33 | + +-------------+ + vline right below hline at the top: + +-------------+ + |11 -----+ 13 | + |21 22 | 23 | + |31 32 33 | + +-------------+ + vline below hline at the top: + +------------------+ + |11 -----+----- 14 | + |21 22 | 23 24 | + |31 32 33 34 | + +------------------+ + vline left below hline top right: + +--------+ + |11 +----+ + |21 | 22 | + |31 32 | + +--------+ + vline right below hline top right: + +--------+ + |11 -----+ + |21 22 | + |31 32 | + +--------+ + vline left below hline in front: + +--------+ + |11 12 | + +---- 22 | + |31 32 | + |41 42 | + +--------+ + vline left above hline in front: + +--------+ + |11 12 | + |21 22 | + |31 32 | + +---- 42 | + |51 52 | + +--------+ + vline right below hline in front: + +--------+ + |11 12 | + +---+ 22 | + |31 | 32 | + |41 42 | + +--------+ + vline right above hline in front: + +--------+ + |11 12 | + |21 | 22 | + |31 | 32 | + +---+ 42 | + |51 52 | + +--------+ + vline left below hline in the middle: + +-------------+ + |11 12 13 | + |21 +----- 23 | + |31 | 32 33 | + |41 42 43 | + +-------------+ + vline left above hline in the middle: + +-------------+ + |11 12 13 | + |21 | 22 23 | + |31 | 32 33 | + |41 +----- 43 | + |51 52 53 | + +-------------+ + vline right below hline in the middle: + +-------------+ + |11 12 13 | + |21 -----+ 23 | + |31 32 | 33 | + |41 42 43 | + +-------------+ + vline right above hline in the middle: + +-------------+ + |11 12 13 | + |21 22 | 23 | + |31 32 | 33 | + |41 -----+ 43 | + |51 52 53 | + +-------------+ + vline below hline in the middle: + +------------------+ + |11 12 13 14 | + |21 -----+----- 24 | + |31 32 | 33 34 | + |41 42 43 44 | + +------------------+ + vline above hline in the middle: + +------------------+ + |11 12 13 14 | + |21 22 | 23 24 | + |31 32 | 33 34 | + |41 -----+----- 44 | + |51 52 53 54 | + +------------------+ + vline left below hline at the end: + +--------+ + |11 12 | + |21 +----+ + |31 | 32 | + |41 42 | + +--------+ + vline left above hline at the end: + +--------+ + |11 12 | + |21 | 22 | + |31 | 32 | + |41 +----+ + |51 52 | + +--------+ + vline right below hline at the end: + +--------+ + |11 12 | + |21 -----+ + |31 32 | + |41 42 | + +--------+ + vline right above hline at the end: + +--------+ + |11 12 | + |21 22 | + |31 32 | + |41 -----+ + |51 52 | + +--------+ + vline left above hline bottom left: + +--------+ + |11 12 | + |21 22 | + |31 32 | + +---- 42 | + +--------+ + vline right above hline bottom left: + +--------+ + |11 12 | + |21 | 22 | + |31 | 32 | + +---+ 42 | + +--------+ + vline left above hline at the bottom: + +-------------+ + |11 12 13 | + |21 | 22 23 | + |31 | 32 33 | + |41 +----- 43 | + +-------------+ + vline right above hline at the bottom: + +-------------+ + |11 12 13 | + |21 22 | 23 | + |31 32 | 33 | + |41 -----+ 43 | + +-------------+ + vline above hline at the bottom: + +------------------+ + |11 12 13 14 | + |21 22 | 23 24 | + |31 32 | 33 34 | + |41 -----+----- 44 | + +------------------+ + vline left above hline bottom right: + +--------+ + |11 12 | + |21 | 22 | + |31 | 32 | + |41 +----+ + +--------+ + vline right above hline bottom right: + +--------+ + |11 12 | + |21 22 | + |31 32 | + |41 -----+ + +--------+ + double vline left below hline top left: + +--------+ + +---- 12 | + |21 22 | + |31 32 | + +--------+ + double vline right below hline top left: + +--------+ + +---+|12 | + |21 ||22 | + |31 32 | + +--------+ + double vline left below hline at the top: + +-------------+ + |11 ++---- 13 | + |21 ||22 23 | + |31 32 33 | + +-------------+ + double vline right below hline at the top: + +-------------+ + |11 -----+|13 | + |21 22 ||23 | + |31 32 33 | + +-------------+ + double vline below hline at the top: + +------------------+ + |11 -----++---- 14 | + |21 22 ||23 24 | + |31 32 33 34 | + +------------------+ + double vline left below hline top right: + +--------+ + |11 ++---+ + |21 ||22 | + |31 32 | + +--------+ + double vline right below hline top right: + +--------+ + |11 -----+ + |21 22 | + |31 32 | + +--------+ + double vline left below hline in front: + +--------+ + |11 12 | + +---- 22 | + |31 32 | + |41 42 | + +--------+ + double vline left above hline in front: + +--------+ + |11 12 | + |21 22 | + |31 32 | + +---- 42 | + |51 52 | + +--------+ + double vline right below hline in front: + +--------+ + |11 12 | + +---+|22 | + |31 ||32 | + |41 42 | + +--------+ + double vline right above hline in front: + +--------+ + |11 12 | + |21 ||22 | + |31 ||32 | + +---+|42 | + |51 52 | + +--------+ + double vline left below hline in the middle: + +-------------+ + |11 12 13 | + |21 ++---- 23 | + |31 ||32 33 | + |41 42 43 | + +-------------+ + double vline left above hline in the middle: + +-------------+ + |11 12 13 | + |21 ||22 23 | + |31 ||32 33 | + |41 ++---- 43 | + |51 52 53 | + +-------------+ + double vline right below hline in the middle: + +-------------+ + |11 12 13 | + |21 -----+|23 | + |31 32 ||33 | + |41 42 43 | + +-------------+ + double vline right above hline in the middle: + +-------------+ + |11 12 13 | + |21 22 ||23 | + |31 32 ||33 | + |41 -----+|43 | + |51 52 53 | + +-------------+ + double vline below hline in the middle: + +------------------+ + |11 12 13 14 | + |21 -----++---- 24 | + |31 32 ||33 34 | + |41 42 43 44 | + +------------------+ + double vline above hline in the middle: + +------------------+ + |11 12 13 14 | + |21 22 ||23 24 | + |31 32 ||33 34 | + |41 -----++---- 44 | + |51 52 53 54 | + +------------------+ + double vline left below hline at the end: + +--------+ + |11 12 | + |21 ++---+ + |31 ||32 | + |41 42 | + +--------+ + double vline left above hline at the end: + +--------+ + |11 12 | + |21 ||22 | + |31 ||32 | + |41 ++---+ + |51 52 | + +--------+ + double vline right below hline at the end: + +--------+ + |11 12 | + |21 -----+ + |31 32 | + |41 42 | + +--------+ + double vline right above hline at the end: + +--------+ + |11 12 | + |21 22 | + |31 32 | + |41 -----+ + |51 52 | + +--------+ + double vline left above hline bottom left: + +--------+ + |11 12 | + |21 22 | + |31 32 | + +---- 42 | + +--------+ + double vline right above hline bottom left: + +--------+ + |11 12 | + |21 ||22 | + |31 ||32 | + +---+|42 | + +--------+ + double vline left above hline at the bottom: + +-------------+ + |11 12 13 | + |21 ||22 23 | + |31 ||32 33 | + |41 ++---- 43 | + +-------------+ + double vline right above hline at the bottom: + +-------------+ + |11 12 13 | + |21 22 ||23 | + |31 32 ||33 | + |41 -----+|43 | + +-------------+ + double vline above hline at the bottom: + +------------------+ + |11 12 13 14 | + |21 22 ||23 24 | + |31 32 ||33 34 | + |41 -----++---- 44 | + +------------------+ + double vline left above hline bottom right: + +--------+ + |11 12 | + |21 ||22 | + |31 ||32 | + |41 ++---+ + +--------+ + double vline right above hline bottom right: + +--------+ + |11 12 | + |21 22 | + |31 32 | + |41 -----+ + +--------+ + +AALLLLBBOOXX + vline top left: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + hline and vline top left: + +---+----+ + +---+ 12 | + +---+----+ + |21 | 22 | + +---+----+ + vline and hline top left: + +---+----+ + +---+ 12 | + +---+----+ + |21 | 22 | + +---+----+ + vline top: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + vline and hline top: + +---+----+----+ + |11 +----+ 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + hline and vline top: + +---+----+----+ + |11 +----+ 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + hline, vline, hline top: + +---+----+----+----+ + |11 +----+----+ 13 | + +---+----+----+----+ + |21 | 22 | 23 | 24 | + +---+----+----+----+ + vline top right: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + vline and hline top right: + +---+----+ + |11 +----+ + +---+----+ + |21 | 22 | + +---+----+ + hline and vline top right: + +---+----+ + |11 +----+ + +---+----+ + |21 | 22 | + +---+----+ + double vline top left: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + hline and double vline top left: + +---++---+ + +---+|12 | + +---++---+ + |21 | 22 | + +---+----+ + double vline and hline top left: + +---+----+ + +---+ 12 | + +---+----+ + |21 | 22 | + +---+----+ + double vline top: + +---++---+ + |11 ||12 | + +---++---+ + |21 | 22 | + +---+----+ + double vline and hline top: + +---++---+----+ + |11 ++---+ 13 | + +---++---+----+ + |21 | 22 | 23 | + +---+----+----+ + hline and double vline top: + +---+----++---+ + |11 +----+|13 | + +---+----++---+ + |21 | 22 | 23 | + +---+----+----+ + hline, double vline, hline top: + +---+----++---+----+ + |11 +----++---+ 13 | + +---+----++---+----+ + |21 | 22 | 23 | 24 | + +---+----+----+----+ + double vline top right: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + double vline and hline top right: + +---++---+ + |11 ++---+ + +---++---+ + |21 | 22 | + +---+----+ + hline and double vline top right: + +---+----+ + |11 +----+ + +---+----+ + |21 | 22 | + +---+----+ + hline top left: + +---+----+ + +---+ 12 | + +---+----+ + |21 | 22 | + +---+----+ + hline top: + +---+----+----+ + |11 +----+ 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + double hline top: + +---+----+----+----+ + |11 +----+----+ 13 | + +---+----+----+----+ + |21 | 22 | 23 | 24 | + +---+----+----+----+ + hline top right: + +---+----+ + |11 +----+ + +---+----+ + |21 | 22 | + +---+----+ + hline in front: + +---+----+ + |11 | 12 | + +---+----+ + +---+ 22 | + +---+----+ + |31 | 32 | + +---+----+ + vline in front: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 | 42 | + +---+----+ + hline and vline in front: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + +---+ 32 | + +---+----+ + |41 | 42 | + +---+----+ + vline and hline in front: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + +---+ 32 | + +---+----+ + |41 | 42 | + +---+----+ + hline in the middle: + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 +----+ 23 | + +---+----+----+ + |31 | 32 | 33 | + +---+----+----+ + vline in the middle: + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + |31 | 32 | 33 | + +---+----+----+ + |41 | 42 | 43 | + +---+----+----+ + vline and hline in the middle: + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + |31 +----+ 33 | + +---+----+----+ + |41 | 42 | 43 | + +---+----+----+ + hline and vline in the middle: + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + |31 +----+ 33 | + +---+----+----+ + |41 | 42 | 43 | + +---+----+----+ + double hline in the middle: + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 +----+----+ 24 | + +---+----+----+----+ + |31 | 32 | 33 | 34 | + +---+----+----+----+ + hline, vline, hline in the middle: + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 | 22 | 23 | 24 | + +---+----+----+----+ + |31 +----+----+ 34 | + +---+----+----+----+ + |41 | 42 | 43 | 44 | + +---+----+----+----+ + hline at the end: + +---+----+ + |11 | 12 | + +---+----+ + |21 +----+ + +---+----+ + |31 | 32 | + +---+----+ + vline at the end: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 | 42 | + +---+----+ + vline and hline at the end: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 +----+ + +---+----+ + |41 | 42 | + +---+----+ + hline and vline at the end: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 +----+ + +---+----+ + |41 | 42 | + +---+----+ + hline bottom left: + +---+----+ + |11 | 12 | + +---+----+ + +---+ 22 | + +---+----+ + vline bottom left: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + hline and vline bottom left: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + +---+ 32 | + +---+----+ + vline and hline bottom left: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + +---+ 32 | + +---+----+ + double hline bottom: + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 +----+----+ 24 | + +---+----+----+----+ + hline, vline, hline bottom: + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 | 22 | 23 | 24 | + +---+----+----+----+ + |31 +----+----+ 34 | + +---+----+----+----+ + hline bottom right: + +---+----+ + |11 | 12 | + +---+----+ + |21 +----+ + +---+----+ + vline bottom right: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + vline and hline bottom right: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 +----+ + +---+----+ + hline and vline bottom right: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 +----+ + +---+----+ + double vline in front: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 | 42 | + +---+----+ + hline and double vline in front: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---++---+ + +---+|32 | + +---++---+ + |41 | 42 | + +---+----+ + double vline and hline in front: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + +---+ 32 | + +---+----+ + |41 | 42 | + +---+----+ + double vline in the middle: + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---++---+----+ + |31 ||32 | 33 | + +---++---+----+ + |41 | 42 | 43 | + +---+----+----+ + double vline and hline in the middle: + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---++---+----+ + |31 ++---+ 33 | + +---++---+----+ + |41 | 42 | 43 | + +---+----+----+ + hline and doble vline in the middle: + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----++---+ + |31 +----+|33 | + +---+----++---+ + |41 | 42 | 43 | + +---+----+----+ + hline, double vline, hline in the middle: + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 | 22 | 23 | 24 | + +---+----++---+----+ + |31 +----++---+ 34 | + +---+----++---+----+ + |41 | 42 | 43 | 44 | + +---+----+----+----+ + double vline at the end: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 | 42 | + +---+----+ + double vline and hline at the end: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---++---+ + |31 ++---+ + +---++---+ + |41 | 42 | + +---+----+ + hline and double vline at the end: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 +----+ + +---+----+ + |41 | 42 | + +---+----+ + double vline bottom left: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + hline and double vline bottom left: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---++---+ + +---+|32 | + +---++---+ + double vline and hline bottom left: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + +---+ 32 | + +---+----+ + hline, double vline, hline bottom: + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 | 22 | 23 | 24 | + +---+----++---+----+ + |31 +----++---+ 34 | + +---+----++---+----+ + double vline bottom right: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + double vline and hline bottom right: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---++---+ + |31 ++---+ + +---++---+ + hline and double vline bottom right: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 +----+ + +---+----+ + vline left below hline top left: + +---+----+ + +---+ 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + vline right below hline top left: + +---+----+ + +---+ 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + vline left below hline at the top: + +---+----+----+ + |11 +----+ 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + |31 | 32 | 33 | + +---+----+----+ + vline right below hline at the top: + +---+----+----+ + |11 +----+ 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + |31 | 32 | 33 | + +---+----+----+ + vline below hline at the top: + +---+----+----+----+ + |11 +----+----+ 14 | + +---+----+----+----+ + |21 | 22 | 23 | 24 | + +---+----+----+----+ + |31 | 32 | 33 | 34 | + +---+----+----+----+ + vline left below hline top right: + +---+----+ + |11 +----+ + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + vline right below hline top right: + +---+----+ + |11 +----+ + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + vline left below hline in front: + +---+----+ + |11 | 12 | + +---+----+ + +---+ 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 | 42 | + +---+----+ + vline left above hline in front: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + +---+ 42 | + +---+----+ + |51 | 52 | + +---+----+ + vline right below hline in front: + +---+----+ + |11 | 12 | + +---+----+ + +---+ 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 | 42 | + +---+----+ + vline right above hline in front: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + +---+ 42 | + +---+----+ + |51 | 52 | + +---+----+ + vline left below hline in the middle: + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 +----+ 23 | + +---+----+----+ + |31 | 32 | 33 | + +---+----+----+ + |41 | 42 | 43 | + +---+----+----+ + vline left above hline in the middle: + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + |31 | 32 | 33 | + +---+----+----+ + |41 +----+ 43 | + +---+----+----+ + |51 | 52 | 53 | + +---+----+----+ + vline right below hline in the middle: + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 +----+ 23 | + +---+----+----+ + |31 | 32 | 33 | + +---+----+----+ + |41 | 42 | 43 | + +---+----+----+ + vline right above hline in the middle: + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + |31 | 32 | 33 | + +---+----+----+ + |41 +----+ 43 | + +---+----+----+ + |51 | 52 | 53 | + +---+----+----+ + vline below hline in the middle: + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 +----+----+ 24 | + +---+----+----+----+ + |31 | 32 | 33 | 34 | + +---+----+----+----+ + |41 | 42 | 43 | 44 | + +---+----+----+----+ + vline above hline in the middle: + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 | 22 | 23 | 24 | + +---+----+----+----+ + |31 | 32 | 33 | 34 | + +---+----+----+----+ + |41 +----+----+ 44 | + +---+----+----+----+ + |51 | 52 | 53 | 54 | + +---+----+----+----+ + vline left below hline at the end: + +---+----+ + |11 | 12 | + +---+----+ + |21 +----+ + +---+----+ + |31 | 32 | + +---+----+ + |41 | 42 | + +---+----+ + vline left above hline at the end: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 +----+ + +---+----+ + |51 | 52 | + +---+----+ + vline right below hline at the end: + +---+----+ + |11 | 12 | + +---+----+ + |21 +----+ + +---+----+ + |31 | 32 | + +---+----+ + |41 | 42 | + +---+----+ + vline right above hline at the end: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 +----+ + +---+----+ + |51 | 52 | + +---+----+ + vline left above hline bottom left: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + +---+ 42 | + +---+----+ + vline right above hline bottom left: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + +---+ 42 | + +---+----+ + vline left above hline at the bottom: + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + |31 | 32 | 33 | + +---+----+----+ + |41 +----+ 43 | + +---+----+----+ + vline right above hline at the bottom: + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + |31 | 32 | 33 | + +---+----+----+ + |41 +----+ 43 | + +---+----+----+ + vline above hline at the bottom: + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 | 22 | 23 | 24 | + +---+----+----+----+ + |31 | 32 | 33 | 34 | + +---+----+----+----+ + |41 +----+----+ 44 | + +---+----+----+----+ + vline left above hline bottom right: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 +----+ + +---+----+ + vline right above hline bottom right: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 +----+ + +---+----+ + double vline left below hline top left: + +---+----+ + +---+ 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + double vline right below hline top left: + +---+----+ + +---+ 12 | + +---++---+ + |21 ||22 | + +---++---+ + |31 | 32 | + +---+----+ + double vline left below hline at the top: + +---+----+----+ + |11 +----+ 13 | + +---++---+----+ + |21 ||22 | 23 | + +---++---+----+ + |31 | 32 | 33 | + +---+----+----+ + double vline right below hline at the top: + +---+----+----+ + |11 +----+ 13 | + +---+----++---+ + |21 | 22 ||23 | + +---+----++---+ + |31 | 32 | 33 | + +---+----+----+ + double vline below hline at the top: + +---+----+----+----+ + |11 +----+----+ 14 | + +---+----++---+----+ + |21 | 22 ||23 | 24 | + +---+----++---+----+ + |31 | 32 | 33 | 34 | + +---+----+----+----+ + double vline left below hline top right: + +---+----+ + |11 +----+ + +---++---+ + |21 ||22 | + +---++---+ + |31 | 32 | + +---+----+ + double vline right below hline top right: + +---+----+ + |11 +----+ + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + double vline left below hline in front: + +---+----+ + |11 | 12 | + +---+----+ + +---+ 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 | 42 | + +---+----+ + double vline left above hline in front: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + +---+ 42 | + +---+----+ + |51 | 52 | + +---+----+ + double vline right below hline in front: + +---+----+ + |11 | 12 | + +---+----+ + +---+ 22 | + +---++---+ + |31 ||32 | + +---++---+ + |41 | 42 | + +---+----+ + double vline right above hline in front: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---++---+ + |31 ||32 | + +---++---+ + +---+|42 | + +---+----+ + |51 | 52 | + +---+----+ + double vline left below hline in the middle: + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 +----+ 23 | + +---++---+----+ + |31 ||32 | 33 | + +---++---+----+ + |41 | 42 | 43 | + +---+----+----+ + double vline left above hline in the middle: + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---++---+----+ + |31 ||32 | 33 | + +---++---+----+ + |41 ++---+ 43 | + +---+----+----+ + |51 | 52 | 53 | + +---+----+----+ + double vline right below hline in the middle: + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 +----+ 23 | + +---+----++---+ + |31 | 32 ||33 | + +---+----++---+ + |41 | 42 | 43 | + +---+----+----+ + double vline right above hline in the middle: + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----++---+ + |31 | 32 ||33 | + +---+----++---+ + |41 +----+|43 | + +---+----+----+ + |51 | 52 | 53 | + +---+----+----+ + double vline below hline in the middle: + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 +----+----+ 24 | + +---+----++---+----+ + |31 | 32 ||33 | 34 | + +---+----++---+----+ + |41 | 42 | 43 | 44 | + +---+----+----+----+ + double vline above hline in the middle: + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 | 22 | 23 | 24 | + +---+----++---+----+ + |31 | 32 ||33 | 34 | + +---+----++---+----+ + |41 +----++---+ 44 | + +---+----+----+----+ + |51 | 52 | 53 | 54 | + +---+----+----+----+ + double vline left below hline at the end: + +---+----+ + |11 | 12 | + +---+----+ + |21 +----+ + +---++---+ + |31 ||32 | + +---++---+ + |41 | 42 | + +---+----+ + double vline left above hline at the end: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---++---+ + |31 ||32 | + +---++---+ + |41 ++---+ + +---+----+ + |51 | 52 | + +---+----+ + double vline right below hline at the end: + +---+----+ + |11 | 12 | + +---+----+ + |21 +----+ + +---+----+ + |31 | 32 | + +---+----+ + |41 | 42 | + +---+----+ + double vline right above hline at the end: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 +----+ + +---+----+ + |51 | 52 | + +---+----+ + double vline left above hline bottom left: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + +---+ 42 | + +---+----+ + double vline right above hline bottom left: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---++---+ + |31 ||32 | + +---++---+ + +---+|42 | + +---+----+ + double vline left above hline at the bottom: + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---++---+----+ + |31 ||32 | 33 | + +---++---+----+ + |41 ++---+ 43 | + +---+----+----+ + double vline right above hline at the bottom: + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----++---+ + |31 | 32 ||33 | + +---+----++---+ + |41 +----+|43 | + +---+----+----+ + double vline above hline at the bottom: + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 | 22 | 23 | 24 | + +---+----++---+----+ + |31 | 32 ||33 | 34 | + +---+----++---+----+ + |41 +----++---+ 44 | + +---+----+----+----+ + double vline left above hline bottom right: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---++---+ + |31 ||32 | + +---++---+ + |41 ++---+ + +---+----+ + double vline right above hline bottom right: + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 +----+ + +---+----+ + +DDOOUUBBLLEEBBOOXX + vline top left: + +--------+ + +--------+ + |11 12 | + |21 22 | + +--------+ + +--------+ + hline and vline top left: + +--------+ + +---+----+ + +---+ 12 | + |21 22 | + +--------+ + +--------+ + vline and hline top left: + +--------+ + +--------+ + +---- 12 | + |21 22 | + +--------+ + +--------+ + vline top: + +--------+ + +---+----+ + |11 | 12 | + |21 22 | + +--------+ + +--------+ + vline and hline top: + +-------------+ + +---+---------+ + |11 +----- 13 | + |21 22 23 | + +-------------+ + +-------------+ + hline and vline top: + +-------------+ + +--------+----+ + |11 -----+ 13 | + |21 22 23 | + +-------------+ + +-------------+ + hline, vline, hline top: + +------------------+ + +--------+---------+ + |11 -----+----- 13 | + |21 22 23 24 | + +------------------+ + +------------------+ + vline top right: + +--------+ + +--------+ + |11 12 | + |21 22 | + +--------+ + +--------+ + vline and hline top right: + +--------+ + +---+----+ + |11 +----+ + |21 22 | + +--------+ + +--------+ + hline and vline top right: + +--------+ + +--------+ + |11 -----+ + |21 22 | + +--------+ + +--------+ + double vline top left: + +--------+ + +--------+ + |11 12 | + |21 22 | + +--------+ + +--------+ + hline and double vline top left: + +--------+ + +---++---+ + +---+|12 | + |21 22 | + +--------+ + +--------+ + double vline and hline top left: + +--------+ + +--------+ + +---- 12 | + |21 22 | + +--------+ + +--------+ + double vline top: + +--------+ + +---++---+ + |11 ||12 | + |21 22 | + +--------+ + +--------+ + double vline and hline top: + +-------------+ + +---++--------+ + |11 ++---- 13 | + |21 22 23 | + +-------------+ + +-------------+ + hline and double vline top: + +-------------+ + +--------++---+ + |11 -----+|13 | + |21 22 23 | + +-------------+ + +-------------+ + hline, double vline, hline top: + +------------------+ + +--------++--------+ + |11 -----++---- 13 | + |21 22 23 24 | + +------------------+ + +------------------+ + double vline top right: + +--------+ + +--------+ + |11 12 | + |21 22 | + +--------+ + +--------+ + double vline and hline top right: + +--------+ + +---++---+ + |11 ++---+ + |21 22 | + +--------+ + +--------+ + hline and double vline top right: + +--------+ + +--------+ + |11 -----+ + |21 22 | + +--------+ + +--------+ + hline top left: + +--------+ + +--------+ + +---- 12 | + |21 22 | + +--------+ + +--------+ + hline top: + +-------------+ + +-------------+ + |11 ------ 13 | + |21 22 23 | + +-------------+ + +-------------+ + double hline top: + +------------------+ + +------------------+ + |11 ----------- 13 | + |21 22 23 24 | + +------------------+ + +------------------+ + hline top right: + +--------+ + +--------+ + |11 -----+ + |21 22 | + +--------+ + +--------+ + hline in front: + +--------+ + +--------+ + |11 12 | + +---- 22 | + |31 32 | + +--------+ + +--------+ + vline in front: + +--------+ + +--------+ + |11 12 | + |21 22 | + |31 32 | + |41 42 | + +--------+ + +--------+ + hline and vline in front: + +--------+ + +--------+ + |11 12 | + |21 | 22 | + +---+ 32 | + |41 42 | + +--------+ + +--------+ + vline and hline in front: + +--------+ + +--------+ + |11 12 | + |21 22 | + +---- 32 | + |41 42 | + +--------+ + +--------+ + hline in the middle: + +-------------+ + +-------------+ + |11 12 13 | + |21 ------ 23 | + |31 32 33 | + +-------------+ + +-------------+ + vline in the middle: + +-------------+ + +-------------+ + |11 12 13 | + |21 | 22 23 | + |31 | 32 33 | + |41 42 43 | + +-------------+ + +-------------+ + vline and hline in the middle: + +-------------+ + +-------------+ + |11 12 13 | + |21 | 22 23 | + |31 +----- 33 | + |41 42 43 | + +-------------+ + +-------------+ + hline and vline in the middle: + +-------------+ + +-------------+ + |11 12 13 | + |21 22 | 23 | + |31 -----+ 33 | + |41 42 43 | + +-------------+ + +-------------+ + double hline in the middle: + +------------------+ + +------------------+ + |11 12 13 14 | + |21 ----------- 24 | + |31 32 33 34 | + +------------------+ + +------------------+ + hline, vline, hline in the middle: + +------------------+ + +------------------+ + |11 12 13 14 | + |21 22 | 23 24 | + |31 -----+----- 34 | + |41 42 43 44 | + +------------------+ + +------------------+ + hline at the end: + +--------+ + +--------+ + |11 12 | + |21 -----+ + |31 32 | + +--------+ + +--------+ + vline at the end: + +--------+ + +--------+ + |11 12 | + |21 22 | + |31 32 | + |41 42 | + +--------+ + +--------+ + vline and hline at the end: + +--------+ + +--------+ + |11 12 | + |21 | 22 | + |31 +----+ + |41 42 | + +--------+ + +--------+ + hline and vline at the end: + +--------+ + +--------+ + |11 12 | + |21 22 | + |31 -----+ + |41 42 | + +--------+ + +--------+ + hline bottom left: + +--------+ + +--------+ + |11 12 | + +---- 22 | + +--------+ + +--------+ + vline bottom left: + +--------+ + +--------+ + |11 12 | + |21 22 | + |31 32 | + +--------+ + +--------+ + hline and vline bottom left: + +--------+ + +--------+ + |11 12 | + |21 | 22 | + +---+ 32 | + +---+----+ + +--------+ + vline and hline bottom left: + +--------+ + +--------+ + |11 12 | + |21 22 | + +---- 32 | + +--------+ + +--------+ + double hline bottom: + +------------------+ + +------------------+ + |11 12 13 14 | + |21 ----------- 24 | + +------------------+ + +------------------+ + hline, vline, hline bottom: + +------------------+ + +------------------+ + |11 12 13 14 | + |21 22 | 23 24 | + |31 -----+----- 34 | + +--------+---------+ + +------------------+ + hline bottom right: + +--------+ + +--------+ + |11 12 | + |21 -----+ + +--------+ + +--------+ + vline bottom right: + +--------+ + +--------+ + |11 12 | + |21 22 | + |31 32 | + +--------+ + +--------+ + vline and hline bottom right: + +--------+ + +--------+ + |11 12 | + |21 | 22 | + |31 +----+ + +---+----+ + +--------+ + hline and vline bottom right: + +--------+ + +--------+ + |11 12 | + |21 22 | + |31 -----+ + +--------+ + +--------+ + double vline in front: + +--------+ + +--------+ + |11 12 | + |21 22 | + |31 32 | + |41 42 | + +--------+ + +--------+ + hline and double vline in front: + +--------+ + +--------+ + |11 12 | + |21 ||22 | + +---+|32 | + |41 42 | + +--------+ + +--------+ + double vline and hline in front: + +--------+ + +--------+ + |11 12 | + |21 22 | + +---- 32 | + |41 42 | + +--------+ + +--------+ + double vline in the middle: + +-------------+ + +-------------+ + |11 12 13 | + |21 ||22 23 | + |31 ||32 33 | + |41 42 43 | + +-------------+ + +-------------+ + double vline and hline in the middle: + +-------------+ + +-------------+ + |11 12 13 | + |21 ||22 23 | + |31 ++---- 33 | + |41 42 43 | + +-------------+ + +-------------+ + hline and doble vline in the middle: + +-------------+ + +-------------+ + |11 12 13 | + |21 22 ||23 | + |31 -----+|33 | + |41 42 43 | + +-------------+ + +-------------+ + hline, double vline, hline in the middle: + +------------------+ + +------------------+ + |11 12 13 14 | + |21 22 ||23 24 | + |31 -----++---- 34 | + |41 42 43 44 | + +------------------+ + +------------------+ + double vline at the end: + +--------+ + +--------+ + |11 12 | + |21 22 | + |31 32 | + |41 42 | + +--------+ + +--------+ + double vline and hline at the end: + +--------+ + +--------+ + |11 12 | + |21 ||22 | + |31 ++---+ + |41 42 | + +--------+ + +--------+ + hline and double vline at the end: + +--------+ + +--------+ + |11 12 | + |21 22 | + |31 -----+ + |41 42 | + +--------+ + +--------+ + double vline bottom left: + +--------+ + +--------+ + |11 12 | + |21 22 | + |31 32 | + +--------+ + +--------+ + hline and double vline bottom left: + +--------+ + +--------+ + |11 12 | + |21 ||22 | + +---+|32 | + +---++---+ + +--------+ + double vline and hline bottom left: + +--------+ + +--------+ + |11 12 | + |21 22 | + +---- 32 | + +--------+ + +--------+ + hline, double vline, hline bottom: + +------------------+ + +------------------+ + |11 12 13 14 | + |21 22 ||23 24 | + |31 -----++---- 34 | + +--------++--------+ + +------------------+ + double vline bottom right: + +--------+ + +--------+ + |11 12 | + |21 22 | + |31 32 | + +--------+ + +--------+ + double vline and hline bottom right: + +--------+ + +--------+ + |11 12 | + |21 ||22 | + |31 ++---+ + +---++---+ + +--------+ + hline and double vline bottom right: + +--------+ + +--------+ + |11 12 | + |21 22 | + |31 -----+ + +--------+ + +--------+ + vline left below hline top left: + +--------+ + +--------+ + +---- 12 | + |21 22 | + |31 32 | + +--------+ + +--------+ + vline right below hline top left: + +--------+ + +--------+ + +---+ 12 | + |21 | 22 | + |31 32 | + +--------+ + +--------+ + vline left below hline at the top: + +-------------+ + +-------------+ + |11 +----- 13 | + |21 | 22 23 | + |31 32 33 | + +-------------+ + +-------------+ + vline right below hline at the top: + +-------------+ + +-------------+ + |11 -----+ 13 | + |21 22 | 23 | + |31 32 33 | + +-------------+ + +-------------+ + vline below hline at the top: + +------------------+ + +------------------+ + |11 -----+----- 14 | + |21 22 | 23 24 | + |31 32 33 34 | + +------------------+ + +------------------+ + vline left below hline top right: + +--------+ + +--------+ + |11 +----+ + |21 | 22 | + |31 32 | + +--------+ + +--------+ + vline right below hline top right: + +--------+ + +--------+ + |11 -----+ + |21 22 | + |31 32 | + +--------+ + +--------+ + vline left below hline in front: + +--------+ + +--------+ + |11 12 | + +---- 22 | + |31 32 | + |41 42 | + +--------+ + +--------+ + vline left above hline in front: + +--------+ + +--------+ + |11 12 | + |21 22 | + |31 32 | + +---- 42 | + |51 52 | + +--------+ + +--------+ + vline right below hline in front: + +--------+ + +--------+ + |11 12 | + +---+ 22 | + |31 | 32 | + |41 42 | + +--------+ + +--------+ + vline right above hline in front: + +--------+ + +--------+ + |11 12 | + |21 | 22 | + |31 | 32 | + +---+ 42 | + |51 52 | + +--------+ + +--------+ + vline left below hline in the middle: + +-------------+ + +-------------+ + |11 12 13 | + |21 +----- 23 | + |31 | 32 33 | + |41 42 43 | + +-------------+ + +-------------+ + vline left above hline in the middle: + +-------------+ + +-------------+ + |11 12 13 | + |21 | 22 23 | + |31 | 32 33 | + |41 +----- 43 | + |51 52 53 | + +-------------+ + +-------------+ + vline right below hline in the middle: + +-------------+ + +-------------+ + |11 12 13 | + |21 -----+ 23 | + |31 32 | 33 | + |41 42 43 | + +-------------+ + +-------------+ + vline right above hline in the middle: + +-------------+ + +-------------+ + |11 12 13 | + |21 22 | 23 | + |31 32 | 33 | + |41 -----+ 43 | + |51 52 53 | + +-------------+ + +-------------+ + vline below hline in the middle: + +------------------+ + +------------------+ + |11 12 13 14 | + |21 -----+----- 24 | + |31 32 | 33 34 | + |41 42 43 44 | + +------------------+ + +------------------+ + vline above hline in the middle: + +------------------+ + +------------------+ + |11 12 13 14 | + |21 22 | 23 24 | + |31 32 | 33 34 | + |41 -----+----- 44 | + |51 52 53 54 | + +------------------+ + +------------------+ + vline left below hline at the end: + +--------+ + +--------+ + |11 12 | + |21 +----+ + |31 | 32 | + |41 42 | + +--------+ + +--------+ + vline left above hline at the end: + +--------+ + +--------+ + |11 12 | + |21 | 22 | + |31 | 32 | + |41 +----+ + |51 52 | + +--------+ + +--------+ + vline right below hline at the end: + +--------+ + +--------+ + |11 12 | + |21 -----+ + |31 32 | + |41 42 | + +--------+ + +--------+ + vline right above hline at the end: + +--------+ + +--------+ + |11 12 | + |21 22 | + |31 32 | + |41 -----+ + |51 52 | + +--------+ + +--------+ + vline left above hline bottom left: + +--------+ + +--------+ + |11 12 | + |21 22 | + |31 32 | + +---- 42 | + +--------+ + +--------+ + vline right above hline bottom left: + +--------+ + +--------+ + |11 12 | + |21 | 22 | + |31 | 32 | + +---+ 42 | + +--------+ + +--------+ + vline left above hline at the bottom: + +-------------+ + +-------------+ + |11 12 13 | + |21 | 22 23 | + |31 | 32 33 | + |41 +----- 43 | + +-------------+ + +-------------+ + vline right above hline at the bottom: + +-------------+ + +-------------+ + |11 12 13 | + |21 22 | 23 | + |31 32 | 33 | + |41 -----+ 43 | + +-------------+ + +-------------+ + vline above hline at the bottom: + +------------------+ + +------------------+ + |11 12 13 14 | + |21 22 | 23 24 | + |31 32 | 33 34 | + |41 -----+----- 44 | + +------------------+ + +------------------+ + vline left above hline bottom right: + +--------+ + +--------+ + |11 12 | + |21 | 22 | + |31 | 32 | + |41 +----+ + +--------+ + +--------+ + vline right above hline bottom right: + +--------+ + +--------+ + |11 12 | + |21 22 | + |31 32 | + |41 -----+ + +--------+ + +--------+ + double vline left below hline top left: + +--------+ + +--------+ + +---- 12 | + |21 22 | + |31 32 | + +--------+ + +--------+ + double vline right below hline top left: + +--------+ + +--------+ + +---+|12 | + |21 ||22 | + |31 32 | + +--------+ + +--------+ + double vline left below hline at the top: + +-------------+ + +-------------+ + |11 ++---- 13 | + |21 ||22 23 | + |31 32 33 | + +-------------+ + +-------------+ + double vline right below hline at the top: + +-------------+ + +-------------+ + |11 -----+|13 | + |21 22 ||23 | + |31 32 33 | + +-------------+ + +-------------+ + double vline below hline at the top: + +------------------+ + +------------------+ + |11 -----++---- 14 | + |21 22 ||23 24 | + |31 32 33 34 | + +------------------+ + +------------------+ + double vline left below hline top right: + +--------+ + +--------+ + |11 ++---+ + |21 ||22 | + |31 32 | + +--------+ + +--------+ + double vline right below hline top right: + +--------+ + +--------+ + |11 -----+ + |21 22 | + |31 32 | + +--------+ + +--------+ + double vline left below hline in front: + +--------+ + +--------+ + |11 12 | + +---- 22 | + |31 32 | + |41 42 | + +--------+ + +--------+ + double vline left above hline in front: + +--------+ + +--------+ + |11 12 | + |21 22 | + |31 32 | + +---- 42 | + |51 52 | + +--------+ + +--------+ + double vline right below hline in front: + +--------+ + +--------+ + |11 12 | + +---+|22 | + |31 ||32 | + |41 42 | + +--------+ + +--------+ + double vline right above hline in front: + +--------+ + +--------+ + |11 12 | + |21 ||22 | + |31 ||32 | + +---+|42 | + |51 52 | + +--------+ + +--------+ + double vline left below hline in the middle: + +-------------+ + +-------------+ + |11 12 13 | + |21 ++---- 23 | + |31 ||32 33 | + |41 42 43 | + +-------------+ + +-------------+ + double vline left above hline in the middle: + +-------------+ + +-------------+ + |11 12 13 | + |21 ||22 23 | + |31 ||32 33 | + |41 ++---- 43 | + |51 52 53 | + +-------------+ + +-------------+ + double vline right below hline in the middle: + +-------------+ + +-------------+ + |11 12 13 | + |21 -----+|23 | + |31 32 ||33 | + |41 42 43 | + +-------------+ + +-------------+ + double vline right above hline in the middle: + +-------------+ + +-------------+ + |11 12 13 | + |21 22 ||23 | + |31 32 ||33 | + |41 -----+|43 | + |51 52 53 | + +-------------+ + +-------------+ + double vline below hline in the middle: + +------------------+ + +------------------+ + |11 12 13 14 | + |21 -----++---- 24 | + |31 32 ||33 34 | + |41 42 43 44 | + +------------------+ + +------------------+ + double vline above hline in the middle: + +------------------+ + +------------------+ + |11 12 13 14 | + |21 22 ||23 24 | + |31 32 ||33 34 | + |41 -----++---- 44 | + |51 52 53 54 | + +------------------+ + +------------------+ + double vline left below hline at the end: + +--------+ + +--------+ + |11 12 | + |21 ++---+ + |31 ||32 | + |41 42 | + +--------+ + +--------+ + double vline left above hline at the end: + +--------+ + +--------+ + |11 12 | + |21 ||22 | + |31 ||32 | + |41 ++---+ + |51 52 | + +--------+ + +--------+ + double vline right below hline at the end: + +--------+ + +--------+ + |11 12 | + |21 -----+ + |31 32 | + |41 42 | + +--------+ + +--------+ + double vline right above hline at the end: + +--------+ + +--------+ + |11 12 | + |21 22 | + |31 32 | + |41 -----+ + |51 52 | + +--------+ + +--------+ + double vline left above hline bottom left: + +--------+ + +--------+ + |11 12 | + |21 22 | + |31 32 | + +---- 42 | + +--------+ + +--------+ + double vline right above hline bottom left: + +--------+ + +--------+ + |11 12 | + |21 ||22 | + |31 ||32 | + +---+|42 | + +--------+ + +--------+ + double vline left above hline at the bottom: + +-------------+ + +-------------+ + |11 12 13 | + |21 ||22 23 | + |31 ||32 33 | + |41 ++---- 43 | + +-------------+ + +-------------+ + double vline right above hline at the bottom: + +-------------+ + +-------------+ + |11 12 13 | + |21 22 ||23 | + |31 32 ||33 | + |41 -----+|43 | + +-------------+ + +-------------+ + double vline above hline at the bottom: + +------------------+ + +------------------+ + |11 12 13 14 | + |21 22 ||23 24 | + |31 32 ||33 34 | + |41 -----++---- 44 | + +------------------+ + +------------------+ + double vline left above hline bottom right: + +--------+ + +--------+ + |11 12 | + |21 ||22 | + |31 ||32 | + |41 ++---+ + +--------+ + +--------+ + double vline right above hline bottom right: + +--------+ + +--------+ + |11 12 | + |21 22 | + |31 32 | + |41 -----+ + +--------+ + +--------+ + +DDOOUUBBLLEEBBOOXX AALLLLBBOOXX + vline top left: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + +--------+ + hline and vline top left: + +--------+ + +---+----+ + +---+ 12 | + +---+----+ + |21 | 22 | + +---+----+ + +--------+ + vline and hline top left: + +--------+ + +---+----+ + +---+ 12 | + +---+----+ + |21 | 22 | + +---+----+ + +--------+ + vline top: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + +--------+ + vline and hline top: + +-------------+ + +---+----+----+ + |11 +----+ 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + +-------------+ + hline and vline top: + +-------------+ + +---+----+----+ + |11 +----+ 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + +-------------+ + hline, vline, hline top: + +------------------+ + +---+----+----+----+ + |11 +----+----+ 13 | + +---+----+----+----+ + |21 | 22 | 23 | 24 | + +---+----+----+----+ + +------------------+ + vline top right: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + +--------+ + vline and hline top right: + +--------+ + +---+----+ + |11 +----+ + +---+----+ + |21 | 22 | + +---+----+ + +--------+ + hline and vline top right: + +--------+ + +---+----+ + |11 +----+ + +---+----+ + |21 | 22 | + +---+----+ + +--------+ + double vline top left: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + +--------+ + hline and double vline top left: + +--------+ + +---++---+ + +---+|12 | + +---++---+ + |21 | 22 | + +---+----+ + +--------+ + double vline and hline top left: + +--------+ + +---+----+ + +---+ 12 | + +---+----+ + |21 | 22 | + +---+----+ + +--------+ + double vline top: + +--------+ + +---++---+ + |11 ||12 | + +---++---+ + |21 | 22 | + +---+----+ + +--------+ + double vline and hline top: + +-------------+ + +---++---+----+ + |11 ++---+ 13 | + +---++---+----+ + |21 | 22 | 23 | + +---+----+----+ + +-------------+ + hline and double vline top: + +-------------+ + +---+----++---+ + |11 +----+|13 | + +---+----++---+ + |21 | 22 | 23 | + +---+----+----+ + +-------------+ + hline, double vline, hline top: + +------------------+ + +---+----++---+----+ + |11 +----++---+ 13 | + +---+----++---+----+ + |21 | 22 | 23 | 24 | + +---+----+----+----+ + +------------------+ + double vline top right: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + +--------+ + double vline and hline top right: + +--------+ + +---++---+ + |11 ++---+ + +---++---+ + |21 | 22 | + +---+----+ + +--------+ + hline and double vline top right: + +--------+ + +---+----+ + |11 +----+ + +---+----+ + |21 | 22 | + +---+----+ + +--------+ + hline top left: + +--------+ + +---+----+ + +---+ 12 | + +---+----+ + |21 | 22 | + +---+----+ + +--------+ + hline top: + +-------------+ + +---+----+----+ + |11 +----+ 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + +-------------+ + double hline top: + +------------------+ + +---+----+----+----+ + |11 +----+----+ 13 | + +---+----+----+----+ + |21 | 22 | 23 | 24 | + +---+----+----+----+ + +------------------+ + hline top right: + +--------+ + +---+----+ + |11 +----+ + +---+----+ + |21 | 22 | + +---+----+ + +--------+ + hline in front: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + +---+ 22 | + +---+----+ + |31 | 32 | + +---+----+ + +--------+ + vline in front: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 | 42 | + +---+----+ + +--------+ + hline and vline in front: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + +---+ 32 | + +---+----+ + |41 | 42 | + +---+----+ + +--------+ + vline and hline in front: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + +---+ 32 | + +---+----+ + |41 | 42 | + +---+----+ + +--------+ + hline in the middle: + +-------------+ + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 +----+ 23 | + +---+----+----+ + |31 | 32 | 33 | + +---+----+----+ + +-------------+ + vline in the middle: + +-------------+ + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + |31 | 32 | 33 | + +---+----+----+ + |41 | 42 | 43 | + +---+----+----+ + +-------------+ + vline and hline in the middle: + +-------------+ + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + |31 +----+ 33 | + +---+----+----+ + |41 | 42 | 43 | + +---+----+----+ + +-------------+ + hline and vline in the middle: + +-------------+ + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + |31 +----+ 33 | + +---+----+----+ + |41 | 42 | 43 | + +---+----+----+ + +-------------+ + double hline in the middle: + +------------------+ + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 +----+----+ 24 | + +---+----+----+----+ + |31 | 32 | 33 | 34 | + +---+----+----+----+ + +------------------+ + hline, vline, hline in the middle: + +------------------+ + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 | 22 | 23 | 24 | + +---+----+----+----+ + |31 +----+----+ 34 | + +---+----+----+----+ + |41 | 42 | 43 | 44 | + +---+----+----+----+ + +------------------+ + hline at the end: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 +----+ + +---+----+ + |31 | 32 | + +---+----+ + +--------+ + vline at the end: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 | 42 | + +---+----+ + +--------+ + vline and hline at the end: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 +----+ + +---+----+ + |41 | 42 | + +---+----+ + +--------+ + hline and vline at the end: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 +----+ + +---+----+ + |41 | 42 | + +---+----+ + +--------+ + hline bottom left: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + +---+ 22 | + +---+----+ + +--------+ + vline bottom left: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + +--------+ + hline and vline bottom left: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + +---+ 32 | + +---+----+ + +--------+ + vline and hline bottom left: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + +---+ 32 | + +---+----+ + +--------+ + double hline bottom: + +------------------+ + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 +----+----+ 24 | + +---+----+----+----+ + +------------------+ + hline, vline, hline bottom: + +------------------+ + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 | 22 | 23 | 24 | + +---+----+----+----+ + |31 +----+----+ 34 | + +---+----+----+----+ + +------------------+ + hline bottom right: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 +----+ + +---+----+ + +--------+ + vline bottom right: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + +--------+ + vline and hline bottom right: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 +----+ + +---+----+ + +--------+ + hline and vline bottom right: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 +----+ + +---+----+ + +--------+ + double vline in front: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 | 42 | + +---+----+ + +--------+ + hline and double vline in front: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---++---+ + +---+|32 | + +---++---+ + |41 | 42 | + +---+----+ + +--------+ + double vline and hline in front: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + +---+ 32 | + +---+----+ + |41 | 42 | + +---+----+ + +--------+ + double vline in the middle: + +-------------+ + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---++---+----+ + |31 ||32 | 33 | + +---++---+----+ + |41 | 42 | 43 | + +---+----+----+ + +-------------+ + double vline and hline in the middle: + +-------------+ + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---++---+----+ + |31 ++---+ 33 | + +---++---+----+ + |41 | 42 | 43 | + +---+----+----+ + +-------------+ + hline and doble vline in the middle: + +-------------+ + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----++---+ + |31 +----+|33 | + +---+----++---+ + |41 | 42 | 43 | + +---+----+----+ + +-------------+ + hline, double vline, hline in the middle: + +------------------+ + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 | 22 | 23 | 24 | + +---+----++---+----+ + |31 +----++---+ 34 | + +---+----++---+----+ + |41 | 42 | 43 | 44 | + +---+----+----+----+ + +------------------+ + double vline at the end: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 | 42 | + +---+----+ + +--------+ + double vline and hline at the end: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---++---+ + |31 ++---+ + +---++---+ + |41 | 42 | + +---+----+ + +--------+ + hline and double vline at the end: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 +----+ + +---+----+ + |41 | 42 | + +---+----+ + +--------+ + double vline bottom left: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + +--------+ + hline and double vline bottom left: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---++---+ + +---+|32 | + +---++---+ + +--------+ + double vline and hline bottom left: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + +---+ 32 | + +---+----+ + +--------+ + hline, double vline, hline bottom: + +------------------+ + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 | 22 | 23 | 24 | + +---+----++---+----+ + |31 +----++---+ 34 | + +---+----++---+----+ + +------------------+ + double vline bottom right: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + +--------+ + double vline and hline bottom right: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---++---+ + |31 ++---+ + +---++---+ + +--------+ + hline and double vline bottom right: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 +----+ + +---+----+ + +--------+ + vline left below hline top left: + +--------+ + +---+----+ + +---+ 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + +--------+ + vline right below hline top left: + +--------+ + +---+----+ + +---+ 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + +--------+ + vline left below hline at the top: + +-------------+ + +---+----+----+ + |11 +----+ 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + |31 | 32 | 33 | + +---+----+----+ + +-------------+ + vline right below hline at the top: + +-------------+ + +---+----+----+ + |11 +----+ 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + |31 | 32 | 33 | + +---+----+----+ + +-------------+ + vline below hline at the top: + +------------------+ + +---+----+----+----+ + |11 +----+----+ 14 | + +---+----+----+----+ + |21 | 22 | 23 | 24 | + +---+----+----+----+ + |31 | 32 | 33 | 34 | + +---+----+----+----+ + +------------------+ + vline left below hline top right: + +--------+ + +---+----+ + |11 +----+ + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + +--------+ + vline right below hline top right: + +--------+ + +---+----+ + |11 +----+ + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + +--------+ + vline left below hline in front: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + +---+ 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 | 42 | + +---+----+ + +--------+ + vline left above hline in front: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + +---+ 42 | + +---+----+ + |51 | 52 | + +---+----+ + +--------+ + vline right below hline in front: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + +---+ 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 | 42 | + +---+----+ + +--------+ + vline right above hline in front: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + +---+ 42 | + +---+----+ + |51 | 52 | + +---+----+ + +--------+ + vline left below hline in the middle: + +-------------+ + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 +----+ 23 | + +---+----+----+ + |31 | 32 | 33 | + +---+----+----+ + |41 | 42 | 43 | + +---+----+----+ + +-------------+ + vline left above hline in the middle: + +-------------+ + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + |31 | 32 | 33 | + +---+----+----+ + |41 +----+ 43 | + +---+----+----+ + |51 | 52 | 53 | + +---+----+----+ + +-------------+ + vline right below hline in the middle: + +-------------+ + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 +----+ 23 | + +---+----+----+ + |31 | 32 | 33 | + +---+----+----+ + |41 | 42 | 43 | + +---+----+----+ + +-------------+ + vline right above hline in the middle: + +-------------+ + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + |31 | 32 | 33 | + +---+----+----+ + |41 +----+ 43 | + +---+----+----+ + |51 | 52 | 53 | + +---+----+----+ + +-------------+ + vline below hline in the middle: + +------------------+ + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 +----+----+ 24 | + +---+----+----+----+ + |31 | 32 | 33 | 34 | + +---+----+----+----+ + |41 | 42 | 43 | 44 | + +---+----+----+----+ + +------------------+ + vline above hline in the middle: + +------------------+ + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 | 22 | 23 | 24 | + +---+----+----+----+ + |31 | 32 | 33 | 34 | + +---+----+----+----+ + |41 +----+----+ 44 | + +---+----+----+----+ + |51 | 52 | 53 | 54 | + +---+----+----+----+ + +------------------+ + vline left below hline at the end: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 +----+ + +---+----+ + |31 | 32 | + +---+----+ + |41 | 42 | + +---+----+ + +--------+ + vline left above hline at the end: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 +----+ + +---+----+ + |51 | 52 | + +---+----+ + +--------+ + vline right below hline at the end: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 +----+ + +---+----+ + |31 | 32 | + +---+----+ + |41 | 42 | + +---+----+ + +--------+ + vline right above hline at the end: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 +----+ + +---+----+ + |51 | 52 | + +---+----+ + +--------+ + vline left above hline bottom left: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + +---+ 42 | + +---+----+ + +--------+ + vline right above hline bottom left: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + +---+ 42 | + +---+----+ + +--------+ + vline left above hline at the bottom: + +-------------+ + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + |31 | 32 | 33 | + +---+----+----+ + |41 +----+ 43 | + +---+----+----+ + +-------------+ + vline right above hline at the bottom: + +-------------+ + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----+----+ + |31 | 32 | 33 | + +---+----+----+ + |41 +----+ 43 | + +---+----+----+ + +-------------+ + vline above hline at the bottom: + +------------------+ + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 | 22 | 23 | 24 | + +---+----+----+----+ + |31 | 32 | 33 | 34 | + +---+----+----+----+ + |41 +----+----+ 44 | + +---+----+----+----+ + +------------------+ + vline left above hline bottom right: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 +----+ + +---+----+ + +--------+ + vline right above hline bottom right: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 +----+ + +---+----+ + +--------+ + double vline left below hline top left: + +--------+ + +---+----+ + +---+ 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + +--------+ + double vline right below hline top left: + +--------+ + +---+----+ + +---+ 12 | + +---++---+ + |21 ||22 | + +---++---+ + |31 | 32 | + +---+----+ + +--------+ + double vline left below hline at the top: + +-------------+ + +---+----+----+ + |11 +----+ 13 | + +---++---+----+ + |21 ||22 | 23 | + +---++---+----+ + |31 | 32 | 33 | + +---+----+----+ + +-------------+ + double vline right below hline at the top: + +-------------+ + +---+----+----+ + |11 +----+ 13 | + +---+----++---+ + |21 | 22 ||23 | + +---+----++---+ + |31 | 32 | 33 | + +---+----+----+ + +-------------+ + double vline below hline at the top: + +------------------+ + +---+----+----+----+ + |11 +----+----+ 14 | + +---+----++---+----+ + |21 | 22 ||23 | 24 | + +---+----++---+----+ + |31 | 32 | 33 | 34 | + +---+----+----+----+ + +------------------+ + double vline left below hline top right: + +--------+ + +---+----+ + |11 +----+ + +---++---+ + |21 ||22 | + +---++---+ + |31 | 32 | + +---+----+ + +--------+ + double vline right below hline top right: + +--------+ + +---+----+ + |11 +----+ + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + +--------+ + double vline left below hline in front: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + +---+ 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 | 42 | + +---+----+ + +--------+ + double vline left above hline in front: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + +---+ 42 | + +---+----+ + |51 | 52 | + +---+----+ + +--------+ + double vline right below hline in front: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + +---+ 22 | + +---++---+ + |31 ||32 | + +---++---+ + |41 | 42 | + +---+----+ + +--------+ + double vline right above hline in front: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---++---+ + |31 ||32 | + +---++---+ + +---+|42 | + +---+----+ + |51 | 52 | + +---+----+ + +--------+ + double vline left below hline in the middle: + +-------------+ + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 +----+ 23 | + +---++---+----+ + |31 ||32 | 33 | + +---++---+----+ + |41 | 42 | 43 | + +---+----+----+ + +-------------+ + double vline left above hline in the middle: + +-------------+ + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---++---+----+ + |31 ||32 | 33 | + +---++---+----+ + |41 ++---+ 43 | + +---+----+----+ + |51 | 52 | 53 | + +---+----+----+ + +-------------+ + double vline right below hline in the middle: + +-------------+ + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 +----+ 23 | + +---+----++---+ + |31 | 32 ||33 | + +---+----++---+ + |41 | 42 | 43 | + +---+----+----+ + +-------------+ + double vline right above hline in the middle: + +-------------+ + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----++---+ + |31 | 32 ||33 | + +---+----++---+ + |41 +----+|43 | + +---+----+----+ + |51 | 52 | 53 | + +---+----+----+ + +-------------+ + double vline below hline in the middle: + +------------------+ + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 +----+----+ 24 | + +---+----++---+----+ + |31 | 32 ||33 | 34 | + +---+----++---+----+ + |41 | 42 | 43 | 44 | + +---+----+----+----+ + +------------------+ + double vline above hline in the middle: + +------------------+ + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 | 22 | 23 | 24 | + +---+----++---+----+ + |31 | 32 ||33 | 34 | + +---+----++---+----+ + |41 +----++---+ 44 | + +---+----+----+----+ + |51 | 52 | 53 | 54 | + +---+----+----+----+ + +------------------+ + double vline left below hline at the end: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 +----+ + +---++---+ + |31 ||32 | + +---++---+ + |41 | 42 | + +---+----+ + +--------+ + double vline left above hline at the end: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---++---+ + |31 ||32 | + +---++---+ + |41 ++---+ + +---+----+ + |51 | 52 | + +---+----+ + +--------+ + double vline right below hline at the end: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 +----+ + +---+----+ + |31 | 32 | + +---+----+ + |41 | 42 | + +---+----+ + +--------+ + double vline right above hline at the end: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 +----+ + +---+----+ + |51 | 52 | + +---+----+ + +--------+ + double vline left above hline bottom left: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + +---+ 42 | + +---+----+ + +--------+ + double vline right above hline bottom left: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---++---+ + |31 ||32 | + +---++---+ + +---+|42 | + +---+----+ + +--------+ + double vline left above hline at the bottom: + +-------------+ + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---++---+----+ + |31 ||32 | 33 | + +---++---+----+ + |41 ++---+ 43 | + +---+----+----+ + +-------------+ + double vline right above hline at the bottom: + +-------------+ + +---+----+----+ + |11 | 12 | 13 | + +---+----+----+ + |21 | 22 | 23 | + +---+----++---+ + |31 | 32 ||33 | + +---+----++---+ + |41 +----+|43 | + +---+----+----+ + +-------------+ + double vline above hline at the bottom: + +------------------+ + +---+----+----+----+ + |11 | 12 | 13 | 14 | + +---+----+----+----+ + |21 | 22 | 23 | 24 | + +---+----++---+----+ + |31 | 32 ||33 | 34 | + +---+----++---+----+ + |41 +----++---+ 44 | + +---+----+----+----+ + +------------------+ + double vline left above hline bottom right: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---++---+ + |31 ||32 | + +---++---+ + |41 ++---+ + +---+----+ + +--------+ + double vline right above hline bottom right: + +--------+ + +---+----+ + |11 | 12 | + +---+----+ + |21 | 22 | + +---+----+ + |31 | 32 | + +---+----+ + |41 +----+ + +---+----+ + +--------+ + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/tbl/layout/numbers.in b/contrib/mandoc/regress/tbl/layout/numbers.in new file mode 100644 index 00000000000..a8cfbc2dac0 --- /dev/null +++ b/contrib/mandoc/regress/tbl/layout/numbers.in @@ -0,0 +1,13 @@ +.\" $OpenBSD: numbers.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.TH TBL-LAYOUT-NUMBERS 1 "January 29, 2017" +.SH NAME +tbl-layout-numbers \- alignment of numbers in tables +.SH DESCRIPTION +normal text +.TS +box tab(:); +r || n | n . +1:1.00:+42.0 +_ +10:-10.0:3.14 +.TE diff --git a/contrib/mandoc/regress/tbl/layout/numbers.out_ascii b/contrib/mandoc/regress/tbl/layout/numbers.out_ascii new file mode 100644 index 00000000000..b3b8bdfc93a --- /dev/null +++ b/contrib/mandoc/regress/tbl/layout/numbers.out_ascii @@ -0,0 +1,18 @@ +TBL-LAYOUT-NUMBERS(1) General Commands Manual TBL-LAYOUT-NUMBERS(1) + + + +NNAAMMEE + tbl-layout-numbers - alignment of numbers in tables + +DDEESSCCRRIIPPTTIIOONN + normal text + + +---++-------+--------+ + | 1 || 1.00 | +42.0 | + +---++-------+--------+ + |10 ||-10.0 | 3.14 | + +---++-------+--------+ + + +OpenBSD January 29, 2017 TBL-LAYOUT-NUMBERS(1) diff --git a/contrib/mandoc/regress/tbl/layout/span.in b/contrib/mandoc/regress/tbl/layout/span.in new file mode 100644 index 00000000000..84a71f8a115 --- /dev/null +++ b/contrib/mandoc/regress/tbl/layout/span.in @@ -0,0 +1,55 @@ +.\" $OpenBSD: span.in,v 1.5 2017/07/04 14:53:27 schwarze Exp $ +.TH TBL-LAYOUT-SPAN 1 "June 17, 2017" +.SH NAME +tbl-layout-span \- alignment of spanned cells +.SH DESCRIPTION +normal text +.TS +box tab(:); +L L L L +L S L L +L L S L +L L L S. +a:b:c:d +s:c:d +a:s:d +a:b:s +.TE +.sp +.TS +box tab(:); +C C C C +C S C C +C C S C +C C C S. +a:b:c:d +s:c:d +a:s:d +a:b:s +.TE +.sp +.TS +box tab(:); +R R R R +R S R R +R R S R +R R R S. +a:b:c:d +s:c:d +a:s:d +a:b:s +.TE +.sp +.TS +allbox tab(:); +L L L L L +C S S C S +R R R R R. +a:b:c:d:e +s1:s2 +a:b:c:d:e +.TE +.sp +leaked tab settings: +.br +a b c d e f diff --git a/contrib/mandoc/regress/tbl/layout/span.out_ascii b/contrib/mandoc/regress/tbl/layout/span.out_ascii new file mode 100644 index 00000000000..bc4badca4da --- /dev/null +++ b/contrib/mandoc/regress/tbl/layout/span.out_ascii @@ -0,0 +1,44 @@ +TBL-LAYOUT-SPAN(1) General Commands Manual TBL-LAYOUT-SPAN(1) + + + +NNAAMMEE + tbl-layout-span - alignment of spanned cells + +DDEESSCCRRIIPPTTIIOONN + normal text + + +--------------+ + |a b c d | + |s c d | + |a s d | + |a b s | + +--------------+ + + +--------------+ + |a b c d | + | s c d | + |a s d | + |a b s | + +--------------+ + + +--------------+ + |a b c d | + | s c d | + |a s d | + |a b s | + +--------------+ + + +--+---+---+---+---+ + |a | b | c | d | e | + +--+---+---+---+---+ + | s1 | s2 | + +--+---+---+---+---+ + |a | b | c | d | e | + +--+---+---+---+---+ + leaked tab settings: + a b c d e f + + + +OpenBSD June 17, 2017 TBL-LAYOUT-SPAN(1) diff --git a/contrib/mandoc/regress/tbl/macro/Makefile b/contrib/mandoc/regress/tbl/macro/Makefile new file mode 100644 index 00000000000..70ec1b332c1 --- /dev/null +++ b/contrib/mandoc/regress/tbl/macro/Makefile @@ -0,0 +1,12 @@ +# $OpenBSD: Makefile,v 1.2 2016/08/20 14:43:40 schwarze Exp $ + +REGRESS_TARGETS = man nested column +LINT_TARGETS = man nested + +# trivial differences to groff-1.22.3: +# .TS in a table causes a blank table line in GNU tbl(1), but not in mandoc. +# .TS in a column list causes a blank line in mandoc, but not in GNU tbl(1). + +SKIP_GROFF = nested column + +.include diff --git a/contrib/mandoc/regress/tbl/macro/column.in b/contrib/mandoc/regress/tbl/macro/column.in new file mode 100644 index 00000000000..7154b19880d --- /dev/null +++ b/contrib/mandoc/regress/tbl/macro/column.in @@ -0,0 +1,17 @@ +.\" $OpenBSD: column.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.Dd $Mdocdate: July 4 2017 $ +.Dt TBL-COLUMN 1 +.Os +.Sh NAME +.Nm TBL-column +.Nd tables inside column lists +.Sh DESCRIPTION +.Bl -column "a" "b" +.Sy a Ta b +.TS +lll. +1 2 3 +4 5 6 +.TE +.Em c Ta d +.El diff --git a/contrib/mandoc/regress/tbl/macro/column.out_ascii b/contrib/mandoc/regress/tbl/macro/column.out_ascii new file mode 100644 index 00000000000..9bd9f40c42b --- /dev/null +++ b/contrib/mandoc/regress/tbl/macro/column.out_ascii @@ -0,0 +1,13 @@ +TBL-COLUMN(1) General Commands Manual TBL-COLUMN(1) + +NNAAMMEE + TTBBLL--ccoolluummnn - tables inside column lists + +DDEESSCCRRIIPPTTIIOONN + aa b + 1 2 3 + 4 5 6 + + _c d + +OpenBSD July 4, 2017 OpenBSD diff --git a/contrib/mandoc/regress/tbl/macro/man.in b/contrib/mandoc/regress/tbl/macro/man.in new file mode 100644 index 00000000000..0e0e90ce813 --- /dev/null +++ b/contrib/mandoc/regress/tbl/macro/man.in @@ -0,0 +1,17 @@ +.\" $OpenBSD: man.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.TH TBL-MACRO-MAN 1 "December 16, 2014" +.SH NAME +tbl-macro-man \- man macro in a table +.SH DESCRIPTION +normal text +.TS +box tab(:); +l | l . +a:b:stray +_ +c:T{ +.SM d +T} +.TE +.PP +normal text diff --git a/contrib/mandoc/regress/tbl/macro/man.out_ascii b/contrib/mandoc/regress/tbl/macro/man.out_ascii new file mode 100644 index 00000000000..207347a00c1 --- /dev/null +++ b/contrib/mandoc/regress/tbl/macro/man.out_ascii @@ -0,0 +1,20 @@ +TBL-MACRO-MAN(1) General Commands Manual TBL-MACRO-MAN(1) + + + +NNAAMMEE + tbl-macro-man - man macro in a table + +DDEESSCCRRIIPPTTIIOONN + normal text + + +--+---+ + |a | b | + +--+---+ + |c | d | + +--+---+ + normal text + + + +OpenBSD December 16, 2014 TBL-MACRO-MAN(1) diff --git a/contrib/mandoc/regress/tbl/macro/man.out_lint b/contrib/mandoc/regress/tbl/macro/man.out_lint new file mode 100644 index 00000000000..e2a56755ec5 --- /dev/null +++ b/contrib/mandoc/regress/tbl/macro/man.out_lint @@ -0,0 +1,2 @@ +mandoc: man.in:10:5: ERROR: ignoring extra tbl data cells: stray +mandoc: man.in:13:2: UNSUPP: ignoring macro in table: SM d diff --git a/contrib/mandoc/regress/tbl/macro/nested.in b/contrib/mandoc/regress/tbl/macro/nested.in new file mode 100644 index 00000000000..6aa0de158de --- /dev/null +++ b/contrib/mandoc/regress/tbl/macro/nested.in @@ -0,0 +1,17 @@ +.\" $OpenBSD: nested.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.TH TBL-MACRO-NESTED 1 "December 16, 2014" +.SH NAME +tbl-macro-nested \- nested table +.SH DESCRIPTION +normal text +.TS +box tab(:); +l | l . +a:b +_ +c:d +.TS +e:f +.TE +.PP +normal text diff --git a/contrib/mandoc/regress/tbl/macro/nested.out_ascii b/contrib/mandoc/regress/tbl/macro/nested.out_ascii new file mode 100644 index 00000000000..2c5dce77cb3 --- /dev/null +++ b/contrib/mandoc/regress/tbl/macro/nested.out_ascii @@ -0,0 +1,21 @@ +TBL-MACRO-NESTED(1) General Commands Manual TBL-MACRO-NESTED(1) + + + +NNAAMMEE + tbl-macro-nested - nested table + +DDEESSCCRRIIPPTTIIOONN + normal text + + +--+---+ + |a | b | + +--+---+ + |c | d | + |e | f | + +--+---+ + normal text + + + +OpenBSD December 16, 2014 TBL-MACRO-NESTED(1) diff --git a/contrib/mandoc/regress/tbl/macro/nested.out_lint b/contrib/mandoc/regress/tbl/macro/nested.out_lint new file mode 100644 index 00000000000..dd044ba7b63 --- /dev/null +++ b/contrib/mandoc/regress/tbl/macro/nested.out_lint @@ -0,0 +1 @@ +mandoc: nested.in:13:4: UNSUPP: ignoring macro in table: TS diff --git a/contrib/mandoc/regress/tbl/mod/Makefile b/contrib/mandoc/regress/tbl/mod/Makefile new file mode 100644 index 00000000000..96547d645f6 --- /dev/null +++ b/contrib/mandoc/regress/tbl/mod/Makefile @@ -0,0 +1,15 @@ +# $OpenBSD: Makefile,v 1.2 2015/02/10 11:02:19 schwarze Exp $ + +REGRESS_TARGETS = badfont expand expand-toowide font misalign spacing width +LINT_TARGETS = badfont font + +# groff-1.22.3 defects: +# - The "f" font modifier swallows a following newline character. +# - When space is insufficient (on either side) for properly aligning +# a number, GNU tbl(1) moves the number too much to the right, +# overflowing the column, even if space would be sufficient without +# left padding. + +SKIP_GROFF = badfont misalign + +.include diff --git a/contrib/mandoc/regress/tbl/mod/badfont.in b/contrib/mandoc/regress/tbl/mod/badfont.in new file mode 100644 index 00000000000..2a4f0d0a8e7 --- /dev/null +++ b/contrib/mandoc/regress/tbl/mod/badfont.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: badfont.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.TH TBL-MOD-BADFONT 1 "February 10, 2015" +.SH NAME +tbl-mod-badfont \- invalid font modifiers in table layouts +.SH DESCRIPTION +normal text +.TS +box tab(:); +lfB lf +lfI lf. +lfB lfI. +bold:none +italic:none +bold:italic +.TE diff --git a/contrib/mandoc/regress/tbl/mod/badfont.out_ascii b/contrib/mandoc/regress/tbl/mod/badfont.out_ascii new file mode 100644 index 00000000000..b0788c5040a --- /dev/null +++ b/contrib/mandoc/regress/tbl/mod/badfont.out_ascii @@ -0,0 +1,18 @@ +TBL-MOD-BADFONT(1) General Commands Manual TBL-MOD-BADFONT(1) + + + +NNAAMMEE + tbl-mod-badfont - invalid font modifiers in table layouts + +DDEESSCCRRIIPPTTIIOONN + normal text + + +----------------+ + |bboolldd none | + |_i_t_a_l_i_c none | + |bboolldd _i_t_a_l_i_c | + +----------------+ + + +OpenBSD February 10, 2015 TBL-MOD-BADFONT(1) diff --git a/contrib/mandoc/regress/tbl/mod/badfont.out_lint b/contrib/mandoc/regress/tbl/mod/badfont.out_lint new file mode 100644 index 00000000000..c19bae82420 --- /dev/null +++ b/contrib/mandoc/regress/tbl/mod/badfont.out_lint @@ -0,0 +1,2 @@ +mandoc: badfont.in:9:7: WARNING: unknown font, skipping request: TS f +mandoc: badfont.in:10:7: WARNING: unknown font, skipping request: TS f. diff --git a/contrib/mandoc/regress/tbl/mod/expand-toowide.in b/contrib/mandoc/regress/tbl/mod/expand-toowide.in new file mode 100644 index 00000000000..598f3e1ec4c --- /dev/null +++ b/contrib/mandoc/regress/tbl/mod/expand-toowide.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: expand-toowide.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.TH TBL-MOD-EXPAND-TOOWIDE 1 "May 1, 2017" +.SH NAME +tbl-mod-expand-toowide \- try to expand columns in a table +that is already too wide +.SH DESCRIPTION +.ll 20n +In this section, the line length is limited to 20 characters. +.TS +tab(:); +lx l lx. +x:1234567890:x +.TE +.ll 78n +.PP +Now we are back to the default terminal width. diff --git a/contrib/mandoc/regress/tbl/mod/expand-toowide.out_ascii b/contrib/mandoc/regress/tbl/mod/expand-toowide.out_ascii new file mode 100644 index 00000000000..066fdf90d5c --- /dev/null +++ b/contrib/mandoc/regress/tbl/mod/expand-toowide.out_ascii @@ -0,0 +1,23 @@ +TBL-MOD-EXPAND-TOOWIDE(1) General Commands Manual TBL-MOD-EXPAND-TOOWIDE(1) + + + +NNAAMMEE + tbl-mod-expand-toowide - try to expand columns in a table that is + already too wide + +DDEESSCCRRIIPPTTIIOONN + In this + section, the + line length + is limited to + 20 + characters. + + x 1234567890 x + + Now we are back to the default terminal width. + + + +OpenBSD May 1, 2017 TBL-MOD-EXPAND-TOOWIDE(1) diff --git a/contrib/mandoc/regress/tbl/mod/expand.in b/contrib/mandoc/regress/tbl/mod/expand.in new file mode 100644 index 00000000000..99f24646f39 --- /dev/null +++ b/contrib/mandoc/regress/tbl/mod/expand.in @@ -0,0 +1,232 @@ +.\" $OpenBSD: expand.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.TH TBL-MOD-EXPAND 1 "January 27, 2015" +.SH NAME +tbl-mod-expand \- expand modifier in table layout +.SH DESCRIPTION +normal text +.TS +tab(:); +lx lx l. +x:x:123456789012345678901234567890123456789012345678901234567890123 +.TE +.TS +tab(:); +lx lx l. +x:x:12345678901234567890123456789012345678901234567890123456789012 +.TE +.TS +tab(:); +lx lx l. +x:x:1234567890123456789012345678901234567890123456789012345678901 +.TE +.TS +tab(:); +lx lx l. +x:x:123456789012345678901234567890123456789012345678901234567890 +.TE +.TS +tab(:); +lx lx lx l. +x:x:x:12345678901234567890123456789012345678901234567890123456789 +.TE +.TS +tab(:); +lx lx lx l. +x:x:x:1234567890123456789012345678901234567890123456789012345678 +.TE +.TS +tab(:); +lx lx lx l. +x:x:x:123456789012345678901234567890123456789012345678901234567 +.TE +.TS +tab(:); +lx lx lx l. +x:x:x:12345678901234567890123456789012345678901234567890123456 +.TE +.TS +tab(:); +lx lx lx lx l. +x:x:x:x:1234567890123456789012345678901234567890123456789012345 +.TE +.TS +tab(:); +lx lx lx lx l. +x:x:x:x:123456789012345678901234567890123456789012345678901234 +.TE +.TS +tab(:); +lx lx lx lx l. +x:x:x:x:12345678901234567890123456789012345678901234567890123 +.TE +.TS +tab(:); +lx lx lx lx l. +x:x:x:x:1234567890123456789012345678901234567890123456789012 +.TE +.TS +tab(:); +lx lx lx lx lx l. +x:x:x:x:x:123456789012345678901234567890123456789012345678901 +.TE +.TS +tab(:); +lx lx lx lx lx l. +x:x:x:x:x:12345678901234567890123456789012345678901234567890 +.TE +.TS +tab(:); +lx lx lx lx lx l. +x:x:x:x:x:1234567890123456789012345678901234567890123456789 +.TE +.TS +tab(:); +lx lx lx lx lx l. +x:x:x:x:x:123456789012345678901234567890123456789012345678 +.TE +.TS +tab(:); +lx lx lx lx lx l. +x:x:x:x:x:12345678901234567890123456789012345678901234567 +.TE +.TS +tab(:); +lx lx lx lx lx lx l. +x:x:x:x:x:x:1234567890123456789012345678901234567890123456 +.TE +.TS +tab(:); +lx lx lx lx lx lx l. +x:x:x:x:x:x:123456789012345678901234567890123456789012345 +.TE +.TS +tab(:); +lx lx lx lx lx lx l. +x:x:x:x:x:x:12345678901234567890123456789012345678901234 +.TE +.TS +tab(:); +lx lx lx lx lx lx l. +x:x:x:x:x:x:1234567890123456789012345678901234567890123 +.TE +.TS +tab(:); +lx lx lx lx lx lx l. +x:x:x:x:x:x:123456789012345678901234567890123456789012 +.TE +.TS +tab(:); +lx l rx. +x:123456789012345678901234567890123456789012345678901234567890123:x +.TE +.TS +tab(:); +lx l rx. +x:12345678901234567890123456789012345678901234567890123456789012:x +.TE +.TS +tab(:); +lx l rx. +x:1234567890123456789012345678901234567890123456789012345678901:x +.TE +.TS +tab(:); +lx l rx. +x:123456789012345678901234567890123456789012345678901234567890:x +.TE +.TS +tab(:); +lx lx l rx. +x:x:12345678901234567890123456789012345678901234567890123456789:x +.TE +.TS +tab(:); +lx lx l rx. +x:x:1234567890123456789012345678901234567890123456789012345678:x +.TE +.TS +tab(:); +lx lx l rx. +x:x:123456789012345678901234567890123456789012345678901234567:x +.TE +.TS +tab(:); +lx lx l rx. +x:x:12345678901234567890123456789012345678901234567890123456:x +.TE +.TS +tab(:); +lx lx lx l rx. +x:x:x:1234567890123456789012345678901234567890123456789012345:x +.TE +.TS +tab(:); +lx lx lx l rx. +x:x:x:123456789012345678901234567890123456789012345678901234:x +.TE +.TS +tab(:); +lx lx lx l rx. +x:x:x:12345678901234567890123456789012345678901234567890123:x +.TE +.TS +tab(:); +lx lx lx l rx. +x:x:x:1234567890123456789012345678901234567890123456789012:x +.TE +.TS +tab(:); +lx lx lx lx l rx. +x:x:x:x:123456789012345678901234567890123456789012345678901:x +.TE +.TS +tab(:); +lx lx lx lx l rx. +x:x:x:x:12345678901234567890123456789012345678901234567890:x +.TE +.TS +tab(:); +lx lx lx lx l rx. +x:x:x:x:1234567890123456789012345678901234567890123456789:x +.TE +.TS +tab(:); +lx lx lx lx l rx. +x:x:x:x:123456789012345678901234567890123456789012345678:x +.TE +.TS +tab(:); +lx lx lx lx l rx. +x:x:x:x:12345678901234567890123456789012345678901234567:x +.TE +.TS +tab(:); +lx lx lx lx lx l rx. +x:x:x:x:x:1234567890123456789012345678901234567890123456:x +.TE +.TS +tab(:); +lx lx lx lx lx l rx. +x:x:x:x:x:123456789012345678901234567890123456789012345:x +.TE +.TS +tab(:); +lx lx lx lx lx l rx. +x:x:x:x:x:12345678901234567890123456789012345678901234:x +.TE +.TS +tab(:); +lx lx lx lx lx l rx. +x:x:x:x:x:1234567890123456789012345678901234567890123:x +.TE +.TS +tab(:); +lx lx lx lx lx l rx. +x:x:x:x:x:123456789012345678901234567890123456789012:x +.TE +.sp +.nf +leaked tab settings: +.br +a b c d e f g h +.fi diff --git a/contrib/mandoc/regress/tbl/mod/expand.out_ascii b/contrib/mandoc/regress/tbl/mod/expand.out_ascii new file mode 100644 index 00000000000..41bf9869d06 --- /dev/null +++ b/contrib/mandoc/regress/tbl/mod/expand.out_ascii @@ -0,0 +1,104 @@ +TBL-MOD-EXPAND(1) General Commands Manual TBL-MOD-EXPAND(1) + + + +NNAAMMEE + tbl-mod-expand - expand modifier in table layout + +DDEESSCCRRIIPPTTIIOONN + normal text + + x x 123456789012345678901234567890123456789012345678901234567890123 + + x x 12345678901234567890123456789012345678901234567890123456789012 + + x x 1234567890123456789012345678901234567890123456789012345678901 + + x x 123456789012345678901234567890123456789012345678901234567890 + + x x x 12345678901234567890123456789012345678901234567890123456789 + + x x x 1234567890123456789012345678901234567890123456789012345678 + + x x x 123456789012345678901234567890123456789012345678901234567 + + x x x 12345678901234567890123456789012345678901234567890123456 + + x x x x 1234567890123456789012345678901234567890123456789012345 + + x x x x 123456789012345678901234567890123456789012345678901234 + + x x x x 12345678901234567890123456789012345678901234567890123 + + x x x x 1234567890123456789012345678901234567890123456789012 + + x x x x x 123456789012345678901234567890123456789012345678901 + + x x x x x 12345678901234567890123456789012345678901234567890 + + x x x x x 1234567890123456789012345678901234567890123456789 + + x x x x x 123456789012345678901234567890123456789012345678 + + x x x x x 12345678901234567890123456789012345678901234567 + + x x x x x x 1234567890123456789012345678901234567890123456 + + x x x x x x 123456789012345678901234567890123456789012345 + + x x x x x x 12345678901234567890123456789012345678901234 + + x x x x x x 1234567890123456789012345678901234567890123 + + x x x x x x 123456789012345678901234567890123456789012 + + x 123456789012345678901234567890123456789012345678901234567890123 x + + x 12345678901234567890123456789012345678901234567890123456789012 x + + x 1234567890123456789012345678901234567890123456789012345678901 x + + x 123456789012345678901234567890123456789012345678901234567890 x + + x x 12345678901234567890123456789012345678901234567890123456789 x + + x x 1234567890123456789012345678901234567890123456789012345678 x + + x x 123456789012345678901234567890123456789012345678901234567 x + + x x 12345678901234567890123456789012345678901234567890123456 x + + x x x 1234567890123456789012345678901234567890123456789012345 x + + x x x 123456789012345678901234567890123456789012345678901234 x + + x x x 12345678901234567890123456789012345678901234567890123 x + + x x x 1234567890123456789012345678901234567890123456789012 x + + x x x x 123456789012345678901234567890123456789012345678901 x + + x x x x 12345678901234567890123456789012345678901234567890 x + + x x x x 1234567890123456789012345678901234567890123456789 x + + x x x x 123456789012345678901234567890123456789012345678 x + + x x x x 12345678901234567890123456789012345678901234567 x + + x x x x x 1234567890123456789012345678901234567890123456 x + + x x x x x 123456789012345678901234567890123456789012345 x + + x x x x x 12345678901234567890123456789012345678901234 x + + x x x x x 1234567890123456789012345678901234567890123 x + + x x x x x 123456789012345678901234567890123456789012 x + + leaked tab settings: + a b c d e f g h + + + +OpenBSD January 27, 2015 TBL-MOD-EXPAND(1) diff --git a/contrib/mandoc/regress/tbl/mod/font.in b/contrib/mandoc/regress/tbl/mod/font.in new file mode 100644 index 00000000000..6aaae8dfb73 --- /dev/null +++ b/contrib/mandoc/regress/tbl/mod/font.in @@ -0,0 +1,19 @@ +.\" $OpenBSD: font.in,v 1.4 2017/07/04 14:53:27 schwarze Exp $ +.TH TBL-MOD-FONT 1 "February 10, 2015" +.SH NAME +tbl-mod-font \- font modifiers in table layouts +.SH DESCRIPTION +normal text +.TS +box tab(:); +cb|cfCW|ci +cFI | cf(foobar) | cFB. +bold:roman:italic +_ +italic:roman:bold +and:so:on +.TE +.sp +leaked tab settings: +.br +a b c d e diff --git a/contrib/mandoc/regress/tbl/mod/font.out_ascii b/contrib/mandoc/regress/tbl/mod/font.out_ascii new file mode 100644 index 00000000000..4e43187012b --- /dev/null +++ b/contrib/mandoc/regress/tbl/mod/font.out_ascii @@ -0,0 +1,22 @@ +TBL-MOD-FONT(1) General Commands Manual TBL-MOD-FONT(1) + + + +NNAAMMEE + tbl-mod-font - font modifiers in table layouts + +DDEESSCCRRIIPPTTIIOONN + normal text + + +-------+-------+--------+ + | bboolldd | roman | _i_t_a_l_i_c | + +-------+-------+--------+ + |_i_t_a_l_i_c | roman | bboolldd | + | _a_n_d | so | oonn | + +-------+-------+--------+ + leaked tab settings: + a b c de + + + +OpenBSD February 10, 2015 TBL-MOD-FONT(1) diff --git a/contrib/mandoc/regress/tbl/mod/font.out_lint b/contrib/mandoc/regress/tbl/mod/font.out_lint new file mode 100644 index 00000000000..06046a4380e --- /dev/null +++ b/contrib/mandoc/regress/tbl/mod/font.out_lint @@ -0,0 +1,5 @@ +mandoc: font.in:9:6: WARNING: unknown font, skipping request: TS fCW|ci +mandoc: font.in:19:2: WARNING: tab in filled text +mandoc: font.in:19:4: WARNING: tab in filled text +mandoc: font.in:19:6: WARNING: tab in filled text +mandoc: font.in:19:8: WARNING: tab in filled text diff --git a/contrib/mandoc/regress/tbl/mod/misalign.in b/contrib/mandoc/regress/tbl/mod/misalign.in new file mode 100644 index 00000000000..15f52da15cf --- /dev/null +++ b/contrib/mandoc/regress/tbl/mod/misalign.in @@ -0,0 +1,17 @@ +.\" $OpenBSD: misalign.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.TH TBL-MOD-MISALIGN 1 "December 24, 2014" +.SH NAME +tbl-mod-misalign \- failing alignment in tables +.SH DESCRIPTION +normal text +.TS +box tab(:); +n, nz. +12.34 +_ +100.0 +0.001 +_ +1000.0 +0.0001 +.TE diff --git a/contrib/mandoc/regress/tbl/mod/misalign.out_ascii b/contrib/mandoc/regress/tbl/mod/misalign.out_ascii new file mode 100644 index 00000000000..03e9b36ca6e --- /dev/null +++ b/contrib/mandoc/regress/tbl/mod/misalign.out_ascii @@ -0,0 +1,22 @@ +TBL-MOD-MISALIGN(1) General Commands Manual TBL-MOD-MISALIGN(1) + + + +NNAAMMEE + tbl-mod-misalign - failing alignment in tables + +DDEESSCCRRIIPPTTIIOONN + normal text + + +------+ + |12.34 | + +------+ + |100.0 | + |0.001 | + +------+ + |1000.0 | + |0.0001 | + +------+ + + +OpenBSD December 24, 2014 TBL-MOD-MISALIGN(1) diff --git a/contrib/mandoc/regress/tbl/mod/spacing.in b/contrib/mandoc/regress/tbl/mod/spacing.in new file mode 100644 index 00000000000..5e20b606228 --- /dev/null +++ b/contrib/mandoc/regress/tbl/mod/spacing.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: spacing.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.TH TBL-MOD-SPACING 1 "June 27, 2017" +.SH NAME +tbl-mod-spacing \- spacing modifier in table layout +.SH DESCRIPTION +normal text +.TS +box tab(:); +l0 l1 | l2 | l3 | l4 | l5 | l6 | l7 | l8 +l0 l1 l2 l3 l4 l5 l6 l7 l8 +l0 l1 | l2 || l3 || l4 l5 || l6 | l7 || l8. +a:b:c:d:e:f:g:h:i +a:b:c:d:e:f:g:h:i +a:b:c:d:e:f:g:h:i +.TE diff --git a/contrib/mandoc/regress/tbl/mod/spacing.out_ascii b/contrib/mandoc/regress/tbl/mod/spacing.out_ascii new file mode 100644 index 00000000000..ea4d396b940 --- /dev/null +++ b/contrib/mandoc/regress/tbl/mod/spacing.out_ascii @@ -0,0 +1,18 @@ +TBL-MOD-SPACING(1) General Commands Manual TBL-MOD-SPACING(1) + + + +NNAAMMEE + tbl-mod-spacing - spacing modifier in table layout + +DDEESSCCRRIIPPTTIIOONN + normal text + + +--+--+--+----+----+------+------+-----+ + |ab|c |d | e | f | g | h | i | + |ab|c |d ||e f || g | h || i | + |ab|c |d ||e f || g | h || i | + +--+--+--++--------++-----+------++----+ + + +OpenBSD June 27, 2017 TBL-MOD-SPACING(1) diff --git a/contrib/mandoc/regress/tbl/mod/width.in b/contrib/mandoc/regress/tbl/mod/width.in new file mode 100644 index 00000000000..6482c750525 --- /dev/null +++ b/contrib/mandoc/regress/tbl/mod/width.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: width.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $ +.TH TBL-MOD-WIDTH 1 "June 8, 2017" +.SH NAME +tbl-mod-width \- width modifier in table layout +.SH DESCRIPTION +normal text +.TS +box tab(:); +lw2 | lw(2n) | lw(0.16i) | lw2 . +a:abcd:T{ +a +T}:T{ +.SM abcd +T} +.TE diff --git a/contrib/mandoc/regress/tbl/mod/width.out_ascii b/contrib/mandoc/regress/tbl/mod/width.out_ascii new file mode 100644 index 00000000000..8ff6bf197ab --- /dev/null +++ b/contrib/mandoc/regress/tbl/mod/width.out_ascii @@ -0,0 +1,16 @@ +TBL-MOD-WIDTH(1) General Commands Manual TBL-MOD-WIDTH(1) + + + +NNAAMMEE + tbl-mod-width - width modifier in table layout + +DDEESSCCRRIIPPTTIIOONN + normal text + + +---+------+----+------+ + |a | abcd | a | abcd | + +---+------+----+------+ + + +OpenBSD June 8, 2017 TBL-MOD-WIDTH(1) diff --git a/contrib/mandoc/regress/tbl/opt/Makefile b/contrib/mandoc/regress/tbl/opt/Makefile new file mode 100644 index 00000000000..ed9676b51b8 --- /dev/null +++ b/contrib/mandoc/regress/tbl/opt/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2015/01/29 23:24:24 schwarze Exp $ + +REGRESS_TARGETS = box center invalid +LINT_TARGETS = invalid + +.include diff --git a/contrib/mandoc/regress/tbl/opt/box.in b/contrib/mandoc/regress/tbl/opt/box.in new file mode 100644 index 00000000000..0ff010be4b7 --- /dev/null +++ b/contrib/mandoc/regress/tbl/opt/box.in @@ -0,0 +1,59 @@ +.\" $OpenBSD: box.in,v 1.4 2017/07/04 14:53:27 schwarze Exp $ +.TH TBL-OPT-BOX 1 "June 12, 2017" +.SH NAME +tbl-opt-box \- box table options +.SH DESCRIPTION +no boxing: +.TS +tab(:); +l l. +a:b +c:d +.TE +.sp +automatic boxing: +.TS +tab(:) box; +l l. +a:b +c:d +.TE +.sp +allbox: +.TS +tab(:) allbox; +l l. +a:b +c:d +.TE +.sp +manual boxing: +.TS +tab(:); +||l||l||. +_ +a:b +_ +c:d +_ +.TE +.sp +automatic and manual boxing: +.TS +tab(:) box; +||l||l||. +a:b +_ +c:d +_ +.TE +.sp +allbox and manual boxing: +.TS +tab(:) allbox; +||l||l||. +a:b +_ +c:d +_ +.TE diff --git a/contrib/mandoc/regress/tbl/opt/box.out_ascii b/contrib/mandoc/regress/tbl/opt/box.out_ascii new file mode 100644 index 00000000000..cef861c65bd --- /dev/null +++ b/contrib/mandoc/regress/tbl/opt/box.out_ascii @@ -0,0 +1,54 @@ +TBL-OPT-BOX(1) General Commands Manual TBL-OPT-BOX(1) + + + +NNAAMMEE + tbl-opt-box - box table options + +DDEESSCCRRIIPPTTIIOONN + no boxing: + + a b + c d + + automatic boxing: + + +------+ + |a b | + |c d | + +------+ + allbox: + + +--+---+ + |a | b | + +--+---+ + |c | d | + +--+---+ + manual boxing: + + +--++--+ + |a ||b | + +--++--+ + |c ||d | + +--++--+ + + automatic and manual boxing: + + +--++--+ + |a ||b | + +--++--+ + |c ||d | + +--++--+ + +--++--+ + allbox and manual boxing: + + +--++--+ + |a ||b | + +--++--+ + +--++--+ + |c ||d | + +--++--+ + +--++--+ + + +OpenBSD June 12, 2017 TBL-OPT-BOX(1) diff --git a/contrib/mandoc/regress/tbl/opt/center.in b/contrib/mandoc/regress/tbl/opt/center.in new file mode 100644 index 00000000000..075dad48a87 --- /dev/null +++ b/contrib/mandoc/regress/tbl/opt/center.in @@ -0,0 +1,99 @@ +.\" $OpenBSD: center.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.TH TBL-LAYOUT_CENTER 1 "January 28, 2015" +.SH NAME +tbl-layout_center \- center a table as a whole +.SH DESCRIPTION +normal text +.TS +center; l. +12345678901234567890123456789012345678901234567890123456789012345678901\ +234567890123456 +.TE +.TS +center; l. +12345678901234567890123456789012345678901234567890123456789012345678901\ +23456789012345 +.TE +.TS +center; l. +12345678901234567890123456789012345678901234567890123456789012345678901\ +2345678901234 +.TE +.TS +center; l. +12345678901234567890123456789012345678901234567890123456789012345678901234 +.TE +.TS +center; l. +1234567890123456789012345678901234567890123456789012345678901234567890123 +.TE +.TS +center; l. +123456789012345678901234567890123456789012345678901234567890123456789012 +.TE +.TS +center; l. +12345678901234567890123456789012345678901234567890123456789012345678901 +.TE +.TS +center; l. +1234567890123456789012345678901234567890123456789012345678901234567890 +.TE +.TS +center; l. +123456789012345678901234567890123456789012345678901234567890123456789 +.TE +.TS +center; l. +12345678901234567890123456789012345678901234567890123456789012345678 +.TE +.TS +center; l|. +_ +txt +.TE +.TS +center; l|. +_ +text +.TE +.TS +center; |l. +_ +txt +.TE +.TS +center; |l. +_ +text +.TE +.TS +center; |l|. +_ +txt +.TE +.TS +center; |l|. +_ +text +.TE +.TS +center tab(:); |l||l|. +_ +txt:text +.TE +.TS +center tab(:); |l||l|. +_ +text:text +.TE +.TS +center box; l. +txt +.TE +.PP +normal text +.TS +center box; l. +text +.TE diff --git a/contrib/mandoc/regress/tbl/opt/center.out_ascii b/contrib/mandoc/regress/tbl/opt/center.out_ascii new file mode 100644 index 00000000000..8df45eec70b --- /dev/null +++ b/contrib/mandoc/regress/tbl/opt/center.out_ascii @@ -0,0 +1,65 @@ +TBL-LAYOUT_CENTER(1) General Commands Manual TBL-LAYOUT_CENTER(1) + + + +NNAAMMEE + tbl-layout_center - center a table as a whole + +DDEESSCCRRIIPPTTIIOONN + normal text + +12345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + +1234567890123456789012345678901234567890123456789012345678901234567890123456789012345 + + 123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + + 12345678901234567890123456789012345678901234567890123456789012345678901234 + + 1234567890123456789012345678901234567890123456789012345678901234567890123 + + 123456789012345678901234567890123456789012345678901234567890123456789012 + + 12345678901234567890123456789012345678901234567890123456789012345678901 + + 1234567890123456789012345678901234567890123456789012345678901234567890 + + 123456789012345678901234567890123456789012345678901234567890123456789 + + 12345678901234567890123456789012345678901234567890123456789012345678 + + ----+ + txt | + + -----+ + text | + + +---- + |txt + + +----- + |text + + +----+ + |txt | + + +-----+ + |text | + + +----++-----+ + |txt ||text | + + +-----++-----+ + |text ||text | + + +----+ + |txt | + +----+ + normal text + + +-----+ + |text | + +-----+ + + +OpenBSD January 28, 2015 TBL-LAYOUT_CENTER(1) diff --git a/contrib/mandoc/regress/tbl/opt/invalid.in b/contrib/mandoc/regress/tbl/opt/invalid.in new file mode 100644 index 00000000000..70df4961970 --- /dev/null +++ b/contrib/mandoc/regress/tbl/opt/invalid.in @@ -0,0 +1,20 @@ +.\" $OpenBSD: invalid.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.TH TBL-OPT 1 "January 25, 2015" +.SH NAME +tbl-opt \- table options +.SH DESCRIPTION +normal text +.TS +tab decimalpoint (,x) %foo box; +n n . +10.0 0.01 +0.01 10.0 +.TE +.PP +normal text +.TS + , box,tab(:) delim($$); l l . +a:b +.TE +.PP +normal text diff --git a/contrib/mandoc/regress/tbl/opt/invalid.out_ascii b/contrib/mandoc/regress/tbl/opt/invalid.out_ascii new file mode 100644 index 00000000000..320b8023c0e --- /dev/null +++ b/contrib/mandoc/regress/tbl/opt/invalid.out_ascii @@ -0,0 +1,24 @@ +TBL-OPT(1) General Commands Manual TBL-OPT(1) + + + +NNAAMMEE + tbl-opt - table options + +DDEESSCCRRIIPPTTIIOONN + normal text + + +--------------+ + |10.0 0.01 | + | 0.01 10.0 | + +--------------+ + normal text + + +------+ + |a b | + +------+ + normal text + + + +OpenBSD January 25, 2015 TBL-OPT(1) diff --git a/contrib/mandoc/regress/tbl/opt/invalid.out_lint b/contrib/mandoc/regress/tbl/opt/invalid.out_lint new file mode 100644 index 00000000000..3ea7f36e88c --- /dev/null +++ b/contrib/mandoc/regress/tbl/opt/invalid.out_lint @@ -0,0 +1,5 @@ +mandoc: invalid.in:8:5: ERROR: missing tbl option argument: tab +mandoc: invalid.in:8:19: ERROR: wrong tbl option argument size: decimalpoint want 1 have 2 +mandoc: invalid.in:8:23: ERROR: non-alphabetic character in tbl options: % +mandoc: invalid.in:8:24: ERROR: skipping unknown tbl option: foo +mandoc: invalid.in:16:21: UNSUPP: eqn delim option in tbl: $$ diff --git a/contrib/mandoc/st.c b/contrib/mandoc/st.c index c4d86e33feb..ec754cc036f 100644 --- a/contrib/mandoc/st.c +++ b/contrib/mandoc/st.c @@ -37,6 +37,8 @@ LINE("-p1003.1-96", "ISO/IEC 9945-1:1996 (\\(lqPOSIX.1\\(rq)") LINE("-p1003.1-2001", "IEEE Std 1003.1-2001 (\\(lqPOSIX.1\\(rq)") LINE("-p1003.1-2004", "IEEE Std 1003.1-2004 (\\(lqPOSIX.1\\(rq)") LINE("-p1003.1-2008", "IEEE Std 1003.1-2008 (\\(lqPOSIX.1\\(rq)") +LINE("-p1003.1-2013", "IEEE Std 1003.1-2008, 2013 Edition (\\(LqPOSIX.1\\(Rq)") +LINE("-p1003.1-2016", "IEEE Std 1003.1-2008, 2016 Edition (\\(LqPOSIX.1\\(Rq)") LINE("-p1003.1", "IEEE Std 1003.1 (\\(lqPOSIX.1\\(rq)") LINE("-p1003.1b", "IEEE Std 1003.1b (\\(lqPOSIX.1b\\(rq)") LINE("-p1003.1b-93", "IEEE Std 1003.1b-1993 (\\(lqPOSIX.1b\\(rq)") diff --git a/contrib/mandoc/st.in b/contrib/mandoc/st.in new file mode 100644 index 00000000000..39f597cff31 --- /dev/null +++ b/contrib/mandoc/st.in @@ -0,0 +1,78 @@ +/* $Id: st.in,v 1.29 2017/06/24 13:49:29 schwarze Exp $ */ +/* + * Copyright (c) 2009, 2010 Kristaps Dzonsons + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This file defines the .St macro arguments. If you add a new + * standard, make sure that the left-and side corresponds to the .St + * argument (like .St -p1003.1) and the right-hand side corresponds to + * the formatted output string. + * + * Be sure to escape strings. + * The non-breaking blanks prevent ending an output line right before + * a number. Groff prevent line breaks at the same places. + * + * REMEMBER TO ADD NEW STANDARDS TO MDOC.7! + */ + +LINE("-p1003.1-88", "IEEE Std 1003.1-1988 (\\(LqPOSIX.1\\(Rq)") +LINE("-p1003.1-90", "IEEE Std 1003.1-1990 (\\(LqPOSIX.1\\(Rq)") +LINE("-p1003.1-96", "ISO/IEC 9945-1:1996 (\\(LqPOSIX.1\\(Rq)") +LINE("-p1003.1-2001", "IEEE Std 1003.1-2001 (\\(LqPOSIX.1\\(Rq)") +LINE("-p1003.1-2004", "IEEE Std 1003.1-2004 (\\(LqPOSIX.1\\(Rq)") +LINE("-p1003.1-2008", "IEEE Std 1003.1-2008 (\\(LqPOSIX.1\\(Rq)") +LINE("-p1003.1-2013", "IEEE Std 1003.1-2008, 2013 Edition (\\(LqPOSIX.1\\(Rq)") +LINE("-p1003.1-2016", "IEEE Std 1003.1-2008, 2016 Edition (\\(LqPOSIX.1\\(Rq)") +LINE("-p1003.1", "IEEE Std 1003.1 (\\(LqPOSIX.1\\(Rq)") +LINE("-p1003.1b", "IEEE Std 1003.1b (\\(LqPOSIX.1b\\(Rq)") +LINE("-p1003.1b-93", "IEEE Std 1003.1b-1993 (\\(LqPOSIX.1b\\(Rq)") +LINE("-p1003.1c-95", "IEEE Std 1003.1c-1995 (\\(LqPOSIX.1c\\(Rq)") +LINE("-p1003.1g-2000", "IEEE Std 1003.1g-2000 (\\(LqPOSIX.1g\\(Rq)") +LINE("-p1003.1i-95", "IEEE Std 1003.1i-1995 (\\(LqPOSIX.1i\\(Rq)") +LINE("-p1003.2", "IEEE Std 1003.2 (\\(LqPOSIX.2\\(Rq)") +LINE("-p1003.2-92", "IEEE Std 1003.2-1992 (\\(LqPOSIX.2\\(Rq)") +LINE("-p1003.2a-92", "IEEE Std 1003.2a-1992 (\\(LqPOSIX.2\\(Rq)") +LINE("-isoC", "ISO/IEC 9899:1990 (\\(LqISO\\~C90\\(Rq)") +LINE("-isoC-90", "ISO/IEC 9899:1990 (\\(LqISO\\~C90\\(Rq)") +LINE("-isoC-amd1", "ISO/IEC 9899/AMD1:1995 (\\(LqISO\\~C90, Amendment 1\\(Rq)") +LINE("-isoC-tcor1", "ISO/IEC 9899/TCOR1:1994 (\\(LqISO\\~C90, Technical Corrigendum 1\\(Rq)") +LINE("-isoC-tcor2", "ISO/IEC 9899/TCOR2:1995 (\\(LqISO\\~C90, Technical Corrigendum 2\\(Rq)") +LINE("-isoC-99", "ISO/IEC 9899:1999 (\\(LqISO\\~C99\\(Rq)") +LINE("-isoC-2011", "ISO/IEC 9899:2011 (\\(LqISO\\~C11\\(Rq)") +LINE("-iso9945-1-90", "ISO/IEC 9945-1:1990 (\\(LqPOSIX.1\\(Rq)") +LINE("-iso9945-1-96", "ISO/IEC 9945-1:1996 (\\(LqPOSIX.1\\(Rq)") +LINE("-iso9945-2-93", "ISO/IEC 9945-2:1993 (\\(LqPOSIX.2\\(Rq)") +LINE("-ansiC", "ANSI X3.159-1989 (\\(LqANSI\\~C89\\(Rq)") +LINE("-ansiC-89", "ANSI X3.159-1989 (\\(LqANSI\\~C89\\(Rq)") +LINE("-ieee754", "IEEE Std 754-1985") +LINE("-iso8802-3", "ISO 8802-3: 1989") +LINE("-iso8601", "ISO 8601") +LINE("-ieee1275-94", "IEEE Std 1275-1994 (\\(LqOpen Firmware\\(Rq)") +LINE("-xpg3", "X/Open Portability Guide Issue\\~3 (\\(LqXPG3\\(Rq)") +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)") +LINE("-xcurses4.2", "X/Open Curses Issue\\~4, Version\\~2 (\\(LqXCURSES4.2\\(Rq)") +LINE("-susv1", "Version\\~1 of the Single UNIX Specification (\\(LqSUSv1\\(Rq)") +LINE("-susv2", "Version\\~2 of the Single UNIX Specification (\\(LqSUSv2\\(Rq)") +LINE("-susv3", "Version\\~3 of the Single UNIX Specification (\\(LqSUSv3\\(Rq)") +LINE("-susv4", "Version\\~4 of the Single UNIX Specification (\\(LqSUSv4\\(Rq)") +LINE("-svid4", "System\\~V Interface Definition, Fourth Edition (\\(LqSVID4\\(Rq)") diff --git a/contrib/mandoc/test-fgetln.c b/contrib/mandoc/test-fgetln.c new file mode 100644 index 00000000000..ac225a178f3 --- /dev/null +++ b/contrib/mandoc/test-fgetln.c @@ -0,0 +1,11 @@ +#include +#include +#include + +int +main(void) +{ + size_t sz; + fclose(stdin); + return(NULL != fgetln(stdin, &sz)); +}