From 4c0770c1ecd159a77561d8e0364385f4bb758650 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/char/space/nobreak.in | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 regress/char/space/nobreak.in (limited to 'regress/char/space/nobreak.in') diff --git a/regress/char/space/nobreak.in b/regress/char/space/nobreak.in new file mode 100644 index 00000000..20bd19bd --- /dev/null +++ b/regress/char/space/nobreak.in @@ -0,0 +1,30 @@ +.Dd July 29, 2012 +.Dt SPACE-NOBREAK 1 +.Os OpenBSD +.Sh NAME +.Nm space-nobreak +.Nd non-breaking, non-collapsing space +.Sh DESCRIPTION +The following line has 78 characters and fits: +.Pp +78 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x x +.Pp +The following line has 79 characters and breaks: +.Pp +79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x x +.Pp +With a non-breaking space, it breaks earlier: +.Pp +79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x\~x +.Pp +The same with backslash-space: +.Pp +79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x\ x +.Pp +Only non-breaking spaces: +.Pp +79\~xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\~x\~x +.Pp +The same with backslash-space: +.Pp +79\ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\ x\ x -- cgit