groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 02/02: nroff.1.man: Make editorial fixes.


From: G. Branden Robinson
Subject: [groff] 02/02: nroff.1.man: Make editorial fixes.
Date: Mon, 1 Jul 2019 09:25:21 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit ee0ce46b39879ef6d9e6c866bbe0818b3b3f4b7d
Author: G. Branden Robinson <address@hidden>
Date:   Mon Jul 1 22:37:23 2019 +1000

    nroff.1.man: Make editorial fixes.
    
    * Use the word "section" in section references, not just a quoted
      string.
    * Also use groff character escapes since we're not in compatibility mode
      anyway.
    * Drop explanations of what -h and -c do; these are details adequately
      covered in grotty(1).  Thanks to Ingo Schwarze for the discussion.
    * Sort lists of options in locale collation order.
    * Recast the bit about ignored options.  In groff documentation we
      describe old-school *roff from New Jersey variously as "traditional
      Unix", "classical Unix", "AT&T" and I don't know what else.  It'd be
      nice to pick a nomenclature and stick with it.
---
 src/roff/nroff/nroff.1.man | 29 +++++++++++++----------------
 1 file changed, 13 insertions(+), 16 deletions(-)

diff --git a/src/roff/nroff/nroff.1.man b/src/roff/nroff/nroff.1.man
index 904c4b4..3b264eb 100644
--- a/src/roff/nroff/nroff.1.man
+++ b/src/roff/nroff/nroff.1.man
@@ -40,10 +40,10 @@
 .BI \-d cs\c
 ]
 [\c
-.BI \-M dir\c
+.BI \-m name\c
 ]
 [\c
-.BI \-m name\c
+.BI \-M dir\c
 ]
 [\c
 .BI \-n num\c
@@ -58,10 +58,10 @@
 .BI \-T name\c
 ]
 [\c
-.BI \-W warning\c
+.BI \-w warning\c
 ]
 [\c
-.BI \-w warning\c
+.BI \-W warning\c
 ]
 .RI [ file
 \&.\|.\|.\&]
@@ -126,7 +126,7 @@ It first tries the
 .IR locale (1)
 program,
 then checks several locale-related environment variables;
-see \(lqENVIRONMENT\(rq, below.
+see section \[lq]ENVIRONMENT\[rq], below.
 .
 If all of the foregoing fail,
 .B \-Tascii
@@ -145,18 +145,14 @@ and
 options
 are equivalent to
 .IR grotty 's
-options
-.B \-h
-(use horizontal tab characters in the output) and
-.B \-c
-(use the legacy output scheme instead of ISO 6429 SGR escape sequences).
+options of the same names.
 .
 The
-.BR \-d ,
 .BR \-C ,
+.BR \-d ,
 .BR \-i ,
-.BR \-M ,
 .BR \-m ,
+.BR \-M ,
 .BR \-n ,
 .BR \-o ,
 .BR \-r ,
@@ -167,14 +163,15 @@ options have the effect described in
 .IR @g@troff (@MAN1EXT@).
 .
 In addition,
-.I @g@nroff
-ignores
+this implementation ignores the traditional Unix
+.I nroff
+options
 .BR \-e ,
 .BR \-q ,
 and
 .B \-s
-(which are not implemented in GNU
-.IR troff ).
+(which are not implemented in
+.IR groff ).
 .
 The options
 .B \-p



reply via email to

[Prev in Thread] Current Thread [Next in Thread]