tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
* line termination in manuals
@ 2011-01-22 19:56 Ingo Schwarze
  2011-01-22 20:05 ` Joerg Sonnenberger
  0 siblings, 1 reply; 10+ messages in thread
From: Ingo Schwarze @ 2011-01-22 19:56 UTC (permalink / raw)
  To: tech; +Cc: jmc

Hi,

deraadt@ pointed out that, if somebody would compile mandoc
on Windows, the C library would take care of different
conventions regarding line termination.

Besides, it goes without saying that text files on a UNIX
system use UNIX conventions, and UNIX tools working on them
expect that.  This isn't documented for other text files,
for example configuration files of various tools, either.

OK?

Yours,
  Ingo


Index: man.7
===================================================================
RCS file: /cvs/src/share/man/man7/man.7,v
retrieving revision 1.14
diff -u -r1.14 man.7
--- man.7	16 Jan 2011 02:56:47 -0000	1.14
+++ man.7	22 Jan 2011 19:46:09 -0000
@@ -53,9 +53,6 @@
 .Nm
 documents may contain only graphable 7-bit ASCII characters, the
 space character, and the tab character.
-All manuals must have
-.Ux
-line termination.
 .Pp
 Blank lines are acceptable; where found, the output will assert a
 vertical space.
Index: mdoc.7
===================================================================
RCS file: /cvs/src/share/man/man7/mdoc.7,v
retrieving revision 1.62
diff -u -r1.62 mdoc.7
--- mdoc.7	22 Jan 2011 14:05:28 -0000	1.62
+++ mdoc.7	22 Jan 2011 19:46:10 -0000
@@ -52,9 +52,6 @@
 .Nm
 documents may contain only graphable 7-bit ASCII characters, the space
 character, and, in certain circumstances, the tab character.
-All manuals must have
-.Ux
-line terminators.
 .Pp
 If the first character of a line is a space, that line is printed
 with a leading newline.
Index: roff.7
===================================================================
RCS file: /cvs/src/share/man/man7/roff.7,v
retrieving revision 1.8
diff -u -r1.8 roff.7
--- roff.7	9 Jan 2011 15:24:57 -0000	1.8
+++ roff.7	22 Jan 2011 19:46:10 -0000
@@ -57,10 +57,6 @@
 documented in the
 .Xr mandoc_char 7
 manual.
-.Pp
-All manuals must have
-.Ux
-line terminators.
 .Sh REQUEST SYNTAX
 A request or macro line consists of:
 .Pp
--
 To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-01-25  0:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-22 19:56 line termination in manuals Ingo Schwarze
2011-01-22 20:05 ` Joerg Sonnenberger
2011-01-22 21:28   ` Ingo Schwarze
2011-01-22 21:35     ` Joerg Sonnenberger
2011-01-22 22:18       ` Ingo Schwarze
2011-01-22 22:28         ` Kristaps Dzonsons
2011-01-22 22:29         ` Joerg Sonnenberger
2011-01-22 22:59           ` Ingo Schwarze
2011-01-24 23:16             ` Kristaps Dzonsons
2011-01-25  0:09               ` Ingo Schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).