LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

rcsdiff

Compare RCS file revisions

TLDR

Compare working file with latest revision
$ rcsdiff [file]
copy
Compare specific revisions
$ rcsdiff -r[1.1] -r[1.2] [file]
copy
Unified diff format
$ rcsdiff -u [file]
copy
Context diff format
$ rcsdiff -c [file]
copy
Compare with specific revision
$ rcsdiff -r[1.5] [file]
copy
Side by side
$ rcsdiff -y [file]
copy

SYNOPSIS

rcsdiff [-r rev1] [-r rev2] [-u] [-c] file

DESCRIPTION

rcsdiff compares revisions of files managed by the Revision Control System (RCS). Without a -r flag, it compares the current working file against the latest checked-in revision, showing local modifications. With one -r flag it compares the working file against a specific revision, and with two -r flags it compares two historical revisions directly.The tool supports all standard diff output formats including unified (-u), context (-c), side-by-side (-y), and normal diff. It passes through options to the underlying diff command, making it a convenient wrapper for comparing version-controlled file histories.

PARAMETERS

-r REV

Revision to compare.
-u
Unified diff output.
-c
Context diff output.
-y
Side by side.
-q
Quiet mode.
-n
RCS format output.

INSTALL

sudo apt install rcs
copy
sudo dnf install rcs
copy
sudo pacman -S rcs
copy
sudo apk add rcs
copy
sudo zypper install rcs
copy
brew install rcs
copy
nix profile install nixpkgs#rcs
copy

CAVEATS

RCS is legacy system. Consider Git instead. File-level versioning only.

HISTORY

rcsdiff is part of RCS (Revision Control System), created by Walter Tichy in 1982 at Purdue University.

SEE ALSO

rcs(1), ci(1), co(1), diff(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid