aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roff.7
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-08-18 21:37:01 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-08-18 21:37:01 +0000
commit706d9945acc722dd472698b7a9a81d213d8d9e0f (patch)
tree38a7ede6a11442f497a76006cb1f6834974ea3cd /roff.7
parent259fee714b55e40e21cea678c54f18c63f478063 (diff)
downloadmandoc-706d9945acc722dd472698b7a9a81d213d8d9e0f.tar.gz
mandoc-706d9945acc722dd472698b7a9a81d213d8d9e0f.tar.zst
mandoc-706d9945acc722dd472698b7a9a81d213d8d9e0f.zip
support the highly surprising escape sequence \# (line continuation
with comment); used for example by gropdf(1)
Diffstat (limited to 'roff.7')
-rw-r--r--roff.710
1 files changed, 8 insertions, 2 deletions
diff --git a/roff.7 b/roff.7
index 00e2aa99..5377103c 100644
--- a/roff.7
+++ b/roff.7
@@ -1,4 +1,4 @@
-.\" $Id: roff.7,v 1.99 2018/08/16 14:07:11 schwarze Exp $
+.\" $Id: roff.7,v 1.100 2018/08/18 21:37:01 schwarze Exp $
.\"
.\" Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2010-2018 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: August 16 2018 $
+.Dd $Mdocdate: August 18 2018 $
.Dt ROFF 7
.Os
.Sh NAME
@@ -1819,6 +1819,12 @@ is an unpaddable space-sized non-breaking space character; see
.Ss \e\(dq
The rest of the input line is treated as
.Sx Comments .
+.Ss \e#
+Line continuation with comment.
+Discard the rest of the physical input line and continue the logical
+input line on the next physical input line, joining the text on
+both lines together as if it were on a single input line.
+This is a groff extension.
.Ss \e%
Hyphenation allowed at this point of the word; ignored by
.Xr mandoc 1 .