gbranden pushed a commit to branch master
in repository groff.
commit cbb1d84e40f19ca8ee274518b9d7470c9654b163
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat May 20 02:02:27 2023 -0500
gdiffmk(1): Fix content and style nits.
Content:
* Mention Busybox diff as an implementation that is known to not support
gdiffmk.
* Document deletion delimiter marks under the `-M` option, which takes
them as parameters, instead of under the `-D` option.
Style:
* Recast, clarify, and tighten.
* Use active voice more.
---
contrib/gdiffmk/gdiffmk.1.man | 33 +++++++++++++++++++--------------
1 file changed, 19 insertions(+), 14 deletions(-)
diff --git a/contrib/gdiffmk/gdiffmk.1.man b/contrib/gdiffmk/gdiffmk.1.man
index bb0a27675..36f30b778 100644
--- a/contrib/gdiffmk/gdiffmk.1.man
+++ b/contrib/gdiffmk/gdiffmk.1.man
@@ -94,34 +94,38 @@ documents,
.I file1
and
.IR file2 ,
-and creates an output which is
+and creates a
+.I roff
+document consisting of
.I file2
with added margin character
.RB ( .mc )
-requests that indicate the lines with differences.
-.
+requests indicating output lines that differ from
+.I file1.
.
-.LP
If the
.I file1
or
.I file2
argument is
.RB \[lq] \- \[rq],
-the standard input stream is read for that input.
+.I gdiffmk
+reads the standard input stream for that input.
.
If the
.I output
-filename is present,
-the output is written there.
+operand is present,
+.I gdiffmk
+writes output to a file of that name.
.
If it is
.RB \[lq] \- \[rq]
or absent,
-the output is written to the standard output stream.
+.I gdiffmk
+writes output to the standard output stream.
.
.RB \[lq] \- \[rq]
-cannot be both input and output.
+cannot be both an input and output operand.
.
.
.\" ====================================================================
@@ -191,9 +195,6 @@ Default:
.B \-D
Show the deleted portions from changed and deleted text.
.
-Default delimiting marks:
-.RB \[lq] [[ "\[rq] .\|.\|.\& \[lq]" ]] \[rq].
-.
.
.TP
.BI \-M\~ "mark1 mark2"
@@ -204,6 +205,10 @@ option.
It makes no sense to use this option without
.BR \-D .
.
+Default delimiting marks:
+.RB \[lq] [[ "\[rq] .\|.\|.\& \[lq]" ]] \[rq].
+.
+.
.TP
.BI \-x\~ diff-command
Use the
@@ -251,9 +256,9 @@ option of GNU
.I diff
to make a merged \[lq]#ifdef\[rq] output format.
.
-It hasn't been tested whether other versions of
+Busybox
.I diff
-support this option.
+is known to not support it.
.
Also see the
.BI \-x\~ diff-command
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit