[Top][All Lists]

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

[groff] 02/02: Make editorial fixes.

From: G. Branden Robinson
Subject: [groff] 02/02: 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 Make editorial fixes.
    * Use the word "section" in section references, not just a quoted
    * Also use groff character escapes since we're not in compatibility mode
    * 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/ | 29 +++++++++++++----------------
 1 file changed, 13 insertions(+), 16 deletions(-)

diff --git a/src/roff/nroff/ b/src/roff/nroff/
index 904c4b4..3b264eb 100644
--- a/src/roff/nroff/
+++ b/src/roff/nroff/
@@ -40,10 +40,10 @@
 .BI \-d cs\c
-.BI \-M dir\c
+.BI \-m name\c
-.BI \-m name\c
+.BI \-M dir\c
 .BI \-n num\c
@@ -58,10 +58,10 @@
 .BI \-T name\c
-.BI \-W warning\c
+.BI \-w warning\c
-.BI \-w warning\c
+.BI \-W warning\c
 .RI [ file
@@ -126,7 +126,7 @@ It first tries the
 .IR locale (1)
 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
 are equivalent to
 .IR grotty 's
-.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.
-.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
+this implementation ignores the traditional Unix
+.I nroff
 .BR \-e ,
 .BR \-q ,
 .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]