Date: Fri, 25 Feb 2022 10:06:00 -0700 From: Gary Aitken <freebsd@dreamchaser.org> To: questions@freebsd.org Subject: Re: chexedit, dhex, ghex hexcurse... output looks weird Message-ID: <91c41c72-d5a4-7fca-ae56-ea5666096ae9@dreamchaser.org> In-Reply-To: <e2565ecf-3826-3f8a-d9ad-68df74470319@dreamchaser.org> References: <e2565ecf-3826-3f8a-d9ad-68df74470319@dreamchaser.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Duh. Turns out the "cat" (a.k.a. me) had walked on the keyboard, replaced some characters, and mistakenly saved the file. On 2/23/22 5:17 PM, Gary Aitken wrote: > So, I must be dumb... The display of the hex editors I've checked so far > doesn't seem to match the display from hexdump. > > hexdump output: > > 00000b0 0017 f000 001e 1b00 7628 0004 007e 0000 > 00000c0 691b 0112 1402 010a b600 8100 8110 8110 > > The above looks right to me, given its little-endian order and what I know > about the contents of the file. > > here's what I see in chexedit, dhex, and ghex: > > 000000B0 20 20 20 20 72 65 73 65 74 0A 30 30 30 30 30 30 reset.000000 > 000000C0 31 64 20 20 31 62 20 20 40 20 20 20 20 20 20 20 1d 1b @ > > Can someone enlighten me?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?91c41c72-d5a4-7fca-ae56-ea5666096ae9>