01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DIFFMK(l) DIFFMK( l)<br />

NAME<br />

diffmk - mark differences between files<br />

SYNOPSIS<br />

diffmk [ - - ] filet file2 file3<br />

DESCRIPTION<br />

diffmk compares two versions of a file and creates a third file that<br />

includes "change mark" requests (.me) for nroff( l) or troff filel and<br />

file2 are the old and new versions of the file. diffmk generates file3 ,<br />

which contains the lines of file2 plus inserted formatter "change mark"<br />

requests. When file3 is formatted, changed or inserted text is shown by<br />

I at the right margin of each line. The position of deleted text is shown<br />

by a single asterisk: *·<br />

If anyone is so inclined, diffmk can be used to produce listings of C (or<br />

other) programs with changes marked. A typical command line for such<br />

use is<br />

ditTmk old.c new.c tmp; nroff macs tmp I pr<br />

where the file macs contains<br />

.pl 1<br />

.11 77<br />

.nf<br />

.eo<br />

.ec ,<br />

The .ll request might specify a different line length, depending on the<br />

nature of the program being printed. The .eo and .ec requests are probably<br />

needed only for C programs.<br />

SEE ALSO<br />

man(l), mm(l), and nroff(l).<br />

BUGS<br />

Where diffmk encounters - it uses the standard input.<br />

Aesthetic considerations may dictate manual adjustment of some output.<br />

File differences involving only formatting requests may produce undesir -<br />

able output, i.e., replacing .sp by .sp 2 will produce a "change mark" on<br />

the preceding or following line of output.<br />

- 1 -<br />

·�<br />

I

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!