hexdump defaults to wrong endianness

Bug #1622711 reported by Spraff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bsdmainutils (Ubuntu)
New
Undecided
Unassigned

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.

Paul White (paulw2u)
affects: ubuntu → bsdmainutils (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.