Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Linux / Unix bdiff command

Quick links

About bdiff
Syntax
Examples
Related commands
Linux / Unix main page

About bdiff

Used to find which lines in filename1 and filename2 must be changed to bring the file into agreement. Its purpose is to allow processing of files too large for diff.

Syntax

bdiff filename1 filename2 [ n ] [ -s ]

filename1 First name of file to compare.
filename2 Second name of file to compare.
n The number of line 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 those cases in which 3500-line segments are too large for diff , causing it to fail.
-s Specifies that no diagnostics are to be printed by bdiff (silent option). Note: However, this does not suppress possible diagnostic messages from diff , which bdiff calls.

Examples

bdiff myfile1.txt myfile2.txt - Would compare the files myfile1.txt and myfile2.txt and give results similar to the following:

1c1
< is this ln
---
> test
3,5d2
< Hello world
< this is a test
< of the bdiff file

Related commands

diff

Index

Category:
Linux / Unix

Companies:
Click here

Related Pages:

 

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope