next contents previous
Next: bfs (1) Up: contents Previous: bc (1)





BDIFF(1)                  USER COMMANDS                  BDIFF(1)


NAME
     bdiff -- compare large files


SYNOPSIS
     bdiff file1 file2 [n] [-s]


DESCRIPTION
     bdiff  identifies lines that must be changed in two files to
     bring them into agreement. It functions in a  manner  analo-
     gous  to  diff(1). bdiff allows the processing of files that
     are too large for diff. bdiff ignores lines  common  to  the
     beginning  of  both files, splits the remainder of each file
     into n-line segments, and invokes  diff  upon  corresponding
     segments.

     bdiff  output is the same as that of diff.  The line numbers
     are adjusted to account for the segmenting of the files  and
     to  make  it  look  as  if  the  files were processed whole.
     Because bdiff segments the files, it  does  not  necessarily
     find the smallest sufficient set of file differences.

     If file1(file2) is a dash (-), the standard input is read.

     Options:

     n    The number of line segments.  The value of n is 3500 by
          default.  If the third  option  is  given,  and  it  is
          numeric, it is used as the value for n.  This is useful
          in those cases in  which  3500-line  segments  are  too
          large for diff, causing it to fail.

     -s   Silent option.  Specify that no diagnostics are printed
          by bdiff.  However, that this does not suppress  possi-
          ble diagnostic messages from diff.  If both options are
          specified, they must appear  in  the  order  previously
          indicated.


FILES
     /tmp/bd/?????


SEE ALSO
     diff(1), help(1)


DIAGNOSTICS
     Use help(1) for explanations.







SUPER-UX            Last change: Apr 19, 1993                   1




next contents previous
Next: bfs (1) Up: contents Previous: bc (1)

G1AA02E User's Reference Manual