[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.14

1.14    ! jmc         1: .\"    $OpenBSD: rcsclean.1,v 1.13 2006/03/06 09:41:53 deraadt 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.4       niallo     29: .Op Fl r Ns 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
                     37: program is used to remove files that are not being worked on.
1.14    ! jmc        38: .Pp
        !            39: .Nm
        !            40: also supports
        !            41: keyword substitution \(en
        !            42: see the
        !            43: .Xr rcs 1
        !            44: man page for more information.
1.1       joris      45: .Pp
                     46: The following options are supported:
                     47: .Bl -tag -width Ds
1.5       jmc        48: .It Fl k Ns Ar mode
1.1       joris      49: Specify the keyword substitution mode.
1.8       xsa        50: .It Fl n Ns Op Ar rev
1.2       jmc        51: Dry-run mode.
                     52: When this option is specified,
1.1       joris      53: .Nm
                     54: will show you what it would normally do without doing it.
1.8       xsa        55: .It Fl q Ns Op Ar rev
1.1       joris      56: Be quiet about reporting.
1.4       niallo     57: .It Fl r Ns Ar rev
1.1       joris      58: Specify the revision for comparison.
1.11      xsa        59: .It Fl T
1.12      jmc        60: Preserve the modification time of RCS files.
1.8       xsa        61: .It Fl u Ns Op Ar rev
1.7       xsa        62: Unlock the revision if it's not locked and has not been changed.
1.1       joris      63: .It Fl V
                     64: Print RCS's version number.
1.9       xsa        65: .It Fl x Ns Ar suffixes
                     66: Specify the suffixes for RCS files.
                     67: Suffixes should be separated by the
                     68: .Sq /
                     69: character.
                     70: .It Fl z Ns Ar tz
                     71: Specify the time zone for keyword substitution.
1.1       joris      72: .El
                     73: .Sh ENVIRONMENT
                     74: .Bl -tag -width RCSINIT
                     75: .It Ev RCSINIT
                     76: If set, this variable should contain a list of space-delimited options that
                     77: are prepended to the argument list.
                     78: .El
1.10      xsa        79: .Sh EXAMPLES
                     80: Remove all working files (locked or not) in the current directory that were
                     81: not changed since last checkout:
                     82: .Pp
                     83: .Dl $ rcsclean -u
1.1       joris      84: .Sh SEE ALSO
1.3       xsa        85: .Xr ci 1 ,
1.1       joris      86: .Xr co 1 ,
1.3       xsa        87: .Xr ident 1 ,
1.1       joris      88: .Xr rcs 1 ,
                     89: .Xr rcsdiff 1 ,
1.6       xsa        90: .Xr rcsmerge 1 ,
1.3       xsa        91: .Xr rlog 1