gbranden pushed a commit to branch master
in repository groff.
commit 2d76bde577a0b5b016b7588bd328b2947aef9bd0
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Mar 31 07:35:46 2025 -0500
troff(1): Clarify `-U` option description.
...and parallelize language and breaks between Texinfo and man page.
---
doc/groff.texi.in | 11 ++++++++---
src/roff/troff/troff.1.man | 11 ++++++-----
2 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index e8177e953..4a4dd6b2f 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -1326,9 +1326,14 @@ and
@code{sy}
requests,
which are disabled by default because they allow an untrusted input
-document to write to arbitrary file names@footnote{GNU @command{troff}
-does not, however, accept newlines (line feeds) in file names supplied
-as arguments to requests.} and run arbitrary commands.
+document to run arbitrary commands
+and write to arbitrary file names.@footnote{GNU @command{troff}
+does not,
+however,
+accept tabs or newlines
+(line feeds)
+in file names supplied as arguments to requests.}
+@c ...nor other characters invalid as input; Savannah #65108.
This option also adds the current directory to the macro package search
path;
see the
diff --git a/src/roff/troff/troff.1.man b/src/roff/troff/troff.1.man
index 3d2dd0bf4..5bb18e45e 100644
--- a/src/roff/troff/troff.1.man
+++ b/src/roff/troff/troff.1.man
@@ -486,16 +486,17 @@ and
.B sy
requests,
which are disabled by default because they allow an untrusted input
-document to write to arbitrary file names and run arbitrary commands.
+document to run arbitrary commands
+and write to arbitrary file names.
.
(GNU
.I troff \" GNU
does not,
however,
-accept tabs,
-newlines
-(line feeds),
-or spaces in file names supplied as arguments to requests.)
+accept tabs or newlines
+(line feeds)
+in file names supplied as arguments to requests.)
+.\" ...nor other characters invalid as input; Savannah #65108.
.
This option also adds the current directory to the macro package search
path;
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit