![]() |
![]()
| ![]() |
![]()
Namegdiffmk - mark differences between groff/nroff/troff files Synopsis
Descriptiongdiffmk compares two roff(7) documents, file1 and file2, and creates a roff document consisting of file2 with added margin character (.mc) requests indicating output lines that differ from file1. If the file1 or file2 argument is “-”, gdiffmk reads the standard input stream for that input. If the output operand is present, gdiffmk writes output to a file of that name. If it is “-” or absent, gdiffmk writes output to the standard output stream. “-” cannot be both an input and output operand. Options--help displays a usage message and --version shows version information; both exit afterward.
BugsThe output is not necessarily compatible with all macro packages and all preprocessors. A workaround that often overcomes preprocessor problems is to run gdiffmk on the output of all the preprocessors instead of the input source. gdiffmk relies on the -D option of GNU diff to make a merged “#ifdef” output format. Busybox diff is known to not support it. Also see the -x diff-command option. Authorsgdiffmk was written by Mike Bianchi, now retired. It is maintained by the groff developers. See alsogroff(1), nroff(1), gtroff(1), roff(7), diff(1)
|