Category : Miscellaneous Language Source Code
Archive   : RCS55TXT.ZIP
Filename : RCSCLEAN.TXT

 
Output of file : RCSCLEAN.TXT contained in archive : RCS55TXT.ZIP
@ME.FORMAT                         
$Id: rcsclean.1,v 1.4 1990/11/02 19:33:11 hammer Exp $

NAME

rcsclean - clean up working files

SYNOPSIS

rcsclean [ "rcsdiff options" ] [ file "\ ...\ ]"

DESCRIPTION

rcsclean removes working files that were checked out and never modified.
For each file given, rcsclean compares the working file and a revision in
the corresponding RCS file. If it finds no difference, it removes the
working file, and, if the revision was locked, unlocks the revision.

If no file is given, all working files in the current directory are
cleaned. Any other options are passed along to rcsdiff for the
comparison.

rcsclean is useful for clean targets in Makefiles. See also rcsdiff (1),
which prints out the differences, and ci (1), which normally asks whether
to check in a file if it was not changed.

EXAMPLES

rcsclean * *

removes all working files ending in ??? or ???? that were not changed
since their checkout.

rcsclean ???

removes all working files in the current directory that were not changed
since their checkout.

DIAGNOSTICS

The exit status is 0 if there were no differences in any file under RCS
control, 1 if there were differences, and 2 if there were errors.

IDENTIFICATION

Author: Walter F. Tichy.

Revision Number: 1.4; Release Date: 1990/11/02

Copyright 1982, 1988, 1989 by Walter F. Tichy.

Copyright 1990 by Paul Eggert.

"SEE ALSO"

ci(1), co(1), ident(1), rcs(1), rcsdiff(1), rcsintro(1), rcsmerge(1), rlog(1),
rcsfile(5)

Walter F. Tichy, RCS-A System for Version Control, "Software-Practice &
Experience" 15 , 7 (July 1985), 637-654.

BUGS

RCS file names may not be given as arguments.

Any diagnostics generated by rcsdiff when comparing files are discarded.

If the latest revision is already unlocked, and you have a lock on an
earlier revision, the ear lier revision is unlocked.

rcsclean is just an optional example shell script, and should not be
taken too seriously.


  3 Responses to “Category : Miscellaneous Language Source Code
Archive   : RCS55TXT.ZIP
Filename : RCSCLEAN.TXT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/