LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   od -h same as od -x ???? (https://www.linuxquestions.org/questions/linux-software-2/od-h-same-as-od-x-653331/)

kaz2100 07-03-2008 08:12 AM

od -h same as od -x ????
 
Hya,

Last night, I figured out that the command (option) I have been using long long loooonng
Code:

od -h <file>
is not documented (man info and fsf.org)

I think (and hope) it is same as
Code:

od -x <file>
Does anybody know?

Happy Penguins

colucix 07-03-2008 09:26 AM

Looking at the source code:
Code:

case 'h': /* obsolescent and undocumented alias */
  CASE_OLD_ARG ('x', "x2");

so the answer is yes, it matches x or -t x2, hexadecimal 2-byte units.


All times are GMT -5. The time now is 07:06 AM.