diffmk(1) diffmk(1)NAME diffmk - marks the differences between two files SYNOPSIS diffmk [-] file1 file2 file3 ARGUMENTS - Causes diffmk to read file1 from the standard input. file1 Specifies the older version of a file. file2 Specifies the newer version of a file. file3 Specifies the file that is generated by diffmk, which contains the lines of file2 plus inserted formatter ``change mark'' requests. DESCRIPTION diffmk compares two versions of a file and creates a third file that includes ``change mark'' requests (.mc) for nroff or troff. When file3 is formatted, changed, or inserted, text is shown by a pipe (|) at the right margin of each line. The position of deleted text is shown by a single asterisk (*). If anyone is so inclined, diffmk can be used to produce listings of C (or other) programs with changes marked. EXAMPLES A typical command line for such use is: diffmk old.c new.c tmp; nroff macs tmp | lp where the file macs contains .pl 1 .ll 77 .nf .eo .nc The .ll request might specify a different line length, depending on the nature of the program being printed. The .eo and .nc requests are probably needed only for C programs. January 1992 1
diffmk(1) diffmk(1)LIMITATIONS Aesthetic considerations may dictate manual adjustment of some output. File differences involving only formatting requests may produce undesirable output. For example, replacing .sp by .sp 2 produces a ``change mark'' on the preceding or following line of output. FILES /usr/bin/diffmk Executable file SEE ALSO bdiff(1), cmp(1), diff(1), diff3(1), nroff(1), troff(1) 2 January 1992