Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ diffmk(1) — A/UX 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

bdiff(1)

cmp(1)

diff(1)

diff3(1)

nroff(1)

troff(1)




diffmk(1) diffmk(1)
NAME diffmk - mark differences between files SYNOPSIS diffmk [-] file1 file2 file3 DESCRIPTION diffmk compares two versions of a file and creates a third file that includes ``change mark'' requests (.mc) for nroff(1) or troff(1). The placeholders file1 and file2 are the old and new versions of the file. If - is given, file1 is read from standard input. diffmk generates file3, which contains the lines of file2 plus inserted formatter ``change mark'' requests. When file3 is formatted, changed or in- serted text is shown by | at the right margin of each line. The position of deleted text is shown by *, a single aster- isk. If anyone is so inclined, diffmk can be used to produce listings of C (or other) programs with changes marked. 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 pro- grams. FILES /usr/bin/diffmk SEE ALSO bdiff(1), cmp(1), diff(1), diff3(1), nroff(1), troff(1). BUGS Aesthetic considerations may dictate manual adjustment of some output. File differences involving only formatting re- quests may produce undesirable output. For example, replac- ing .sp by .sp 2 produces a ``change mark'' on the preceding or following line of output. April, 1990 1

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026