home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 1 / FFMCD01.bin / useful / dist / gnu / diffutils / diffutils-2.4-amiga / news < prev    next >
Encoding:
Text File  |  1993-09-14  |  4.0 KB  |  105 lines

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