1bdiff(1)                         User Commands                        bdiff(1)
2
3
4

NAME

6       bdiff - big diff
7

SYNOPSIS

9       bdiff filename1 filename2 [n] [-s]
10
11

DESCRIPTION

13       bdiff  is  used  in  a  manner analogous to diff to find which lines in
14       filename1 and filename2 must be changed to bring the files into  agree‐
15       ment.  Its  purpose is to allow processing of files too large for diff.
16       If filename1 (filename2) is , the standard input is read.
17
18
19       bdiff ignores lines common to the beginning of both files,  splits  the
20       remainder of each file into n-line segments, and invokes diff on corre‐
21       sponding segments. If both optional arguments are specified, they  must
22       appear in the order indicated above.
23
24
25       The output of bdiff is exactly that of diff, with line numbers adjusted
26       to account for the segmenting of the files (that is, to make it look as
27       if  the files had been processed whole). Note:  Because of the segment‐
28       ing of the files, bdiff does not necessarily find a smallest sufficient
29       set of file differences.
30

OPTIONS

32       n      The  number of line segments. The value of n is 3500 by default.
33              If the optional third argument is given and it is numeric, it is
34              used  as the value for n. This is useful in those cases in which
35              3500-line segments are too large for diff, causing it to fail.
36
37
38       -s     Specifies that no diagnostics are to be printed by bdiff (silent
39              option).  Note:   However, this does not suppress possible diag‐
40              nostic messages from diff, which bdiff calls.
41
42

USAGE

44       See largefile(5) for the description of  the  behavior  of  bdiff  when
45       encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
46

FILES

48       /tmp/bd?????
49

ATTRIBUTES

51       See attributes(5) for descriptions of the following attributes:
52
53
54
55
56       ┌─────────────────────────────┬─────────────────────────────┐
57       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
58       ├─────────────────────────────┼─────────────────────────────┤
59       │Availability                 │SUNWesu                      │
60       ├─────────────────────────────┼─────────────────────────────┤
61       │CSI                          │enabled                      │
62       └─────────────────────────────┴─────────────────────────────┘
63

SEE ALSO

65       diff(1), attributes(5), largefile(5)
66

DIAGNOSTICS

68       Use help for explanations.
69
70
71
72SunOS 5.11                        14 Sep 1992                         bdiff(1)
Impressum