home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / rcs57pc3.zip / diff / NEWS < prev    next >
Text File  |  1994-11-14  |  6KB  |  156 lines

  1. User-visible changes in version 2.7.1 alpha:
  2.  
  3. * Internationalization support is being added.
  4.   Some diagnostics have been reworded slightly for consistency.
  5.   Also, `diff -D FOO' now outputs `/* ! FOO */' instead of `/* not FOO */'.
  6.  
  7.   This area is still under construction.
  8.   The current draft uses the Uniforum proposal message interface.
  9.   The following work needs to be done:
  10.  
  11.   - Integration with glocale.
  12.       We plan to add a Uniforum-style interface to glocale,
  13.       at least enough to support `gettext', `<libintl.h>',
  14.       and perhaps *.po files.
  15.   - Internationalization support for library files like regex.c.
  16.       The tricky part here is modularizing the message files.
  17.   - Message localization.
  18.       See the file `messages.po' for the messages now used by diffutils.
  19.       These must be translated for each language locale.
  20.  
  21. * diffutils can now run on some PC configurations.
  22.   See the `pc' subdirectory.  This is still under construction.
  23.   We don't plan to support all PC configurations, just the easy ones.
  24.   Also, we don't build or test this directory ourselves,
  25.   and the PC world has several evolving development environments,
  26.   so it's likely that this directory won't work for you without some hacking.
  27.   If you run into a problem here, please send a bug report with a tested fix.
  28.  
  29.  
  30. User-visible changes in version 2.7:
  31.  
  32. * New diff option: --binary (useful only on non-Posix hosts)
  33. * diff -b and -w now ignore line incompleteness; -B no longer does this.
  34. * cmp -c now uses locale to decide which output characters to quote.
  35. * Help and version messages are reorganized.
  36.  
  37.  
  38. User-visible changes in version 2.6:
  39.  
  40. * New cmp, diff, diff3, sdiff option: --help
  41. * A new heuristic for diff greatly reduces the time needed to compare
  42.   large input files that contain many differences.
  43. * Partly as a result, GNU diff's output is not exactly the same as before.
  44.   Usually it is a bit smaller, but sometimes it is a bit larger.
  45.  
  46.  
  47. User-visible changes in version 2.5:
  48.  
  49. * New cmp option: -v --version
  50.  
  51.  
  52. User-visible changes in version 2.4:
  53.  
  54. * New cmp option: --ignore-initial=BYTES
  55. * New diff3 option: -T --initial-tab
  56. * New diff option: --line-format=FORMAT
  57. * New diff group format specifications:
  58.   <PRINTF_SPEC>[eflmnEFLMN]
  59.       A printf spec followed by one of the following letters
  60.       causes the integer corresponding to that letter to be
  61.       printed according to the printf specification.
  62.       E.g. `%5df' prints the number of the first line in the
  63.       group in the old file using the "%5d" format.
  64.     e: line number just before the group in old file; equals f - 1
  65.     f: first line number in group in the old file
  66.     l: last line number in group in the old file
  67.     m: line number just after the group in old file; equals l + 1
  68.     n: number of lines in group in the old file; equals l - f + 1
  69.     E, F, L, M, N: likewise, for lines in the new file
  70.   %(A=B?T:E)
  71.       If A equals B then T else E.  A and B are each either a decimal
  72.       constant or a single letter interpreted as above.  T and E are
  73.       arbitrary format strings.  This format spec is equivalent to T if
  74.       A's value equals B's; otherwise it is equivalent to E.  For
  75.       example, `%(N=0?no:%dN) line%(N=1?:s)' is equivalent to `no lines'
  76.       if N (the number of lines in the group in the the new file) is 0,
  77.       to `1 line' if N is 1, and to `%dN lines' otherwise.
  78.   %c'C'
  79.       where C is a single character, stands for the character C.  C may not
  80.       be a backslash or an apostrophe.  E.g. %c':' stands for a colon.
  81.   %c'\O'
  82.       where O is a string of 1, 2, or 3 octal digits, stands for the
  83.       character with octal code O.  E.g. %c'\0' stands for a null character.
  84. * New diff line format specifications:
  85.   <PRINTF_SPEC>n
  86.       The line number, printed with <PRINTF_SPEC>.
  87.       E.g. `%5dn' prints the line number with a "%5d" format.
  88.   %c'C'
  89.   %c'\O'
  90.       The character C, or with octal code O, as above.
  91. * Supported <PRINTF_SPEC>s have the same meaning as with printf, but must
  92.   match the extended regular expression %-*[0-9]*(\.[0-9]*)?[doxX].
  93. * The format spec %0 introduced in version 2.1 has been removed, since it
  94.   is incompatible with printf specs like %02d.  To represent a null char,
  95.   use %c'\0' instead.
  96. * cmp and diff now conform to Posix.2 (ISO/IEC 9945-2:1993)
  97.   if the underlying system conforms to Posix:
  98.   - Some messages' wordings are changed in minor ways.
  99.   - ``White space'' is now whatever C's `isspace' says it is.
  100.   - When comparing directories, if `diff' finds a file that is not a regular
  101.     file or a directory, it reports the file's type instead of diffing it.
  102.     (As usual, it follows symbolic links first.)
  103.   - When signaled, sdiff exits with the signal's status, not with status 2.
  104. * Now portable to hosts where int, long, pointer, etc. are not all the same
  105.   size.
  106. * `cmp - -' now works like `diff - -'.
  107.  
  108.  
  109. User-visible changes in version 2.3:
  110.  
  111. * New diff option: --horizon-lines=lines
  112.  
  113.  
  114. User-visible changes in version 2.1:
  115.  
  116. * New diff options:
  117.   --{old,new,unchanged}-line-format='format'
  118.   --{old,new,unchanged,changed}-group-format='format'
  119.   -U
  120. * New diff3 option:
  121.   -A --show-all
  122. * diff3 -m now defaults to -A, not -E.
  123. * diff3 now takes up to three -L or --label options, not just two.
  124.   If just two options are given, they refer to the first two input files,
  125.   not the first and third input files.
  126. * sdiff and diff -y handle incomplete lines.
  127.  
  128.  
  129. User-visible changes in version 2.0:
  130.  
  131. * Add sdiff and cmp programs.
  132. * Add Texinfo documentation.
  133. * Add configure script.
  134. * Improve diff performance.
  135. * New diff options:
  136. -x --exclude
  137. -X --exclude-from
  138. -P --unidirectional-new-file
  139. -W --width
  140. -y --side-by-side
  141. --left-column
  142. --sdiff-merge-assist
  143. --suppress-common-lines
  144. * diff options renamed:
  145. --label renamed from --file-label
  146. --forward-ed renamed from --reversed-ed
  147. --paginate renamed from --print
  148. --entire-new-file renamed from --entire-new-files
  149. --new-file renamed from --new-files
  150. --all-text removed
  151. * New diff3 options:
  152. -v --version
  153. * Add long-named equivalents for other diff3 options.
  154. * diff options -F (--show-function-line) and -I (--ignore-matching-lines)
  155.   can now be given more than once.
  156.