LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-20-2008, 11:59 PM   #1
sfxpt
Member
 
Registered: Feb 2008
Distribution: Debian Testing
Posts: 99
Blog Entries: 3

Rep: Reputation: 16
Qdiff updated!


Hi,

FYI, qdiff is a fast binary files differ that can detect binary insertions/deletions/substitutions with colorful outputs, written by Johannes Overmann. qdiff is the only fast and versatile binary files differ that's available in the FOSS would, others don't come close to it. However, the latest version,

http://www.ibiblio.org/pub/Linux/uti...f-0.8.2.tar.gz

is more than 8 years old. It does not compile under the current g++ any more. Moreover, even after I managed to get it compiles fine, it causes "segmentation fault" when executed.

Now it works and have a new home:

http://savannah.nongnu.org/projects/qdiff


Check out http://www.nongnu.org/qdiff/ for more.
The updated version is 0.9.1, which is available at
http://download.savannah.gnu.org/rel...f/qdiff-0.9.1/

It now uses autoconf + automake instead of a fixed Makefile. Please give it a try, and let me know the result.

If you think qdiff is useful, please help me bump up the thread if it falls behind the 2nd index page in this forum.

Thanks.

Last edited by sfxpt; 10-22-2008 at 04:30 PM.
 
Old 10-21-2008, 12:04 AM   #2
sfxpt
Member
 
Registered: Feb 2008
Distribution: Debian Testing
Posts: 99
Blog Entries: 3

Original Poster
Rep: Reputation: 16
Here is the full help text:

Code:
Usage: qdiff [OPTION]... FILE1 FILE2


diff options:
-b --byte-by-byte        compare files byte by byte, like 'cmp'
-f --no-heuristics       do not use heuristics to speed up large differing
                         blocks, note that the result is always correct but
                         with this option you may find a smaller number of
                         differing bytes
-m --min-match=NUM       allow resynchronisation only after a minimum of NUM
                         bytes match, this is an important parameter: lower
                         values may result in a more detailed analysis or in
                         useless results, higher values give a coarse analysis
                         but resynchronisation is more robust (range=[1..],
                         default=20)
-O --large-files         optimize disk access for large files on the same disk
                         (locks 16MB mem)

output modes:  (override automatic file type determination)
-a --formatted           print formatted ascii text, line by line
-u --unformatted         print unformatted ascii text, block by block
-x --hex                 print hex dump, block by block
-t --vertical            print one byte per line (ignores width)

output options:
-c --no-color            disable ansi coloring of output
-C --alt-colors          no bold ansi coloring (for SGI terminals and the like)
-w --width=NUM           output maximal NUM chars (default is terminal width)
-B --bytes-per-line=NUM  print NUM bytes/chars per line
-T --tab-size=TABSIZE    TABSIZE in formatted mode (range=[1..], default=8)
-l --line-numbers        print line numbers in formatted mode
-n --no-line-break       truncate (not break) lines in formatted mode
-L --show-lf-and-tab     show newline/tab as <LF>/<HT> in formatted mode
-S --show-space          show space as <SPC> in non hex modes
-U --unprintable=CHAR    print CHAR for unprintable chars in non hex modes
-H --control-hex         print control codes in hex (<x1B>, not <ESC>)
-A --alignment-marks     print -/+ before 32/64-bit words in hex mode
-e --stop-on-eof         stop when end of a file is reached in vertical mode
   --hide-match          do not print matches
   --hide-deletion       do not print deletions
   --hide-insertion      do not print insertions
   --hide-substitution   do not print substitutions
   --range-match         print match as byte range
   --range-deletion      print deletion as byte range
   --range-insertion     print insertion as byte range
   --range-substitution  print substitution as two byte ranges
-R --range               print everything as byte range

common options:
-v --verbose             verbose execution
-P --progress            show progress during work
-h --help                print this help message, then exit successfully
   --version             print version, then exit successfully

qdiff version 0.9.1
 *** (C) 1997-1999 by Johannes Overmann
 *** (C) 2008 by Tong Sun
comments, bugs and suggestions welcome: suntong001 at users.sourceforge.net
this program is distributed under the terms of the GNU General Public License version 2

Last edited by sfxpt; 10-21-2008 at 12:06 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Updated went wrong Pr070n Mandriva 3 05-30-2005 10:14 PM
updated timestamp jkmartha Linux - Security 1 05-11-2005 11:49 AM
How jiffies get updated? iikent Linux - Newbie 3 03-13-2004 08:36 AM
updated and liloconf cjae Linux - Newbie 1 03-13-2004 07:28 AM
Updated IceWM? Alderian Linux - Newbie 1 08-23-2003 07:50 AM


All times are GMT -5. The time now is 09:32 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration