{
    "content": [
        {
            "type": "text",
            "text": "# rlog(1) (man)\n\n## TLDR\n\n> Print the revision log of RCS files.\n\n- Display the complete revision history of a file:\n  `rlog {{path/to/file}}`\n- Display only the header information (no revision details):\n  `rlog -h {{path/to/file}}`\n- Display information for a specific revision:\n  `rlog -r{{revision}} {{path/to/file}}`\n- Display revisions within a date range:\n  `rlog -d\"{{start_date}}<{{end_date}}\" {{path/to/file}}`\n- Display revisions by a specific author:\n  `rlog -w{{author}} {{path/to/file}}`\n\n*Source: tldr-pages*\n\n---\n\n**Summary:** rlog - print log messages and other information about RCS files\n\n**Synopsis:** rlog [ options ] file ...\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -l | — | — | and -R. |\n| -R | — | — | name into an RCS file name. |\n| -h | — | — | locks, symbolic names, and suffix. |\n| -h | — | — |  |\n| -N | — | — |  |\n| -b | — | — | on the trunk. |\n| -d | — | — | Print information about revisions with a checkin date/time in the ranges given by the semicolon-separated list of dates. |\n| -l | — | — | Print information about locked revisions only. In addition, if the comma-separated list lockers of login names is given, |\n| -r | — | — | prints information about revisions given in the comma-separated list revisions of revi‐ sions and ranges. A range rev1:r |\n| -s | — | — | prints information about revisions whose state attributes match one of the states given in the comma-separated list stat |\n| -w | — | — | prints information about revisions checked in by users with login names appearing in the comma-separated list logins. If |\n| -q | — | — |  |\n| -T | — | — |  |\n| -V | — | — |  |\n| -V | — | — |  |\n| -x | — | — | Use suffixes to characterize RCS files. See ci(1) for details. rlog prints the intersection of the revisions selected wi |\n| -z | — | — | -ddates option. The zone should be empty, a numeric UTC offset, or the special string LT for local time. The default is  |\n| -z | — | — | -zLT 1990-01-11 20:00:00-08 -z+05:30 1990-01-12 09:30:00+05:30 |\n\n## Examples\n\n- `rlog  -L  -R  RCS/*`\n- `rlog  -L  -h  RCS/*`\n- `rlog  -L  -l  RCS/*`\n- `rlog  RCS/*`\n- `The  first command prints the names of all RCS files in the subdirectory RCS that have locks.`\n- `The second command prints the headers of those files, and the third prints the  headers  plus`\n- `the log messages of the locked revisions.  The last command prints complete information.`\n\n## See Also\n\n- ci(1)\n- co(1)\n- ident(1)\n- rcs(1)\n- rcsdiff(1)\n- rcsmerge(1)\n- rcsfile(5)\n- info(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (15 lines) — 18 subsections\n  - -L -h -l (2 lines)\n  - -R (2 lines)\n  - -h (2 lines)\n  - -t -h (1 lines)\n  - -N (1 lines)\n  - -b (2 lines)\n  - -d (9 lines)\n  - -l (4 lines)\n  - -r (9 lines)\n  - -s (3 lines)\n  - -w (3 lines)\n  - -q (1 lines)\n  - -T (1 lines)\n  - -V (1 lines)\n  - -V (1 lines)\n  - -x (5 lines)\n  - -z (8 lines)\n  - -z        1990/01/12 04:00:00        _(default) (3 lines)\n- **EXAMPLES** (9 lines)\n- **ENVIRONMENT** (17 lines)\n- **DIAGNOSTICS** (2 lines)\n- **IDENTIFICATION** (6 lines)\n- **SEE ALSO** (16 lines)\n- **BUGS** (7 lines)\n\n## Full Content\n\n### NAME\n\nrlog - print log messages and other information about RCS files\n\n### SYNOPSIS\n\nrlog [ options ] file ...\n\n### DESCRIPTION\n\nrlog prints information about RCS files.\n\nFilenames  matching  an  RCS suffix denote RCS files; all others denote working files.  Names\nare paired as explained in ci(1).\n\nrlog prints the following information for each RCS file: RCS file name,  working  file  name,\nhead  (i.e.,  the  number  of the latest revision on the trunk), default branch, access list,\nlocks, symbolic names, suffix, total number of revisions, number of  revisions  selected  for\nprinting,  and  descriptive  text.  This is followed by entries for the selected revisions in\nreverse chronological order for each branch.  For each revision, rlog prints revision number,\nauthor,  date/time,  state, number of lines added/deleted (with respect to the previous revi‐\nsion), locker of the revision (if any), and log message.  All times are displayed in  Coordi‐\nnated Universal Time (UTC) by default; this can be overridden with -z.  Without options, rlog\nprints complete information.  The options below restrict this output.\n\n#### -L -h -l\n\nand -R.\n\n#### -R\n\nname into an RCS file name.\n\n#### -h\n\nlocks, symbolic names, and suffix.\n\n#### -t -h\n\n#### -N\n\n#### -b\n\non the trunk.\n\n#### -d\n\nPrint information about revisions with a checkin date/time in the  ranges  given  by  the\nsemicolon-separated  list of dates.  A range of the form d1<d2 or d2>d1 selects the revi‐\nsions that were deposited between d1 and d2 exclusive.  A range of the form <d or d>  se‐\nlects  all  revisions earlier than d.  A range of the form d< or >d selects all revisions\ndated later than d.  If < or > is followed by = then the ranges are inclusive, not exclu‐\nsive.  A range of the form d selects the single, latest revision dated d or earlier.  The\ndate/time strings d, d1, and d2 are in the free format explained in  co(1).   Quoting  is\nnormally necessary, especially for < and >.  Note that the separator is a semicolon.\n\n#### -l\n\nPrint  information about locked revisions only.  In addition, if the comma-separated list\nlockers of login names is given, ignore all locks other than those held by  the  lockers.\nFor example, rlog -L -R -lwft RCS/* prints the name of RCS files locked by the user wft.\n\n#### -r\n\nprints  information  about revisions given in the comma-separated list revisions of revi‐\nsions and ranges.  A range rev1:rev2 means revisions rev1 to rev2  on  the  same  branch,\n:rev  means  revisions from the beginning of the branch up to and including rev, and rev:\nmeans revisions starting with rev to the end of the branch containing rev.   An  argument\nthat is a branch means all revisions on that branch.  A range of branches means all revi‐\nsions on the branches in that range.  A branch followed by a . means the latest  revision\nin  that  branch.   A  bare -r with no revisions means the latest revision on the default\nbranch, normally the trunk.\n\n#### -s\n\nprints information about revisions whose state attributes match one of the  states  given\nin the comma-separated list states.\n\n#### -w\n\nprints  information about revisions checked in by users with login names appearing in the\ncomma-separated list logins.  If logins is omitted, the user's login is assumed.\n\n#### -q\n\n#### -T\n\n#### -V\n\n#### -V\n\n#### -x\n\nUse suffixes to characterize RCS files.  See ci(1) for details.\n\nrlog prints the intersection of the revisions selected with the options -d, -l, -s,  and  -w,\nintersected with the union of the revisions selected by -b and -r.\n\n#### -z\n\n-ddates option.  The zone should be empty, a numeric UTC offset, or the special string\nLT  for local time.  The default is an empty zone, which uses the traditional RCS for‐\nmat of UTC without any time zone indication and with slashes separating the  parts  of\nthe  date;  otherwise,  times are output in ISO 8601 format with time zone indication.\nFor example, if local time is January 11, 1990, 8pm Pacific Standard Time, eight hours\nwest of UTC, then the time is output as follows:\n\noption    time output\n\n#### -z        1990/01/12 04:00:00        _(default)\n\n-zLT      1990-01-11 20:00:00-08\n-z+05:30  1990-01-12 09:30:00+05:30\n\n### EXAMPLES\n\nrlog  -L  -R  RCS/*\nrlog  -L  -h  RCS/*\nrlog  -L  -l  RCS/*\nrlog  RCS/*\n\nThe  first command prints the names of all RCS files in the subdirectory RCS that have locks.\nThe second command prints the headers of those files, and the third prints the  headers  plus\nthe log messages of the locked revisions.  The last command prints complete information.\n\n### ENVIRONMENT\n\nRCSINIT\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\n### DIAGNOSTICS\n\nThe exit status is zero if and only if all operations were successful.\n\n### IDENTIFICATION\n\nAuthor: 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, 1994, 1995 Paul Eggert.\nCopyright © 1982, 1988, 1989 Walter F. Tichy.\n\n### SEE ALSO\n\nci(1), co(1), ident(1), rcs(1), rcsdiff(1), rcsmerge(1), rcsfile(5).\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### BUGS\n\nThe separator for revision ranges in the -r option used to be - instead of :, but this  leads\nto  confusion  when symbolic names contain -.  For backwards compatibility rlog -r still sup‐\nports the old - separator, but it warns about this obsolete use.\n\n\n\nGNU RCS 5.10.1                               2022-02-19                                      RLOG(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "rlog",
        "section": "1",
        "mode": "man",
        "summary": "rlog - print log messages and other information about RCS files",
        "synopsis": "rlog [ options ] file ...",
        "tldr_summary": "Print the revision log of RCS files.",
        "tldr_examples": [
            {
                "description": "Display the complete revision history of a file",
                "command": "rlog {{path/to/file}}"
            },
            {
                "description": "Display only the header information (no revision details)",
                "command": "rlog -h {{path/to/file}}"
            },
            {
                "description": "Display information for a specific revision",
                "command": "rlog -r{{revision}} {{path/to/file}}"
            },
            {
                "description": "Display revisions within a date range",
                "command": "rlog -d\"{{start_date}}<{{end_date}}\" {{path/to/file}}"
            },
            {
                "description": "Display revisions by a specific author",
                "command": "rlog -w{{author}} {{path/to/file}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-l",
                "long": null,
                "arg": null,
                "description": "and -R."
            },
            {
                "flag": "-R",
                "long": null,
                "arg": null,
                "description": "name into an RCS file name."
            },
            {
                "flag": "-h",
                "long": null,
                "arg": null,
                "description": "locks, symbolic names, and suffix."
            },
            {
                "flag": "-h",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-N",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-b",
                "long": null,
                "arg": null,
                "description": "on the trunk."
            },
            {
                "flag": "-d",
                "long": null,
                "arg": null,
                "description": "Print information about revisions with a checkin date/time in the ranges given by the semicolon-separated list of dates. A range of the form d1<d2 or d2>d1 selects the revi‐ sions that were deposited between d1 and d2 exclusive. A range of the form <d or d> se‐ lects all revisions earlier than d. A range of the form d< or >d selects all revisions dated later than d. If < or > is followed by = then the ranges are inclusive, not exclu‐ sive. A range of the form d selects the single, latest revision dated d or earlier. The date/time strings d, d1, and d2 are in the free format explained in co(1). Quoting is normally necessary, especially for < and >. Note that the separator is a semicolon."
            },
            {
                "flag": "-l",
                "long": null,
                "arg": null,
                "description": "Print information about locked revisions only. In addition, if the comma-separated list lockers of login names is given, ignore all locks other than those held by the lockers. For example, rlog -L -R -lwft RCS/* prints the name of RCS files locked by the user wft."
            },
            {
                "flag": "-r",
                "long": null,
                "arg": null,
                "description": "prints information about revisions given in the comma-separated list revisions of revi‐ sions and ranges. A range rev1:rev2 means revisions rev1 to rev2 on the same branch, :rev means revisions from the beginning of the branch up to and including rev, and rev: means revisions starting with rev to the end of the branch containing rev. An argument that is a branch means all revisions on that branch. A range of branches means all revi‐ sions on the branches in that range. A branch followed by a . means the latest revision in that branch. A bare -r with no revisions means the latest revision on the default branch, normally the trunk."
            },
            {
                "flag": "-s",
                "long": null,
                "arg": null,
                "description": "prints information about revisions whose state attributes match one of the states given in the comma-separated list states."
            },
            {
                "flag": "-w",
                "long": null,
                "arg": null,
                "description": "prints information about revisions checked in by users with login names appearing in the comma-separated list logins. If logins is omitted, the user's login is assumed."
            },
            {
                "flag": "-q",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-T",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-V",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-V",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-x",
                "long": null,
                "arg": null,
                "description": "Use suffixes to characterize RCS files. See ci(1) for details. rlog prints the intersection of the revisions selected with the options -d, -l, -s, and -w, intersected with the union of the revisions selected by -b and -r."
            },
            {
                "flag": "-z",
                "long": null,
                "arg": null,
                "description": "-ddates option. The zone should be empty, a numeric UTC offset, or the special string LT for local time. The default is an empty zone, which uses the traditional RCS for‐ mat of UTC without any time zone indication and with slashes separating the parts of the date; otherwise, times are output in ISO 8601 format with time zone indication. For example, if local time is January 11, 1990, 8pm Pacific Standard Time, eight hours west of UTC, then the time is output as follows: option time output"
            },
            {
                "flag": "-z",
                "long": null,
                "arg": null,
                "description": "-zLT 1990-01-11 20:00:00-08 -z+05:30 1990-01-12 09:30:00+05:30"
            }
        ],
        "examples": [
            "rlog  -L  -R  RCS/*",
            "rlog  -L  -h  RCS/*",
            "rlog  -L  -l  RCS/*",
            "rlog  RCS/*",
            "The  first command prints the names of all RCS files in the subdirectory RCS that have locks.",
            "The second command prints the headers of those files, and the third prints the  headers  plus",
            "the log messages of the locked revisions.  The last command prints complete information."
        ],
        "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": "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": "rcsdiff",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/rcsdiff/1/json"
            },
            {
                "name": "rcsmerge",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/rcsmerge/1/json"
            },
            {
                "name": "rcsfile",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/rcsfile/5/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": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 15,
                "subsections": [
                    {
                        "name": "-L -h -l",
                        "lines": 2,
                        "flag": "-l"
                    },
                    {
                        "name": "-R",
                        "lines": 2,
                        "flag": "-R"
                    },
                    {
                        "name": "-h",
                        "lines": 2,
                        "flag": "-h"
                    },
                    {
                        "name": "-t -h",
                        "lines": 1,
                        "flag": "-h"
                    },
                    {
                        "name": "-N",
                        "lines": 1,
                        "flag": "-N"
                    },
                    {
                        "name": "-b",
                        "lines": 2,
                        "flag": "-b"
                    },
                    {
                        "name": "-d",
                        "lines": 9,
                        "flag": "-d"
                    },
                    {
                        "name": "-l",
                        "lines": 4,
                        "flag": "-l"
                    },
                    {
                        "name": "-r",
                        "lines": 9,
                        "flag": "-r"
                    },
                    {
                        "name": "-s",
                        "lines": 3,
                        "flag": "-s"
                    },
                    {
                        "name": "-w",
                        "lines": 3,
                        "flag": "-w"
                    },
                    {
                        "name": "-q",
                        "lines": 1,
                        "flag": "-q"
                    },
                    {
                        "name": "-T",
                        "lines": 1,
                        "flag": "-T"
                    },
                    {
                        "name": "-V",
                        "lines": 1,
                        "flag": "-V"
                    },
                    {
                        "name": "-V",
                        "lines": 1,
                        "flag": "-V"
                    },
                    {
                        "name": "-x",
                        "lines": 5,
                        "flag": "-x"
                    },
                    {
                        "name": "-z",
                        "lines": 8,
                        "flag": "-z"
                    },
                    {
                        "name": "-z        1990/01/12 04:00:00        _(default)",
                        "lines": 3,
                        "flag": "-z"
                    }
                ]
            },
            {
                "name": "EXAMPLES",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "ENVIRONMENT",
                "lines": 17,
                "subsections": []
            },
            {
                "name": "DIAGNOSTICS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "IDENTIFICATION",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 16,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 7,
                "subsections": []
            }
        ]
    }
}