aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-08 08:36:44 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-08 08:36:44 +0000
commit24b4a7d475e7f3fa5f5aeb456984285e5938c35c (patch)
treeba527c515f84c5caa50cf65cfec8f131f687b8e7 /man.7
parent29086c29fdd989b9c086bf25e0790ba21243c4ff (diff)
downloadmandoc-24b4a7d475e7f3fa5f5aeb456984285e5938c35c.tar.gz
mandoc-24b4a7d475e7f3fa5f5aeb456984285e5938c35c.tar.zst
mandoc-24b4a7d475e7f3fa5f5aeb456984285e5938c35c.zip
Strip trailing, unescaped whitespace from free-form, non-literal lines (like groff).
Diffstat (limited to 'man.7')
-rw-r--r--man.715
1 files changed, 9 insertions, 6 deletions
diff --git a/man.7 b/man.7
index 76c63a38..b03a0f8b 100644
--- a/man.7
+++ b/man.7
@@ -1,4 +1,4 @@
-.\" $Id: man.7,v 1.63 2010/05/07 15:49:36 kristaps Exp $
+.\" $Id: man.7,v 1.64 2010/05/08 08:36:44 kristaps Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -14,7 +14,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: May 7 2010 $
+.Dd $Mdocdate: May 8 2010 $
.Dt MAN 7
.Os
.Sh NAME
@@ -126,10 +126,13 @@ and
.Sq \ef
attributes are forgotten when entering or exiting a macro block.
.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 .
+In free-form lines, whitespace is preserved within a line; un-escaped
+trailing spaces are stripped from input (unless in a literal context).
+Blank free-form lines, which may include spaces, are permitted and
+rendered as an empty line.
+.Pp
+In macro lines, whitespace delimits arguments and is discarded. If
+arguments are quoted, whitespace within the quotes is retained.
.Ss Dates
The
.Sx \&TH