[Bug 1622711] Re: hexdump defaults to wrong endianness

Paul White 1622711 at bugs.launchpad.net
Mon Sep 12 18:59:36 UTC 2016


** Package changed: ubuntu => bsdmainutils (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bsdmainutils in Ubuntu.
https://bugs.launchpad.net/bugs/1622711

Title:
  hexdump defaults to wrong endianness

Status in bsdmainutils package in Ubuntu:
  New

Bug description:
  In my terminal

      $> cat /etc/hostname
      alien
      $>

  The above output seems to indicate that `0x0a` is the final byte of
  this file, an ordinary Unix newline.

      $> hexdump /etc/hostname
      0000000 6c61 6569 0a6e

  Here it seems that the file, in two-byte words, is being displayed
  with each pair of bytes reversed.

  In other words, hexdump is defaulting to the wrong endianness.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/1622711/+subscriptions



More information about the foundations-bugs mailing list