gbranden pushed a commit to branch master
in repository groff.

commit c486c34606feaa3a10b99be65b8d06a15997cf78
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue May 31 15:49:09 2022 -0500

    [docs]: Sync desc of GROFF_ENCODING env variable.
---
 doc/groff.texi             | 15 +++++++--------
 src/roff/groff/groff.1.man |  2 +-
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/doc/groff.texi b/doc/groff.texi
index 674edbe8..0f596d9d 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -1345,14 +1345,13 @@ used, none otherwise.
 
 @item GROFF_ENCODING
 @tindex GROFF_ENCODING@r{, environment variable}
-The value of this environment variable is passed to the @code{preconv}
-preprocessor to select the encoding of input files.  Setting this
-variable implies @code{groff}'s command-line option @option{-k} (that
-is, @code{groff} always calls @code{preconv}).  If set without a value,
-@code{groff} calls @code{preconv} without arguments.  An explicit
-@option{-K} command-line option overrides the value of
-@env{GROFF_ENCODING}.  See the @cite{preconv@r{(7)}} man page; type
-@samp{man preconv} at the command line to view it.
+The value of this variable is passed to the @code{preconv}
+preprocessor's @option{-e} option to select the character encoding of
+input files.  This variable's existence implies the @code{groff} option
+@option{-k}.  If set but empty, @code{groff} calls @code{preconv}
+without an @option{-e} option.  @code{groff}'s @option{-K} option
+overrides @env{GROFF_ENCODING}.  See the @cite{preconv@r{(7)}} man page;
+type @samp{man preconv} at the command line to view it.
 
 @item GROFF_FONT_PATH
 @tindex GROFF_FONT_PATH@r{, environment variable}
diff --git a/src/roff/groff/groff.1.man b/src/roff/groff/groff.1.man
index eaf41181..577cd890 100644
--- a/src/roff/groff/groff.1.man
+++ b/src/roff/groff/groff.1.man
@@ -1672,7 +1672,7 @@ The value of this variable is passed to the
 .IR preconv (@MAN1EXT@)
 preprocessor's
 .B \-e
-option to set the encoding of input files.
+option to select the character encoding of input files.
 .
 This variable's existence implies
 the

_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to