Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ bdiff(1) — DG/UX 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



                                                                 bdiff(1)



        _________________________________________________________________
        bdiff                                                     Command
        big diff
        _________________________________________________________________


        SYNTAX

        bdiff file1 file2 [n] [-s]


        DESCRIPTION

        Bdiff is used like diff(1) to find which lines must be changed in
        two files to bring them into agreement.  It lets you process
        files that are too large for diff.  Bdiff ignores lines common to
        the beginning of both files, splits the rest of each file into
        n-line segments, and invokes diff upon corresponding segments.
        The value of n is 3500 by default.

        If you give the optional third argument 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.
        If file1 or file2 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 (that is, to
        make it look as if the files had been processed whole).  Note
        that because of the segmenting of the files, bdiff does not
        necessarily find the smallest sufficient set of file differences.


        FILES

        /tmp/bd?????  possible temporary file produced.


        SEE ALSO

        diff(1).


        DIAGNOSTICS

        Use help(1) for explanations.





        DG/UX 4.00                                                 Page 1
               Licensed material--property of copyright holder(s)



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