From d9f0f81c846a8405c29870e4a8379e5e79d1cad3 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 8 Feb 2017 03:02:13 +0000 Subject: Finally port the OpenBSD regression suite. Both kristaps@ and wiz@ repeated asked for this, literally for years. --- regress/roff/args/man.in | 134 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 regress/roff/args/man.in (limited to 'regress/roff/args/man.in') diff --git a/regress/roff/args/man.in b/regress/roff/args/man.in new file mode 100644 index 00000000..36ce992f --- /dev/null +++ b/regress/roff/args/man.in @@ -0,0 +1,134 @@ +.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\ -- cgit v1.2.3-56-ge451