[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Writing bytes to stdout reverses the bytes

Thomas Jollans <tjol at tjol.eu>:

> On 2018-08-20 04:22, Chris Angelico wrote:
>> On Mon, Aug 20, 2018 at 12:01 PM, Grant Edwards
>> <grant.b.edwards at gmail.com> wrote:
>>> On 2018-08-20, Ben Bacarisse <ben.usenet at bsb.me.uk> wrote:
>>>> It is if you run it as hd.
>>> What do you mean "run it as hd"?
>>> I don't have an "hd" in my path.
>> Your system is different from mine, then.
> Wonderful. Now why don't we all forget about hexdump and use xxd? ;-)
> FWIW, I have an Ubuntu system with hd, and an SL7 system without.


   $ xxd
   bash: xxd: command not found
   $ hd
   bash: hd: command not found
   $ od -Ax -tx1z -v <<<hello
   000000 68 65 6c 6c 6f 0a                                >hello.<