GDIFFMK - Online Linux Manual PageSection : 1
Updated : 20 January 2022
Source : groff 1.22.4

NAMEgdiffmk − mark differences between groff/nroff/troff files

SYNOPSIS gdiffmk [ −a addmark ] [ −c changemark ] [ −d deletemark ] [−D [−B] [−M mark1 mark2]] [ −x diffcmd ] [ −− ] file1 file2 [output] gdiffmk−−help gdiffmk−−version

DESCRIPTION gdiffmk compares two groff(1), nroff(1), or troff(1) documents, file1 and file2, and creates an output which is file2 with added margin character (.mc) commands that indicate the differences. If the output filename is present, the output is written there. If it is or absent the output is written to the standard output. If the file1 or file2 argument is the standard input is read for that input. Clearly both cannot be . Note that the output is not necessarily compatible with all macro packages and all preprocessors. See section Bugs below.

OPTIONS −aaddmark  Use the addmark for source lines not in file1 but present in file2. Default: +. −B  By default, the deleted texts marked by the −D option end with an added troff break command, .br, to ensure that the deletions are marked properly. This is the only way to guarantee that deletions and small changes get flagged. This option directs the program not to insert these breaks; it makes no sense to use it without −D. −cchangemark  Use the changemark for changed source lines. Default: |. −ddeletemark  Use the deletemark for deleted source lines. Default: *. −D  Show the deleted portions from changed and deleted text. Default delimiting marks: [[ ​. . .​ ]]. −Mmark1 mark2  Change the delimiting marks for the −D option. It makes no sense to use this option without −D. −xdiffcmd  Use the diffcmd command to perform the comparison of file1 and file2. In particular, diffcmd should accept the GNU diff −Dname option. Default: diff(1). −−  All the following arguments are treated as file names, even if they begin with . −−help  Print a usage message on standard error output and exit. −−version  Print version information on the standard output and exit.

BUGS The output is not necessarily compatible with all macro packages and all preprocessors. A workaround that is often successful against preprocessor problems is to run gdiffmk on the output of all the preprocessors instead of the input source. gdiffmk relies on the −Dname option of GNU diff(1) to make a merged #ifdef output format. It hasn't been tested whether other versions of diff(1) do support this option. See also the −xdiffcmd option.

AUTHORS gdiffmk was written and is maintained by Mike Bianchi .

SEE ALSO groff(1), nroff(1), gtroff(1), diff(1)
0
Johanes Gumabo
Data Size   :   11,843 byte
man-gdiffmk.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 166,137
Visitor ID   :     :  
Visitor IP   :   3.22.41.80   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.