HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

rcsdiff — Compare RCS revisions (show differences between revisions in RCS files). See also: `ci`, `co`, `rcs`

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandshowclirevisionscomparercsdifferencesrcsdiff

Problem

How to use the rcsdiff command: Compare RCS revisions (show differences between revisions in RCS files). See also: ci, co, rcs, rlog. More information: <https://manned.org/rcsdiff>.

Solution

rcsdiff — Compare RCS revisions (show differences between revisions in RCS files). See also: ci, co, rcs, rlog. More information: <https://manned.org/rcsdiff>.

Compare the working file with the latest revision:
rcsdiff {{path/to/file}}


Compare the working file with a specific revision:
rcsdiff -r{{revision}} {{path/to/file}}


Compare two specific revisions of a file:
rcsdiff -r{{revision1}} -r{{revision2}} {{path/to/file}}


Show differences in unified format:
rcsdiff -u {{path/to/file}}


Show differences with context lines:
rcsdiff -c {{path/to/file}}

Code Snippets

Compare the working file with the latest revision

rcsdiff {{path/to/file}}

Compare the working file with a specific revision

rcsdiff -r{{revision}} {{path/to/file}}

Compare two specific revisions of a file

rcsdiff -r{{revision1}} -r{{revision2}} {{path/to/file}}

Show differences in unified format

rcsdiff -u {{path/to/file}}

Show differences with context lines

rcsdiff -c {{path/to/file}}

Context

tldr-pages: common/rcsdiff

Revisions (0)

No revisions yet.