summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc/tbl/opt.out_ascii
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2015-01-26 00:54:10 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2015-01-26 00:54:10 +0000
commitc93c28ddbd10b595b059b57e708baf92fe431c33 (patch)
tree9dfb9acc1679ed7fe7a6719a72d2c384083c9331 /regress/usr.bin/mandoc/tbl/opt.out_ascii
parent4049f099bfc99d5a5f50530f43a44d9b12584b2d (diff)
Improve (or rather, rewrite) tbl(7) option parsing.
* Allow the layout to start after the semicolon on the options line. * Ignore leading commas. * Option arguments cannot contain closing parentheses. * Avoid needless UNSUPP messages. * Better ERROR reporting. * Delete unused "linesize" field in struct tbl_opts. * No need for static buffers. * Garbage collect one almost empty wrapper function. Improved functionality, but minus 40 lines of code.
Diffstat (limited to 'regress/usr.bin/mandoc/tbl/opt.out_ascii')
-rw-r--r--regress/usr.bin/mandoc/tbl/opt.out_ascii24
1 files changed, 24 insertions, 0 deletions
diff --git a/regress/usr.bin/mandoc/tbl/opt.out_ascii b/regress/usr.bin/mandoc/tbl/opt.out_ascii
new file mode 100644
index 00000000000..320b8023c0e
--- /dev/null
+++ b/regress/usr.bin/mandoc/tbl/opt.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)