O'Reilly logo

Linux in a Nutshell, Fourth Edition by Aaron Weber, Stephen Figgins, Ellen Siever

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required