*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> bdiff (1)              



NAME    [Toc]    [Back]

       bdiff - Finds differences in large files

SYNOPSIS    [Toc]    [Back]

       bdiff file1 file2 [number] [-s]

       bdiff - file2 [number] [-s]

       bdiff file1 - [number] [-s]

       The  bdiff  command  compares  file1  and file2 and writes
       information about their differing lines to  standard  output.
  If either filename is - (dash), bdiff reads standard

OPTIONS    [Toc]    [Back]

       Suppresses error messages.  (May either precede or  follow
       the number argument if it is specified.)

DESCRIPTION    [Toc]    [Back]

       The  bdiff  command  uses  diff to find lines that must be
       changed in two files to make them identical (see the  diff
       command).   Its primary purpose is to permit processing of
       files that are too large for diff.

       The bdiff command ignores lines common to the beginning of
       both  files, splits the remainders into sections of number
       lines, and runs diff on the sections.  The output is  then
       processed  to  make  it  look as if diff had processed the
       files whole.

       If you do not specify number, a system  default  is  used.
       In  some cases, the number you specify or the default number
 may be too large for diff.  If bdiff fails, specify  a
       smaller value for number and try again.

       Note  that because of file segmenting, bdiff does not necessarily
 find the smallest possible set  of  file  differences.
   In general, although the output is similar, using
       bdiff is not the equivalent of using diff.

NOTES    [Toc]    [Back]

       The diff command is executed by a child process, generated
       by forking, and communicates with bdiff through pipes.

       It  should  not normally be necessary to use this command,
       since diff can handle most large files.

EXIT STATUS    [Toc]    [Back]

       No differences.  Differences found.  An error occurred.

SEE ALSO    [Toc]    [Back]

       Commands:  diff(1), diff3(1)

[ Back ]
 Similar pages
Name OS Title
diff FreeBSD find differences between two files
diff3 FreeBSD find differences between three files
diff Linux find differences between two files
diff3 Linux find differences between three files
diffmk Tru64 Marks differences between files
sdiff Tru64 Compares two files and displays the differences in
sdiff FreeBSD find differences between two files and merge interactively
sdiff Linux find differences between two files and merge interactively
bdiff HP-UX diff for large files
find Tru64 Finds files matching an expression
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service