diff options
Diffstat (limited to 'regress/roff/tr')
-rw-r--r-- | regress/roff/tr/Makefile | 6 | ||||
-rw-r--r-- | regress/roff/tr/args.in | 16 | ||||
-rw-r--r-- | regress/roff/tr/args.out_ascii | 14 | ||||
-rw-r--r-- | regress/roff/tr/args.out_lint | 3 |
4 files changed, 39 insertions, 0 deletions
diff --git a/regress/roff/tr/Makefile b/regress/roff/tr/Makefile new file mode 100644 index 00000000..791c27ef --- /dev/null +++ b/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 <bsd.regress.mk> diff --git a/regress/roff/tr/args.in b/regress/roff/tr/args.in new file mode 100644 index 00000000..1ef074d6 --- /dev/null +++ b/regress/roff/tr/args.in @@ -0,0 +1,16 @@ +.TH TR-BASIC 1 "February 6, 2015" OpenBSD +.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/regress/roff/tr/args.out_ascii b/regress/roff/tr/args.out_ascii new file mode 100644 index 00000000..b199ed6b --- /dev/null +++ b/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/regress/roff/tr/args.out_lint b/regress/roff/tr/args.out_lint new file mode 100644 index 00000000..dec14b80 --- /dev/null +++ b/regress/roff/tr/args.out_lint @@ -0,0 +1,3 @@ +mandoc: args.in:6:1: WARNING: skipping empty request: tr +mandoc: args.in:8:5: WARNING: odd number of characters in request: tr x +mandoc: args.in:14:7: WARNING: odd number of characters in request: tr z |