[BACK]Return to rcsclean.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / rcs

Annotation of src/usr.bin/rcs/rcsclean.1, Revision 1.19

1.19    ! xsa         1: .\"    $OpenBSD: rcsclean.1,v 1.18 2006/04/27 09:58:12 jmc Exp $
1.1       joris       2: .\"
                      3: .\" Copyright (c) 2005 Joris Vink <joris@openbsd.org>
                      4: .\" All rights reserved.
                      5: .\"
                      6: .\" Permission to use, copy, modify, and distribute this software for any
                      7: .\" purpose with or without fee is hereby granted, provided that the above
                      8: .\" copyright notice and this permission notice appear in all copies.
                      9: .\"
                     10: .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
                     11: .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
                     12: .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
                     13: .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
                     14: .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
                     15: .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
                     16: .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
                     17: .Dd October 08, 2005
                     18: .Dt RCSCLEAN 1
                     19: .Os
                     20: .Sh NAME
                     21: .Nm rcsclean
                     22: .Nd clean up working files
                     23: .Sh SYNOPSIS
                     24: .Nm
1.11      xsa        25: .Op Fl TV
1.4       niallo     26: .Op Fl k Ns Ar mode
1.8       xsa        27: .Op Fl n Ns Op Ar rev
                     28: .Op Fl q Ns Op Ar rev
1.15      jmc        29: .Op Fl r Ns Op Ar rev
1.8       xsa        30: .Op Fl u Ns Op Ar rev
1.9       xsa        31: .Op Fl x Ns Ar suffixes
                     32: .Op Fl z Ns Ar tz
1.14      jmc        33: .Ar
1.1       joris      34: .Sh DESCRIPTION
                     35: The
                     36: .Nm
1.15      jmc        37: program is used to clean up (remove) files that are not being worked on.
                     38: Only checked out files from the current working directory are removed \(en
                     39: .Nm
                     40: does not remove files from the RCS repository.
1.14      jmc        41: .Pp
                     42: .Nm
                     43: also supports
                     44: keyword substitution \(en
                     45: see the
                     46: .Xr rcs 1
                     47: man page for more information.
1.1       joris      48: .Pp
                     49: The following options are supported:
                     50: .Bl -tag -width Ds
1.5       jmc        51: .It Fl k Ns Ar mode
1.1       joris      52: Specify the keyword substitution mode.
1.8       xsa        53: .It Fl n Ns Op Ar rev
1.2       jmc        54: Dry-run mode.
                     55: When this option is specified,
1.1       joris      56: .Nm
                     57: will show you what it would normally do without doing it.
1.8       xsa        58: .It Fl q Ns Op Ar rev
1.1       joris      59: Be quiet about reporting.
1.15      jmc        60: .It Fl r Ns Op Ar rev
                     61: Remove revision
                     62: .Ar rev .
                     63: If
                     64: .Ar rev
                     65: does not match the revision of the currently checked out file,
                     66: .Nm
                     67: will do nothing.
1.11      xsa        68: .It Fl T
1.12      jmc        69: Preserve the modification time of RCS files.
1.8       xsa        70: .It Fl u Ns Op Ar rev
1.15      jmc        71: Unlock the revision if it's currently locked.
                     72: This is only possible if no changes have been made to the file
                     73: since it was checked out.
1.1       joris      74: .It Fl V
                     75: Print RCS's version number.
1.9       xsa        76: .It Fl x Ns Ar suffixes
                     77: Specify the suffixes for RCS files.
                     78: Suffixes should be separated by the
                     79: .Sq /
                     80: character.
                     81: .It Fl z Ns Ar tz
                     82: Specify the time zone for keyword substitution.
1.1       joris      83: .El
1.19    ! xsa        84: .Pp
        !            85: .Ex -std rcsclean
1.1       joris      86: .Sh ENVIRONMENT
                     87: .Bl -tag -width RCSINIT
                     88: .It Ev RCSINIT
                     89: If set, this variable should contain a list of space-delimited options that
                     90: are prepended to the argument list.
                     91: .El
1.10      xsa        92: .Sh EXAMPLES
                     93: Remove all working files (locked or not) in the current directory that were
                     94: not changed since last checkout:
                     95: .Pp
                     96: .Dl $ rcsclean -u
1.1       joris      97: .Sh SEE ALSO
1.3       xsa        98: .Xr ci 1 ,
1.1       joris      99: .Xr co 1 ,
1.3       xsa       100: .Xr ident 1 ,
1.1       joris     101: .Xr rcs 1 ,
                    102: .Xr rcsdiff 1 ,
1.6       xsa       103: .Xr rcsmerge 1 ,
1.3       xsa       104: .Xr rlog 1