diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-01-21 00:45:17 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-01-21 00:45:17 +0000 |
commit | d1ab8d70e83743937bed8b9ea48ea5defb785d2d (patch) | |
tree | 368886dd1284ca0999e3b9532b155abf670b8819 /regress | |
parent | bbc5b77fd604a52c366539c5dd47896ec1139b00 (diff) |
blank lines in tables do not need special handling; simplifies code
and reduces groff/mandoc differences in base by about 1%
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/mandoc/tbl/Makefile | 7 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/tbl/blankline.in | 14 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/tbl/blankline.out_ascii | 18 |
3 files changed, 36 insertions, 3 deletions
diff --git a/regress/usr.bin/mandoc/tbl/Makefile b/regress/usr.bin/mandoc/tbl/Makefile index 4213a0626ed..270fcf9c0bb 100644 --- a/regress/usr.bin/mandoc/tbl/Makefile +++ b/regress/usr.bin/mandoc/tbl/Makefile @@ -1,6 +1,7 @@ -# $OpenBSD: Makefile,v 1.6 2014/12/24 15:37:23 schwarze Exp $ +# $OpenBSD: Makefile,v 1.7 2015/01/21 00:45:16 schwarze Exp $ -REGRESS_TARGETS = center fonts macro misalign nested numbers span vert +REGRESS_TARGETS = blankline center fonts macro misalign +REGRESS_TARGETS += nested numbers span vert LINT_TARGETS = macro nested # groff-1.22.3 defect: @@ -13,7 +14,7 @@ LINT_TARGETS = macro nested # .TS in a table causes a blank table line in GNU tbl(1), but not in mandoc. SKIP_GROFF = misalign nested -SKIP_TMAN ?= ALL +SKIP_TMAN ?= ALL SILENT TBL = /usr/local/bin/tbl diff --git a/regress/usr.bin/mandoc/tbl/blankline.in b/regress/usr.bin/mandoc/tbl/blankline.in new file mode 100644 index 00000000000..7c42c265622 --- /dev/null +++ b/regress/usr.bin/mandoc/tbl/blankline.in @@ -0,0 +1,14 @@ +.TH TBL-BLANKLINE 1 "January 21, 2015" OpenBSD +.SH NAME +tbl-blankline \- blank line in a table +.SH DESCRIPTION +normal text +.TS +lb +li +lb. +first + +last +.TE +normal text diff --git a/regress/usr.bin/mandoc/tbl/blankline.out_ascii b/regress/usr.bin/mandoc/tbl/blankline.out_ascii new file mode 100644 index 00000000000..ae78127c8ca --- /dev/null +++ b/regress/usr.bin/mandoc/tbl/blankline.out_ascii @@ -0,0 +1,18 @@ +TBL-BLANKLINE(1) General Commands Manual TBL-BLANKLINE(1) + + + +NNAAMMEE + tbl-blankline - blank line in a table + +DDEESSCCRRIIPPTTIIOONN + normal text + + ffiirrsstt + + llaasstt + normal text + + + +OpenBSD January 21, 2015 TBL-BLANKLINE(1) |