gbranden pushed a commit to branch master
in repository groff.

commit 27269b8913ce0c7bafa848307f425b93aac5b9e2
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Sep 4 03:23:45 2024 -0500

    [doc,man]: Clarify `lf` request description.
    
    The optional second argument is truly just a name, and not used to
    access a file in the operating system, unlike other requests that use
    the "file" or "file-name" metasyntactic variable.
---
 doc/groff.texi.in | 4 ++--
 man/groff.7.man   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index ae1786fb1..57e515b7a 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -17054,14 +17054,14 @@ exceptions, registers, page location traps, and a 
list of output nodes
 corresponding to the pending input line to the standard error stream.
 @c END Keep parallel with section "Debugging" of groff(7).
 
-@Defreq {lf, line [@Var{file}]}
+@Defreq {lf, line [@Var{name}]}
 @pindex soelim
 @cindex multi-file documents
 @cindex documents, multi-file
 @cindex assign input line number request (@code{lf})
 @cindex input line number, assignment, request (@code{lf})
 @cindex number, input line, assignment request (@code{lf})
-Set the input line number (and, optionally, the file name) GNU
+Set the input line number (and, optionally, the name) GNU
 @code{troff} shall use for error and warning messages.  @var{line} is
 the input line number of the @emph{next} line.  Without an argument, the
 request is ignored.
diff --git a/man/groff.7.man b/man/groff.7.man
index 8c1163bef..cea8e1466 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -3627,11 +3627,11 @@ Set number of next input line to
 .IR n .
 .
 .TPx
-.REQ .lf "n file-name"
+.REQ .lf "n f"
 Set number of next input line to
 .I n
 and report input file name as
-.IR file-name .
+.IR f .
 .
 .TPx
 .REQ .lg

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

Reply via email to