Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ bdiff(1) — HP-UX 8.07

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

diff(1)

bdiff(1)

NAME

bdiff − big diff

SYNOPSIS

bdiff file1 file2 [n] [−s]

DESCRIPTION

bdiff is used in a manner analogous to diff(1) to find which lines must be changed in two files to bring them into agreement. Its purpose is to allow processing of files that are too large for diff(1). bdiff ignores lines common to the beginning of both files, splits the remainder of each file into n-line segments, then executes diff on corresponding segments.  The value of n is 3500 by default.  If the optional third argument is given and it is numeric, it is used as the value for n. This is useful in cases where 3500-line segments are too large for diff, causing it to fail. If file1 or file1 is −, the standard input is read.  The optional −s (silent) argument specifies that no diagnostics are to be printed by bdiff (note, however, that this does not suppress possible exclamations by diff). If both optional arguments are specified, they must appear in the order indicated above.

The output of bdiff is exactly that of diff, with line numbers adjusted to account for the segmenting of the files (making it look like the files were processed whole). Note that because of the segmenting of the files, bdiff does not necessarily find a smallest sufficient set of file differences. 

EXTERNAL INFLUENCES

International Code Set Support

Single- and multi-byte character code sets are supported. 

FILES

/tmp/bd????? 

SEE ALSO

diff(1). 

DIAGNOSTICS

Use help(1) for explanations.

Hewlett-Packard Company  —  HP-UX Release 8.05: June 1991

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026