RCSDIFF(1)
π RCSDIFF(1) β like, the whole manual, bestie β¨
okay so this is rcsdiff from the General Commands Manual crew, and I'm gonna walk you through it like we're texting at 2am π«Ά
πΈ NAME πΈ
rcsdiff β compare RCS revisions. that's it. that's the whole vibe check π
β¨ SYNOPSIS β¨
rcsdiff [ -ksubst ] [ -q ] [ -rrev1 [ -rrev2 ] ] [ -T ] [ -V[n] ] [
-xsuffixes ] [ -zzone ] [ diff options ] file ...
π¦ DESCRIPTION π¦
So rcsdiff literally just runs diff(1) to compare two revisions of each RCS file you hand it. that's the whole job, and it does it iconically π
Filenames that match an RCS suffix? those are RCS files, periodt. everything else is a working file. and the names get paired up the way ci(1) explains it β go read that one, iykyk π
-qsuppresses diagnostic output. silencing the haters, honestly π- you can give zero, one, or two revisions with
-r. zero? one? two? all valid, she's flexible β¨ -ksubstaffects keyword substitution when extracting revisions, exactly as described inco(1). like, for example:-kk -r1.1 -r1.2ignores differences in keyword values when comparing revisions 1.1 and 1.2. so clean π₯
okay this next bit is a whole paragraph but it MATTERS, so pay attention bestie:
To avoid excess output from locker name substitution, -kkvl is assumed if all four of these are true:
- at most one revision option is given
- no
-koption is given -kkvis the default keyword substitution- the working file's mode would be produced by
co -l
See co(1) for the deets about -T, -V, -x and -z β she's the main character of that info, not this page π
Otherwise? all options of diff(1) that apply to regular files are accepted, with the same meaning as for diff. yes literally all of them, go off π
π§ the three revision scenarios (this is the good part) π§
both rev1 and rev2 omitted β rcsdiff compares the latest revision on the default branch (by default the trunk) with the contents of the corresponding working file. super useful for figuring out what you changed since the last checkin. "what have i done since then" energy π
rev1 given, rev2 omitted β rcsdiff compares revision rev1 of the RCS file with the contents of the corresponding working file. one foot in history, one foot in the present π¦
both rev1 and rev2 given β rcsdiff compares revisions rev1 and rev2 of the RCS file. full time travel, no working file needed β
and just so we're clear: both rev1 and rev2 may be given numerically or symbolically. numbers, names, whatever feels right π
π EXAMPLE π
the command
rcsdiff f.c
compares the latest revision on the default branch of the RCS file to the contents of the working file f.c. short, sweet, slayed π
π₯ ENVIRONMENT π₯
RCSINITβ options prepended to the argument list, separated by spaces. a backslash escapes spaces within an option. theRCSINIToptions get prepended to the argument lists of most RCS commands. usefulRCSINIToptions include-q,-V,-x, and-z. lowkey a little pre-game ritual for your args πRCS_MEM_LIMITβ normally, for speed, commands either memory map or copy into memory the RCS file if its size is less than the memory-limit, currently defaulting tounlimited. otherwise (or if the initially-tried speedy ways fail), the commands fall back to using standard i/o routines. you can adjust the memory limit by settingRCS_MEM_LIMITto a numeric value lim (measured in kilobytes). an empty value is silently ignored. as a side effect, specifyingRCS_MEM_LIMITinhibits fall-back to slower routines. ngl that side effect is a little spicy, so know it before you set it πΆοΈTMPDIRβ name of the temporary directory. if not set, the environment variablesTMPandTEMPare inspected instead and the first value found is taken; if none of them are set, a host-dependent default is used, typically/tmp. the backup-plan chain of directories, honestly π
π DIAGNOSTICS π
Exit status is 0 for no differences during any comparison, 1 for some differences, 2 for trouble. three moods, all valid π
π IDENTIFICATION π
giving credit where credit is due, respectfully:
- Author: Walter F. Tichy.
- Manual Page Revision: 5.10.1; Release Date: 2024-10-01.
- Copyright Β© 2010-2022 Thien-Thi Nguyen.
- Copyright Β© 1990, 1991, 1992, 1993 Paul Eggert.
- Copyright Β© 1982, 1988, 1989 Walter F. Tichy.
π SEE ALSO π
Walter F. Tichy, RCS--A System for Version Control, Software--Practice & Experience 15, 7 (July 1985), 637-654. academic baddie behavior πβ¨
The full documentation for RCS is maintained as a Texinfo manual. if the info(1) and RCS programs are properly installed at your site, the command
info rcs
should give you access to the complete manual. additionally, the RCS homepage:
http://www.gnu.org/software/rcs/
has news and links to the latest release, development site, etc. go peek, it's giving archives π¦
okay that's the whole page, no notes π and yeah β this beautiful thing is GNU RCS 5.10.1, dated 2024-10-01, from the bottom of the manpage like a little signature. mwah, stan π«Άβ¨
π¦ where this page comes from
- opensuse-leap 16.0: rcs 5.10.1-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: rcs 5.10.1-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: rcs 5.10.1-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: rcs 5.10.1-160000.2.2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms