diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-04-21 22:48:58 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-04-21 22:48:58 +0000 |
commit | 521832262338c85e83c79d44a533328fff010240 (patch) | |
tree | 7548d4fdb68e384d605f7431428ac0e155cea30a /roff.7 | |
parent | 097bd40f100628400564aaf416cd139da33afc3d (diff) | |
download | mandoc-521832262338c85e83c79d44a533328fff010240.tar.gz mandoc-521832262338c85e83c79d44a533328fff010240.tar.zst mandoc-521832262338c85e83c79d44a533328fff010240.zip |
Implement the roff .break request (break out of a .while loop).
Jan Stary <hans at stare dot cz> found it in an ancient groffer(1)
manual page (version 1.19) on MacOS X Mojave.
Having .break not implemented wasn't a particularly bright idea
because obviously, it tended to cause infinite loops.
Diffstat (limited to 'roff.7')
-rw-r--r-- | roff.7 | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,4 +1,4 @@ -.\" $Id: roff.7,v 1.111 2019/01/01 03:45:29 schwarze Exp $ +.\" $Id: roff.7,v 1.112 2019/04/21 22:48:58 schwarze Exp $ .\" .\" Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2010-2019 Ingo Schwarze <schwarze@openbsd.org> @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: January 1 2019 $ +.Dd $Mdocdate: April 21 2019 $ .Dt ROFF 7 .Os .Sh NAME @@ -503,10 +503,9 @@ This is a Heirloom extension and currently unsupported. .It Ic \&br Break the output line. .It Ic \&break -Break out of a +Break out of the innermost .Ic \&while loop. -Currently unsupported. .It Ic \&breakchar Ar char ... Optional line break characters. This is a Heirloom extension and currently ignored. |