home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / rcs57pc1.zip / doc / rcsdiff.man < prev    next >
Text File  |  1996-02-13  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4. RCSDIFF(1)                                             RCSDIFF(1)
  5.  
  6.  
  7. NAME
  8.        rcsdiff - compare RCS revisions
  9.  
  10. SYNOPSIS
  11.        rcsdiff  [ -ksubst ] [ -q ] [ -rrev1 [ -rrev2 ] ] [ -T ] [
  12.        -V[n] ] [ -xsuffixes ] [ -zzone ] [ diff  options  ]  file
  13.        ...
  14.  
  15. DESCRIPTION
  16.        rcsdiff  runs diff(1) to compare two revisions of each RCS
  17.        file given.
  18.  
  19.        Pathnames matching an RCS suffix  denote  RCS  files;  all
  20.        others   denote   working  files.   Names  are  paired  as
  21.        explained in ci(1).
  22.  
  23.        The option -q suppresses diagnostic output.  Zero, one, or
  24.        two  revisions  may  be  specified  with  -r.   The option
  25.        -ksubst affects keyword substitution when extracting revi-
  26.        sions, as described in co(1); for example, -kk -r1.1 -r1.2
  27.        ignores differences in keyword values when comparing revi-
  28.        sions  1.1  and  1.2.   To avoid excess output from locker
  29.        name substitution, -kkvl is assumed if  (1)  at  most  one
  30.        revision  option  is given, (2) no -k option is given, (3)
  31.        -kkv is the default  keyword  substitution,  and  (4)  the
  32.        working file's mode would be produced by co -l.  See co(1)
  33.        for details about -T,  -V,  -x  and  -z.   Otherwise,  all
  34.        options  of  diff(1)  that  apply  to  regular  files  are
  35.        accepted, with the same meaning as for diff.
  36.  
  37.        If both rev1 and rev2 are omitted,  rcsdiff  compares  the
  38.        latest  revision  on  the  default  branch (by default the
  39.        trunk) with the  contents  of  the  corresponding  working
  40.        file.   This  is  useful  for determining what you changed
  41.        since the last checkin.
  42.  
  43.        If rev1 is given, but rev2 is  omitted,  rcsdiff  compares
  44.        revision  rev1  of  the  RCS file with the contents of the
  45.        corresponding working file.
  46.  
  47.        If both rev1 and rev2 are given,  rcsdiff  compares  revi-
  48.        sions rev1 and rev2 of the RCS file.
  49.  
  50.        Both  rev1  and  rev2 may be given numerically or symboli-
  51.        cally.
  52.  
  53. EXAMPLE
  54.        The command
  55.  
  56.                rcsdiff  f.c
  57.  
  58.        compares the latest revision on the default branch of  the
  59.        RCS file to the contents of the working file f.c.
  60.  
  61.  
  62.  
  63.  
  64. GNU                         1993/11/03                          1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. RCSDIFF(1)                                             RCSDIFF(1)
  71.  
  72.  
  73. ENVIRONMENT
  74.        RCSINIT
  75.               options  prepended  to the argument list, separated
  76.               by spaces.  See ci(1) for details.
  77.  
  78. DIAGNOSTICS
  79.        Exit status is 0 for no differences during any comparison,
  80.        1 for some differences, 2 for trouble.
  81.  
  82. IDENTIFICATION
  83.        Author: Walter F. Tichy.
  84.        Manual Page Revision: 5.5; Release Date: 1993/11/03.
  85.        Copyright (C) 1982, 1988, 1989 Walter F. Tichy.
  86.        Copyright (C) 1990, 1991, 1992, 1993 Paul Eggert.
  87.  
  88. SEE ALSO
  89.        ci(1),  co(1),  diff(1),  ident(1),  rcs(1),  rcsintro(1),
  90.        rcsmerge(1), rlog(1)
  91.        Walter  F.  Tichy,  RCS--A  System  for  Version  Control,
  92.        Software--Practice   &   Experience  15,  7  (July  1985),
  93.        637-654.
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. GNU                         1993/11/03                          2
  131.  
  132.  
  133.