{
    "content": [
        {
            "type": "text",
            "text": "# ident(1) (man)\n\n## TLDR\n\n> Identify RCS keyword strings in files.\n\n- Display RCS identification strings in a file:\n  `ident {{path/to/file}}`\n- Display RCS identification strings, suppressing warnings if no patterns are found:\n  `ident -q {{path/to/file1 path/to/file2 ...}}`\n- Display RCS identification strings from `stdin`:\n  `cat {{path/to/file}} | ident`\n\n*Source: tldr-pages*\n\n---\n\n**Summary:** ident - identify RCS keyword strings in files\n\n**Synopsis:** ident [ -q ] [ -V ] [ file ... ]\n\n## See Also\n\n- ci(1)\n- co(1)\n- rcs(1)\n- rcsdiff(1)\n- rcsmerge(1)\n- rlog(1)\n- rcsfile(5)\n- info(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (44 lines)\n- **KEYWORDS** (4 lines) — 7 subsections\n  - $Author$ (4 lines)\n  - $Header$ (5 lines)\n  - $Locker$ (7 lines)\n  - $RCSfile$ (2 lines)\n  - $Revision$ (2 lines)\n  - $Source$ (2 lines)\n  - $State$ (12 lines)\n- **IDENTIFICATION** (6 lines)\n- **SEE ALSO** (19 lines)\n\n## Full Content\n\n### NAME\n\nident - identify RCS keyword strings in files\n\n### SYNOPSIS\n\nident [ -q ] [ -V ] [ file ... ]\n\n### DESCRIPTION\n\nident searches for all instances of the pattern $keyword: text $ in the named files or, if no\nfiles are named, the standard input.\n\nThese patterns are normally inserted automatically by the RCS command co(1), but can also  be\ninserted  manually.  The option -q suppresses the warning given if there are no patterns in a\nfile.  The option -V prints RCS's version number.\n\nident works on text files as well as object files and dumps.  For example, if the  C  program\nin f.c contains\n\n#include <stdio.h>\nstatic char const rcsid[] =\n\"$Id: f.c,v 5.4 1993/11/09 17:40:15 eggert Exp $\";\nint main() { return printf(\"%s\\n\", rcsid) == EOF; }\n\nand f.c is compiled into f.o, then the command\n\nident  f.c  f.o\n\nwill output\n\nf.c:\n$Id: f.c,v 5.4 1993/11/09 17:40:15 eggert Exp $\nf.o:\n$Id: f.c,v 5.4 1993/11/09 17:40:15 eggert Exp $\n\nIf  a  C program defines a string like rcsid above but does not use it, lint(1) may complain,\nand some C compilers will optimize away the string.  The most reliable solution  is  to  have\nthe program use the rcsid string, as shown in the example above.\n\nident finds all instances of the $keyword: text $ pattern, even if keyword is not actually an\nRCS-supported keyword.  This gives you information about nonstandard keywords like  $XConsor‐‐\ntium$.\n\nThe  pattern  normally requires a colon and a space immediately after the keyword and a space\nimmediately before the terminating $, but for Subversion 1.2 (and later) compatibility, ident\nwill also recognize the pattern $keyword:: text $ (i.e., two colons and a space) and the pat‐\ntern $keyword:: text #$ (likewise, with a hash before the  terminating  $).   These  are  the\nfixed-width keyword syntax.  To summarize, the three recognized patterns are:\n\n$keyword: text $\n$keyword:: text $\n$keyword:: text #$\n\n### KEYWORDS\n\nHere  is  the list of keywords currently maintained by co(1).  All times are given in Coordi‐\nnated Universal Time (UTC, sometimes called GMT) by default, but if the  files  were  checked\nout with co's -zzone option, times are given with a numeric time zone indication appended.\n\n#### $Author$\n\nThe login name of the user who checked in the revision.\n\n$Date$ The date and time the revision was checked in.\n\n#### $Header$\n\nA standard header containing the full RCS file name, the revision number, the date and\ntime, the author, the state, and the locker (if locked).\n\n$Id$   Same as $Header$, except that the RCS file name is without directory components.\n\n#### $Locker$\n\nThe login name of the user who locked the revision (empty if not locked).\n\n$Log$  The log message supplied during checkin.  For ident's purposes, this is equivalent  to\n$RCSfile$.\n\n$Name$ The symbolic name used to check out the revision, if any.\n\n#### $RCSfile$\n\nThe RCS file name without directory components.\n\n#### $Revision$\n\nThe revision number assigned to the revision.\n\n#### $Source$\n\nThe full RCS file name.\n\n#### $State$\n\nThe state assigned to the revision with the -s option of rcs(1) or ci(1).\n\nco(1)  represents the following characters in keyword values by escape sequences to keep key‐\nword strings well-formed.\n\nchar     escape sequence\ntab      \\t\nnewline  \\n\nspace    \\040\n$        \\044\n\\        \\\\\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, 1992, 1993 Paul Eggert.\nCopyright © 1982, 1988, 1989 Walter F. Tichy.\n\n### SEE ALSO\n\nci(1), co(1), rcs(1), rcsdiff(1), rcsmerge(1), rlog(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\n\nGNU RCS 5.10.1                               2022-02-19                                     IDENT(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "ident",
        "section": "1",
        "mode": "man",
        "summary": "ident - identify RCS keyword strings in files",
        "synopsis": "ident [ -q ] [ -V ] [ file ... ]",
        "tldr_summary": "Identify RCS keyword strings in files.",
        "tldr_examples": [
            {
                "description": "Display RCS identification strings in a file",
                "command": "ident {{path/to/file}}"
            },
            {
                "description": "Display RCS identification strings, suppressing warnings if no patterns are found",
                "command": "ident -q {{path/to/file1 path/to/file2 ...}}"
            },
            {
                "description": "Display RCS identification strings from `stdin`",
                "command": "cat {{path/to/file}} | ident"
            }
        ],
        "tldr_source": "official",
        "flags": [],
        "examples": [],
        "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": "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": "rlog",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/rlog/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": 44,
                "subsections": []
            },
            {
                "name": "KEYWORDS",
                "lines": 4,
                "subsections": [
                    {
                        "name": "$Author$",
                        "lines": 4
                    },
                    {
                        "name": "$Header$",
                        "lines": 5
                    },
                    {
                        "name": "$Locker$",
                        "lines": 7
                    },
                    {
                        "name": "$RCSfile$",
                        "lines": 2
                    },
                    {
                        "name": "$Revision$",
                        "lines": 2
                    },
                    {
                        "name": "$Source$",
                        "lines": 2
                    },
                    {
                        "name": "$State$",
                        "lines": 12
                    }
                ]
            },
            {
                "name": "IDENTIFICATION",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 19,
                "subsections": []
            }
        ]
    }
}