From 0dfc99960bdca3e31faaf1bbb1ab09a6efe9cfab Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 7 Jul 2012 18:27:37 +0000 Subject: Support the .cc request; code by kristaps@, tests by me. Needed for sqlite3(1) as reported by espie@. --- regress/usr.bin/mandoc/roff/Makefile | 4 ++-- regress/usr.bin/mandoc/roff/cc/Makefile | 5 +++++ regress/usr.bin/mandoc/roff/cc/basic.in | 19 +++++++++++++++++++ regress/usr.bin/mandoc/roff/cc/basic.out_ascii | 17 +++++++++++++++++ 4 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 regress/usr.bin/mandoc/roff/cc/Makefile create mode 100644 regress/usr.bin/mandoc/roff/cc/basic.in create mode 100644 regress/usr.bin/mandoc/roff/cc/basic.out_ascii (limited to 'regress') diff --git a/regress/usr.bin/mandoc/roff/Makefile b/regress/usr.bin/mandoc/roff/Makefile index 0bdfeb1d61e..a6cdf1a7327 100644 --- a/regress/usr.bin/mandoc/roff/Makefile +++ b/regress/usr.bin/mandoc/roff/Makefile @@ -1,6 +1,6 @@ -# $OpenBSD: Makefile,v 1.10 2012/06/02 23:18:31 schwarze Exp $ +# $OpenBSD: Makefile,v 1.11 2012/07/07 18:27:36 schwarze Exp $ -SUBDIR+= args esc cond string br de na ps rm sp +SUBDIR+= args esc cond string br cc de na ps rm sp ascii groff groff-clean obj-clean tman: _SUBDIRUSE diff --git a/regress/usr.bin/mandoc/roff/cc/Makefile b/regress/usr.bin/mandoc/roff/cc/Makefile new file mode 100644 index 00000000000..7e8345d7c30 --- /dev/null +++ b/regress/usr.bin/mandoc/roff/cc/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.1 2012/07/07 18:27:36 schwarze Exp $ + +REGRESS_TARGETS = basic + +.include diff --git a/regress/usr.bin/mandoc/roff/cc/basic.in b/regress/usr.bin/mandoc/roff/cc/basic.in new file mode 100644 index 00000000000..5f162ffe6f9 --- /dev/null +++ b/regress/usr.bin/mandoc/roff/cc/basic.in @@ -0,0 +1,19 @@ +.TH CC-BASIC 1 "July 7, 21012" OpenBSD +.SH NAME +cc-basic \- basic usage of the cc request +.SH DESCRIPTION +first line +.br +second +.cc : +line +:br +third +:cc ; +line +;br +fourth +;cc +line +.br +last line diff --git a/regress/usr.bin/mandoc/roff/cc/basic.out_ascii b/regress/usr.bin/mandoc/roff/cc/basic.out_ascii new file mode 100644 index 00000000000..cfcf688ce1f --- /dev/null +++ b/regress/usr.bin/mandoc/roff/cc/basic.out_ascii @@ -0,0 +1,17 @@ +CC-BASIC(1) OpenBSD Reference 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, 21012 CC-BASIC(1) -- cgit v1.2.3