home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / rcs567s.zip / diff / NEWS < prev    next >
Text File  |  1993-11-10  |  5KB  |  119 lines

  1. User-visible changes in version 2.6:
  2.  
  3. * New cmp, diff, diff3, sdiff option: --help
  4. * A new heuristic for diff greatly reduces the time needed to compare
  5.   large input files that contain many differences.
  6. * Partly as a result, GNU diff's output is not exactly the same as before.
  7.   Usually it is a bit smaller, but sometimes it is a bit larger.
  8.  
  9.  
  10. User-visible changes in version 2.5:
  11.  
  12. * New cmp option: -v --version
  13.  
  14.  
  15. User-visible changes in version 2.4:
  16.  
  17. * New cmp option: --ignore-initial=BYTES
  18. * New diff3 option: -T --initial-tab
  19. * New diff option: --line-format=FORMAT
  20. * New diff group format specifications:
  21.   <PRINTF_SPEC>[eflmnEFLMN]
  22.       A printf spec followed by one of the following letters
  23.       causes the integer corresponding to that letter to be
  24.       printed according to the printf specification.
  25.       E.g. `%5df' prints the number of the first line in the
  26.       group in the old file using the "%5d" format.
  27.     e: line number just before the group in old file; equals f - 1
  28.     f: first line number in group in the old file
  29.     l: last line number in group in the old file
  30.     m: line number just after the group in old file; equals l + 1
  31.     n: number of lines in group in the old file; equals l - f + 1
  32.     E, F, L, M, N: likewise, for lines in the new file
  33.   %(A=B?T:E)
  34.       If A equals B then T else E.  A and B are each either a decimal
  35.       constant or a single letter interpreted as above.  T and E are
  36.       arbitrary format strings.  This format spec is equivalent to T if
  37.       A's value equals B's; otherwise it is equivalent to E.  For
  38.       example, `%(N=0?no:%dN) line%(N=1?:s)' is equivalent to `no lines'
  39.       if N (the number of lines in the group in the the new file) is 0,
  40.       to `1 line' if N is 1, and to `%dN lines' otherwise.
  41.   %c'C'
  42.       where C is a single character, stands for the character C.  C may not
  43.       be a backslash or an apostrophe.  E.g. %c':' stands for a colon.
  44.   %c'\O'
  45.       where O is a string of 1, 2, or 3 octal digits, stands for the
  46.       character with octal code O.  E.g. %c'\0' stands for a null character.
  47. * New diff line format specifications:
  48.   <PRINTF_SPEC>n
  49.       The line number, printed with <PRINTF_SPEC>.
  50.       E.g. `%5dn' prints the line number with a "%5d" format.
  51.   %c'C'
  52.   %c'\O'
  53.       The character C, or with octal code O, as above.
  54. * Supported <PRINTF_SPEC>s have the same meaning as with printf, but must
  55.   match the extended regular expression %-*[0-9]*(\.[0-9]*)?[doxX].
  56. * The format spec %0 introduced in version 2.1 has been removed, since it
  57.   is incompatible with printf specs like %02d.  To represent a null char,
  58.   use %c'\0' instead.
  59. * cmp and diff now conform to Posix.2 (ISO/IEC 9945-2:1993)
  60.   if the underlying system conforms to Posix:
  61.   - Some messages' wordings are changed in minor ways.
  62.   - ``White space'' is now whatever C's `isspace' says it is.
  63.   - When comparing directories, if `diff' finds a file that is not a regular
  64.     file or a directory, it reports the file's type instead of diffing it.
  65.     (As usual, it follows symbolic links first.)
  66.   - When signaled, sdiff exits with the signal's status, not with status 2.
  67. * Now portable to hosts where int, long, pointer, etc. are not all the same
  68.   size.
  69. * `cmp - -' now works like `diff - -'.
  70.  
  71.  
  72. User-visible changes in version 2.3:
  73.  
  74. * New diff option: --horizon-lines=lines
  75.  
  76.  
  77. User-visible changes in version 2.1:
  78.  
  79. * New diff options:
  80.   --{old,new,unchanged}-line-format='format'
  81.   --{old,new,unchanged,changed}-group-format='format'
  82.   -U
  83. * New diff3 option:
  84.   -A --show-all
  85. * diff3 -m now defaults to -A, not -E.
  86. * diff3 now takes up to three -L or --label options, not just two.
  87.   If just two options are given, they refer to the first two input files,
  88.   not the first and third input files.
  89. * sdiff and diff -y handle incomplete lines.
  90.  
  91.  
  92. User-visible changes in version 2.0:
  93.  
  94. * Add sdiff and cmp programs.
  95. * Add Texinfo documentation.
  96. * Add configure script.
  97. * Improve diff performance.
  98. * New diff options:
  99. -x --exclude
  100. -X --exclude-from
  101. -P --unidirectional-new-file
  102. -W --width
  103. -y --side-by-side
  104. --left-column
  105. --sdiff-merge-assist
  106. --suppress-common-lines
  107. * diff options renamed:
  108. --label renamed from --file-label
  109. --forward-ed renamed from --reversed-ed
  110. --paginate renamed from --print
  111. --entire-new-file renamed from --entire-new-files
  112. --new-file renamed from --new-files
  113. --all-text removed
  114. * New diff3 options:
  115. -v --version
  116. * Add long-named equivalents for other diff3 options.
  117. * diff options -F (--show-function-line) and -I (--ignore-matching-lines)
  118.   can now be given more than once.
  119.