LinuxQuestions.org
Visit Jeremy's Blog.
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 01-19-2009, 09:08 PM   #1
51dunk
Member
 
Registered: Jan 2007
Distribution: Slackware 11, OpenSuse 10.2
Posts: 31

Rep: Reputation: 15
Searching software to compare binary files in hex


Just as the subject says, I am looking for a tool to do the job.
`od` , `bsdiff` , `xdelta` are not what I need.
 
Old 01-19-2009, 09:20 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
You probably need to give us more information--eg the format of the final result.

You can use hexdump to get the hex values, and then pipe into cmp or diff.
 
Old 01-19-2009, 09:25 PM   #3
51dunk
Member
 
Registered: Jan 2007
Distribution: Slackware 11, OpenSuse 10.2
Posts: 31

Original Poster
Rep: Reputation: 15
It would like Ultraedit compare or Hexcmp in windows?
Which shows the hex data of both files side-by-side, and highlight the differences.
 
Old 01-19-2009, 09:48 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
In general, you will find that Unix-like systems do many things with combinations of simple commands. Don't assume that there are equivalents for all Windows utilities.

One trick:
man -k <keyword>

For example, try:
man -k compare
 
Old 01-20-2009, 12:16 AM   #5
51dunk
Member
 
Registered: Jan 2007
Distribution: Slackware 11, OpenSuse 10.2
Posts: 31

Original Poster
Rep: Reputation: 15
Thanks, I think Linux is not that explicit as Windows by some means.
And it leave you to develop the utility by yourself, for yourself.
 
Old 01-20-2009, 02:54 AM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Um, it's just a program, it has nothing to do with Linux. If they wanted to, the ones that make the program you like will port it to Linux. If not, then you need to write one yourself or use the tools available.
 
Old 01-20-2009, 07:07 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by 51dunk View Post
Thanks, I think Linux is not that explicit as Windows by some means.
And it leave you to develop the utility by yourself, for yourself.
I'm not sure what you mean.....

Linux (and any Unix-like system) has much more comprehensive and powerful utilities than does Windows.

stringing some commands together with a pipe (|) hardly qualifies as "developing the utility by yourself".
 
  


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
How Can I convert Hex to Binary in a perl script telecom_is_me Programming 18 10-11-2010 04:34 PM
Software to compare and merge MS Office files. ufmale Linux - Software 3 09-10-2008 01:16 PM
LXer: Edit and compare giant binary files with lfhex LXer Syndicated Linux News 0 05-27-2008 05:50 AM
converting a hex file to binary linx win Programming 3 07-20-2006 03:04 AM
Binary to Hex Ascii converter carboncopy Slackware 1 05-28-2004 09:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:15 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration