{
    "content": [
        {
            "type": "text",
            "text": "# RCSCLEAN (man)\n\n## NAME\n\nrcsclean - clean up working files\n\n## SYNOPSIS\n\nrcsclean [options] [ file ... ]\n\n## DESCRIPTION\n\nrcsclean  removes  files  that are not being worked on.  rcsclean -u also unlocks and removes\nfiles that are being worked on but have not changed.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (1 subsections)\n- **OPTIONS** (10 subsections)\n- **EXAMPLES**\n- **FILES**\n- **ENVIRONMENT**\n- **DIAGNOSTICS**\n- **IDENTIFICATION**\n- **SEE ALSO**\n- **BUGS**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "RCSCLEAN",
        "section": "",
        "mode": "man",
        "summary": "rcsclean - clean up working files",
        "synopsis": "rcsclean [options] [ file ... ]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-k",
                "long": null,
                "arg": null,
                "description": "Use subst style keyword substitution when retrieving the revision for comparison. See co(1) for details."
            },
            {
                "flag": "-n",
                "long": null,
                "arg": null,
                "description": "Do not actually remove any files or unlock any revisions. Using this option will tell you what rcsclean would do without actually doing it."
            },
            {
                "flag": "-q",
                "long": null,
                "arg": null,
                "description": "Do not log the actions taken on standard output."
            },
            {
                "flag": "-r",
                "long": null,
                "arg": null,
                "description": "This option has no effect other than specifying the revision for comparison."
            },
            {
                "flag": "-T",
                "long": null,
                "arg": null,
                "description": "lock is removed. This option can suppress extensive recompilation caused by a make(1) dependency of some other copy of the working file on the RCS file. Use this option with care; it can suppress recompilation even when it is needed, i.e. when the lock removal would mean a change to keyword strings in the other working file."
            },
            {
                "flag": "-u",
                "long": null,
                "arg": null,
                "description": "Unlock the revision if it is locked and no difference is found."
            },
            {
                "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."
            },
            {
                "flag": "-z",
                "long": null,
                "arg": null,
                "description": ""
            }
        ],
        "examples": [
            "rcsclean  *.c  *.h",
            "removes all working files ending in .c or .h that were not changed since their checkout.",
            "rcsclean",
            "removes  all  working files in the current directory that were not changed since their check‐",
            "out."
        ],
        "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": "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": 7,
                "subsections": [
                    {
                        "name": "-u -f",
                        "lines": 13,
                        "flag": "-f"
                    }
                ]
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-k",
                        "lines": 3,
                        "flag": "-k"
                    },
                    {
                        "name": "-n",
                        "lines": 3,
                        "flag": "-n"
                    },
                    {
                        "name": "-q",
                        "lines": 2,
                        "flag": "-q"
                    },
                    {
                        "name": "-r",
                        "lines": 2,
                        "flag": "-r"
                    },
                    {
                        "name": "-T",
                        "lines": 5,
                        "flag": "-T"
                    },
                    {
                        "name": "-u",
                        "lines": 2,
                        "flag": "-u"
                    },
                    {
                        "name": "-V",
                        "lines": 1,
                        "flag": "-V"
                    },
                    {
                        "name": "-V",
                        "lines": 1,
                        "flag": "-V"
                    },
                    {
                        "name": "-x",
                        "lines": 2,
                        "flag": "-x"
                    },
                    {
                        "name": "-z",
                        "lines": 1,
                        "flag": "-z"
                    }
                ]
            },
            {
                "name": "EXAMPLES",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "ENVIRONMENT",
                "lines": 17,
                "subsections": []
            },
            {
                "name": "DIAGNOSTICS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "IDENTIFICATION",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 16,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "rcsclean - clean up working files\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "rcsclean [options] [ file ... ]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "rcsclean  removes  files  that are not being worked on.  rcsclean -u also unlocks and removes\nfiles that are being worked on but have not changed.\n\nFor each file given, rcsclean compares the working file and a revision in  the  corresponding\nRCS  file.  If it finds a difference, it does nothing.  Otherwise, it first unlocks the revi‐\nsion if the -u option is given, and then removes the working file unless the working file  is\nwritable and the revision is locked.  It logs its actions by outputting the corresponding rcs",
                "subsections": [
                    {
                        "name": "-u -f",
                        "content": "Files are paired as explained in ci(1).  If no file is given, all working files in  the  cur‐\nrent  directory  are  cleaned.  Filenames matching an RCS suffix denote RCS files; all others\ndenote working files.\n\nThe number of the revision to which the working file is compared may be attached  to  any  of\nthe  options -n, -q, -r, or -u.  If no revision number is specified, then if the -u option is\ngiven and the caller has one revision locked, rcsclean uses that revision; otherwise rcsclean\nuses the latest revision on the default branch, normally the root.\n\nrcsclean is useful for clean targets in makefiles.  See also rcsdiff(1), which prints out the\ndifferences, and ci(1), which normally reverts to the previous revision if  a  file  was  not\nchanged.\n",
                        "flag": "-f"
                    }
                ]
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-k",
                        "content": "Use subst style keyword substitution when retrieving the revision for comparison.  See\nco(1) for details.\n",
                        "flag": "-k"
                    },
                    {
                        "name": "-n",
                        "content": "Do not actually remove any files or unlock any revisions.  Using this option will tell\nyou what rcsclean would do without actually doing it.\n",
                        "flag": "-n"
                    },
                    {
                        "name": "-q",
                        "content": "Do not log the actions taken on standard output.\n",
                        "flag": "-q"
                    },
                    {
                        "name": "-r",
                        "content": "This option has no effect other than specifying the revision for comparison.\n",
                        "flag": "-r"
                    },
                    {
                        "name": "-T",
                        "content": "lock is removed.  This option can suppress extensive recompilation caused by a make(1)\ndependency  of  some  other copy of the working file on the RCS file.  Use this option\nwith care; it can suppress recompilation even when it is needed, i.e.  when  the  lock\nremoval would mean a change to keyword strings in the other working file.\n",
                        "flag": "-T"
                    },
                    {
                        "name": "-u",
                        "content": "Unlock the revision if it is locked and no difference is found.\n",
                        "flag": "-u"
                    },
                    {
                        "name": "-V",
                        "content": "",
                        "flag": "-V"
                    },
                    {
                        "name": "-V",
                        "content": "",
                        "flag": "-V"
                    },
                    {
                        "name": "-x",
                        "content": "Use suffixes to characterize RCS files.  See ci(1) for details.\n",
                        "flag": "-x"
                    },
                    {
                        "name": "-z",
                        "content": "",
                        "flag": "-z"
                    }
                ]
            },
            "EXAMPLES": {
                "content": "rcsclean  *.c  *.h\n\nremoves all working files ending in .c or .h that were not changed since their checkout.\n\nrcsclean\n\nremoves  all  working files in the current directory that were not changed since their check‐\nout.\n",
                "subsections": []
            },
            "FILES": {
                "content": "rcsclean accesses files much as ci(1) does.\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": "The exit status is zero if and only if all operations were successful.  Missing working files\nand RCS files are silently ignored.\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), ident(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",
                "subsections": []
            },
            "BUGS": {
                "content": "At least one file must be given in older Unix versions that do not provide the needed  direc‐\ntory scanning operations.\n\n\n\nGNU RCS 5.10.1                               2022-02-19                                  RCSCLEAN(1)",
                "subsections": []
            }
        }
    }
}