summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-06-25 11:35:28 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-06-25 11:35:28 +0000
commit2da2307a9d5545dfde44035f2048dab68ee71364 (patch)
treef8baf50335b645b482fe3306ef800e1de0239f62
parentd4ae0ec7867ee424f8635709fe7df9daf4c34932 (diff)
downloadmandoc-2da2307a9d5545dfde44035f2048dab68ee71364.tar.gz
mandoc-2da2307a9d5545dfde44035f2048dab68ee71364.tar.zst
mandoc-2da2307a9d5545dfde44035f2048dab68ee71364.zip
Added note about whitespace being stripped from mdoc/man input and re-added in mandoc(1).
-rw-r--r--man.78
-rw-r--r--mdoc.78
2 files changed, 14 insertions, 2 deletions
diff --git a/man.7 b/man.7
index fb471551..b6bd47ba 100644
--- a/man.7
+++ b/man.7
@@ -1,4 +1,4 @@
-.\" $Id: man.7,v 1.16 2009/06/25 10:48:21 kristaps Exp $
+.\" $Id: man.7,v 1.17 2009/06/25 11:35:28 kristaps Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
.\"
@@ -96,6 +96,12 @@ or a single one-character sequence.
Characters may alternatively be escaped by a slash-asterisk,
.Sq \e* ,
with the same combinations as described above. This form is deprecated.
+.\" SUB-SECTION
+.Ss Whitespace
+Unless specifically escaped, consecutive blocks of whitespace are pruned
+from input. These are later re-added, if applicable, by a front-end
+utility such as
+.Xr mandoc 1 .
.\" SECTION
.Sh STRUCTURE
Each
diff --git a/mdoc.7 b/mdoc.7
index 364d6273..57be6131 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -1,4 +1,4 @@
-.\" $Id: mdoc.7,v 1.33 2009/06/25 10:51:21 kristaps Exp $
+.\" $Id: mdoc.7,v 1.34 2009/06/25 11:35:28 kristaps Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
.\"
@@ -137,6 +137,12 @@ or a single one-character sequence.
Characters may alternatively be escaped by a slash-asterisk,
.Sq \e* ,
with the same combinations as described above. This form is deprecated.
+.\" SUB-SECTION
+.Ss Whitespace
+Unless in literal mode or specifically escaped, consecutive blocks of
+whitespace are pruned from input. These are later re-added, if
+applicable, by a front-end utility such as
+.Xr mandoc 1 .
.\" SECTION
.Sh STRUCTURE
Each