{
    "content": [
        {
            "type": "text",
            "text": "# RCSDIFF (man)\n\n## NAME\n\nrcsdiff - compare RCS revisions\n\n## SYNOPSIS\n\nrcsdiff [ -ksubst ] [ -q ] [ -rrev1 [ -rrev2 ] ] [ -T ] [ -V[n] ] [ -xsuffixes ] [ -zzone ] [\ndiff options ] file ...\n\n## DESCRIPTION\n\nrcsdiff runs diff(1) to compare two revisions of each RCS file given.\n\n## TLDR\n\n> Compare RCS revisions (show differences between revisions in RCS files).\n\n- Compare the working file with the latest revision:\n  `rcsdiff {{path/to/file}}`\n- Compare the working file with a specific revision:\n  `rcsdiff -r{{revision}} {{path/to/file}}`\n- Compare two specific revisions of a file:\n  `rcsdiff -r{{revision1}} -r{{revision2}} {{path/to/file}}`\n- Show differences in unified format:\n  `rcsdiff -u {{path/to/file}}`\n- Show differences with context lines:\n  `rcsdiff -c {{path/to/file}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **EXAMPLE**\n- **ENVIRONMENT**\n- **DIAGNOSTICS**\n- **IDENTIFICATION**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "RCSDIFF",
        "section": "",
        "mode": "man",
        "summary": "rcsdiff - compare RCS revisions",
        "synopsis": "rcsdiff [ -ksubst ] [ -q ] [ -rrev1 [ -rrev2 ] ] [ -T ] [ -V[n] ] [ -xsuffixes ] [ -zzone ] [\ndiff options ] file ...",
        "tldr_summary": "Compare RCS revisions (show differences between revisions in RCS files).",
        "tldr_examples": [
            {
                "description": "Compare the working file with the latest revision",
                "command": "rcsdiff {{path/to/file}}"
            },
            {
                "description": "Compare the working file with a specific revision",
                "command": "rcsdiff -r{{revision}} {{path/to/file}}"
            },
            {
                "description": "Compare two specific revisions of a file",
                "command": "rcsdiff -r{{revision1}} -r{{revision2}} {{path/to/file}}"
            },
            {
                "description": "Show differences in unified format",
                "command": "rcsdiff -u {{path/to/file}}"
            },
            {
                "description": "Show differences with context lines",
                "command": "rcsdiff -c {{path/to/file}}"
            }
        ],
        "tldr_source": "official",
        "flags": [],
        "examples": [
            "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."
        ],
        "see_also": [
            {
                "name": "ci",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/ci/1/json"
            },
            {
                "name": "co",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/co/1/json"
            },
            {
                "name": "diff",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/diff/1/json"
            },
            {
                "name": "ident",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/ident/1/json"
            },
            {
                "name": "rcs",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/rcs/1/json"
            },
            {
                "name": "rcsmerge",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/rcsmerge/1/json"
            },
            {
                "name": "rlog",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/rlog/1/json"
            },
            {
                "name": "info",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/info/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 25,
                "subsections": []
            },
            {
                "name": "EXAMPLE",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "ENVIRONMENT",
                "lines": 17,
                "subsections": []
            },
            {
                "name": "DIAGNOSTICS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "IDENTIFICATION",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 19,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "rcsdiff - compare RCS revisions\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "rcsdiff [ -ksubst ] [ -q ] [ -rrev1 [ -rrev2 ] ] [ -T ] [ -V[n] ] [ -xsuffixes ] [ -zzone ] [\ndiff options ] file ...\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "rcsdiff runs diff(1) to compare two revisions of each RCS file given.\n\nFilenames matching an RCS suffix denote RCS files; all others denote  working  files.   Names\nare paired as explained in ci(1).\n\nThe  option  -q  suppresses  diagnostic output.  Zero, one, or two revisions may be specified\nwith -r.  The option -ksubst affects keyword substitution when extracting revisions,  as  de‐\nscribed  in  co(1);  for  example, -kk -r1.1 -r1.2 ignores differences in keyword values when\ncomparing revisions 1.1 and 1.2.  To avoid excess output from locker name substitution, -kkvl\nis  assumed  if (1) at most one revision option is given, (2) no -k option is given, (3) -kkv\nis the default keyword substitution, and (4) the working file's mode  would  be  produced  by\nco -l.   See  co(1)  for  details about -T, -V, -x and -z.  Otherwise, all options of diff(1)\nthat apply to regular files are accepted, with the same meaning as for diff.\n\nIf both rev1 and rev2 are omitted, rcsdiff compares the latest revision on the default branch\n(by  default  the trunk) with the contents of the corresponding working file.  This is useful\nfor determining what you changed since the last checkin.\n\nIf rev1 is given, but rev2 is omitted, rcsdiff compares revision rev1 of the  RCS  file  with\nthe contents of the corresponding working file.\n\nIf both rev1 and rev2 are given, rcsdiff compares revisions rev1 and rev2 of the RCS file.\n\nBoth rev1 and rev2 may be given numerically or symbolically.\n",
                "subsections": []
            },
            "EXAMPLE": {
                "content": "The command\n\nrcsdiff  f.c\n\ncompares  the  latest  revision  on the default branch of the RCS file to the contents of the\nworking file f.c.\n",
                "subsections": []
            },
            "ENVIRONMENT": {
                "content": "RCSINIT\nOptions prepended to the argument list, separated by spaces.  A backslash escapes spa‐\nces within an option.  The RCSINIT options are prepended to the argument lists of most\nRCS commands.  Useful RCSINIT options include -q, -V, -x, and -z.\n\nRCSMEMLIMIT\nNormally, for speed, commands either memory map or copy into memory the  RCS  file  if\nits size is less than the memory-limit, currently defaulting to ``unlimited''.  Other‐\nwise (or if the initially-tried speedy ways fail), the commands  fall  back  to  using\nstandard  i/o routines.  You can adjust the memory limit by setting RCSMEMLIMIT to a\nnumeric value lim (measured in kilobytes).  An empty value is silently ignored.  As  a\nside effect, specifying RCSMEMLIMIT inhibits fall-back to slower routines.\n\nTMPDIR Name  of  the temporary directory.  If not set, the environment variables TMP and TEMP\nare inspected instead and the first value found is taken; if none of them are  set,  a\nhost-dependent default is used, typically /tmp.\n",
                "subsections": []
            },
            "DIAGNOSTICS": {
                "content": "Exit  status  is  0  for  no differences during any comparison, 1 for some differences, 2 for\ntrouble.\n",
                "subsections": []
            },
            "IDENTIFICATION": {
                "content": "Author: Walter F. Tichy.\nManual Page Revision: 5.10.1; Release Date: 2022-02-19.\nCopyright © 2010-2022 Thien-Thi Nguyen.\nCopyright © 1990, 1991, 1992, 1993 Paul Eggert.\nCopyright © 1982, 1988, 1989 Walter F. Tichy.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "ci(1), co(1), diff(1), ident(1), rcs(1), rcsmerge(1), rlog(1).\n\nWalter F. Tichy, RCS--A System for Version Control, Software--Practice  &  Experience  15,  7\n(July 1985), 637-654.\n\nThe  full  documentation  for  RCS is maintained as a Texinfo manual.  If the info(1) and RCS\nprograms are properly installed at your site, the command\n\ninfo rcs\n\nshould give you access to the complete manual.  Additionally, the RCS homepage:\n\nhttp://www.gnu.org/software/rcs/\n\nhas news and links to the latest release, development site, etc.\n\n\n\nGNU RCS 5.10.1                               2022-02-19                                   RCSDIFF(1)",
                "subsections": []
            }
        }
    }
}