Name

rcsdiff

Synopsis

                  rcsdiff [options] [diff_options] files
               

Compare revisions via diff. Specify revisions using -r as follows:

Number of revisions specified

Comparison made

0

Working file against latest revision

1

Working file against specified revision

2

One revision against the other

rcsdiff accepts the standard options -q, -V, -x, and -z, as well as diff_options, which can include any valid diff option. rcsdiff exits with a status of 0 (no differences), 1 (some differences), or 2 (unknown problem).

Options

-k c

When comparing revisions, expand keywords using style c. (See co for values of c.)

-r R1

Use revision R1 in the comparison.

-r R2

Use revision R2 in the comparison. (-r R1 must also be specified.)

-T

Preserve the modification time on the RCS file.

Get Linux in a Nutshell, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.