home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / prgramer / rcs / rcsdiff.man < prev    next >
Text File  |  1992-02-19  |  3KB  |  73 lines

  1. NAME
  2.      rcsdiff - compare RCS revisions
  3.  
  4. SYNOPSIS
  5.      rcsdiff [ -ksubst ] [ -q ] [ -rrev1 [ -rrev2 ] ] [ -Vn ] [
  6.      -xsuffixes ] [ diff options ] file ...
  7.  
  8. DESCRIPTION
  9.      rcsdiff runs diff(1) to compare two revisions of each RCS
  10.      file given.
  11.  
  12.      Pathnames matching an RCS suffix denote RCS files; all
  13.      others denote working files.  Names are paired as explained
  14.      in ci(1).
  15.  
  16.      The option -q suppresses diagnostic output.  Zero, one, or
  17.      two revisions may be specified with -r.  The option -ksubst
  18.      affects keyword substitution when extracting revisions, as
  19.      described in co(1); for example, -kk -r1.1 -r1.2 ignores
  20.      differences in keyword values when comparing revisions 1.1
  21.      and 1.2.  To avoid excess output from locker name
  22.      substitution, -kkvl is assumed if (1) at most one revision
  23.      option is given, (2) no -k option is given, (3) -kkv is the
  24.      default keyword substitution, and (4) the working file's
  25.      mode would be produced by co -l.  See co(1) for details
  26.      about -V and -x.  Otherwise, all options of diff(1) that
  27.      apply to regular files are accepted, with the same meaning
  28.      as for diff.
  29.  
  30.      If both rev1 and rev2 are omitted, rcsdiff compares the
  31.      latest revision on the default branch (by default the trunk)
  32.      with the contents of the corresponding working file.  This
  33.      is useful for determining what you changed since the last
  34.      checkin.
  35.  
  36.      If rev1 is given, but rev2 is omitted, rcsdiff compares
  37.      revision rev1 of the RCS file with the contents of the
  38.      corresponding working file.
  39.  
  40.      If both rev1 and rev2 are given, rcsdiff compares revisions
  41.      rev1 and rev2 of the RCS file.
  42.  
  43.      Both rev1 and rev2 may be given numerically or symbolically.
  44.  
  45. EXAMPLE
  46.      The command
  47.  
  48.              rcsdiff  f.c
  49.  
  50.      compares the latest revision on the default branch of the
  51.      RCS file to the contents of the working file f.c.
  52.  
  53. ENVIRONMENT
  54.      RCSINIT
  55.           options prepended to the argument list, separated by
  56.           spaces.  See ci(1) for details.
  57.  
  58. DIAGNOSTICS
  59.      Exit status is 0 for no differences during any comparison, 1
  60.      for some differences, 2 for trouble.
  61.  
  62. IDENTIFICATION
  63.      Author: Walter F. Tichy.
  64.      Revision Number: 5.3; Release Date: 1991/04/21.
  65.      Copyright 1982, 1988, 1989 by Walter F. Tichy.
  66.      Copyright 1990, 1991 by Paul Eggert.
  67.  
  68. SEE ALSO
  69.      ci(1), co(1), diff(1), ident(1), rcs(1), rcsintro(1),
  70.      rcsmerge(1), rlog(1)
  71.      Walter F. Tichy, RCS--A System for Version Control,
  72.      Software--Practice & Experience 15, 7 (July 1985), 637-654.
  73.