Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought



DIFFMK(1)       DOMAIN/IX Reference Manual (SYS5)       DIFFMK(1)



NAME
     diffmk - mark differences between files

USAGE
     diffmk name1 name2 name3

DESCRIPTION
     Diffmk is a Shell procedure that compares two versions of a
     file and creates a third file that includes ``change mark''
     commands for nroff (1) or troff (1). Name1 and name2 are the
     old and new versions of the file.  Diffmk generates name3,
     which contains the lines of name2 plus inserted formatter
     ``change mark'' (.mc) requests.  When name3 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
     using a single asterisk (*).

     If the pipe (|) and asterisk (*) characters are inappropri-
     ate, you may edit a copy of diffmk to change them.

EXAMPLE
     To use diffmk as a means for producing listings of C (or
     other) programs with changes marked, type the following:

          diffmk old.c new.c tmp; nroff macs

     The file macs might contain this:

          .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.

CAUTIONS
     You many need to adjust some output manually.  For example,
     file differences involving only formatting requests may pro-
     duce undesirable output. Replacing one space with two pro-
     duces a ``change mark'' on the preceding or following line
     of output.

RELATED INFORMATION
     diff (1), nroff (1), troff (1).











Printed 6/10/85                                          DIFFMK-1



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