Полезная информация

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: rcsChapter 18
The RCS Utility
Next: Reference: rcsdiff


rcsclean [options] [files]

Although included with RCS, this command is optional and might not be installed on your system. rcsclean compares checked-out files against the corresponding latest revision or revision R (as given by the options). If no differences are found, the working file is removed. (Use rcsdiff to find differences.) rcsclean is useful in makefiles. For example, you could specify a "clean up" target to update your directories. rcsclean is also useful prior to running rcsfreeze. rcsclean accepts the standard options -q, -V, and -x.



When comparing revisions, expand keywords using style c. (See co for values of c.)


Show what would happen but don't actually execute.


Compare against revision R. R can be supplied as arguments to other options, so -r is redundant.


Unlock the revision if it's the same as the working file.


Remove unchanged copies of program and header files:

rcsclean *.c *.h

Previous: Reference: rcsUNIX in a Nutshell: System V EditionNext: Reference: rcsdiff
Reference: rcsBook IndexReference: rcsdiff

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System