LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-12-2009, 02:11 AM   #1
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Rep: Reputation: 36
Question hexdump vs od


Hi all,

What exactly is the trade off or subtle difference b/w od and hexdump utilities ?

Can any one give examples where hexdump is preferred over od and vice versa ?

They both serve the same purpose isn't it ?
 
Old 01-12-2009, 04:35 PM   #2
vladmihaisima
Member
 
Registered: Oct 2002
Location: Delft, Netherlands
Distribution: Gentoo
Posts: 196

Rep: Reputation: 33
Do 'info od' and look at 'Rationale'. An exceprt:

Code:
     The od utility went through several names in early proposals, including
       hd, xd, and most recently hexdump. There were several objections to all
       of these based on the following reasons:

        * The  hd  and  xd  names  conflicted  with  historical utilities that
          behaved differently.

        * The hexdump description was much more complex than needed for a sim-
          ple dump utility.

        * The  od utility has been available on all historical implementations
          and there was no need to create a new name for a utility so  similar
          to the historical od utility.
It continues with a discussion about standardisation.
 
  


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 On
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration