groff-commit
[Top][All Lists]
Advanced

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

[groff] 13/16: [doc,man]: De-document file name limitation.


From: G. Branden Robinson
Subject: [groff] 13/16: [doc,man]: De-document file name limitation.
Date: Sun, 15 Dec 2024 16:34:40 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 262557916f4e62f3b69ce2fc0d3157ac2ffad5b2
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Dec 15 11:20:57 2024 -0600

    [doc,man]: De-document file name limitation.
    
    The formatter now accepts tabs and spaces in request arguments naming
    files.
    
    Continues commit f4c19e6e44, 12 November.
    
    Also:
    
    * doc/groff.texi.in (Groff Options) <-U>: Synchronize with troff(1).
---
 doc/groff.texi.in | 33 ++++++++++++++++++++++++++-------
 man/groff.7.man   |  7 +++----
 2 files changed, 29 insertions(+), 11 deletions(-)

diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index 3c83bb35f..fe249c0a9 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -1306,15 +1306,34 @@ and Font Description Files}.)  This selection can be 
overridden with the
 @item -U
 @cindex mode, unsafe
 @cindex unsafe mode
-Operate in @dfn{unsafe mode}, which enables the @code{open},
-@code{opena}, @code{pi}, @code{pso}, and @code{sy} requests.  These
-requests are disabled by default because they allow an untrusted input
+Operate in
+@dfn{unsafe mode},
+enabling the
+@code{open},
+@code{opena},
+@code{pi},
+@code{pso},
+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 tabs, newlines (line feeds), or spaces in file
-names supplied as arguments to requests.} and run arbitrary commands.
+does not, however, accept newlines (line feeds) in file names supplied
+as arguments to requests.} and run arbitrary commands.
 This option also adds the current directory to the macro package search
-path; see the @option{-m} option above.  @command{groff} passes
-@option{-U} to @command{gpic} and @command{gtroff}.
+path;
+see the
+@option{-m}
+and
+@option{-M}
+option above.
+@command{groff}
+passes
+@option{-U}
+to
+@command{gpic}
+and GNU
+@command{troff}.
 
 @item -v
 Write version information for @command{groff} and all programs run by it
diff --git a/man/groff.7.man b/man/groff.7.man
index 121ab27dc..410a002a3 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -2283,10 +2283,9 @@ system.
 .
 GNU
 .I troff \" GNU
-does not accept tabs,
-newlines
-(line feeds),
-or spaces in file names supplied as arguments to requests.
+does not accept newlines
+(line feeds)
+in file names supplied as arguments to requests.
 .
 .TPx
 .I font



reply via email to

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