Kenn said
> I don't know what hexl-mode looks like
It looks like this
00000000: 0005 1607 0001 0000 0000 0000 0000 0000 ................
00000010: 0000 0000 0000 0000 0005 0000 0002 0000 ................
00000020: 024d 0000 ef15 0000 0003 0000 0056 0000 .M...........V..
00000030: 0016 0000 0004 0000 0155 0000 0000 0000 .........U......
> but would od (octal dump) do what you want. It has options for hex
> mode.
Whereas od looks like this
0000000 0500 0716 0100 0000 0000 0000 0000 0000
0000020 0000 0000 0000 0000 0500 0000 0200 0000
0000040 4d02 0000 15ef 0000 0300 0000 5600 0000
0000060 1600 0000 0400 0000 5501 0000 0000 0000
Ignoring the missing character view on the left, and the fact that the offsets
are in octal (never was too happy with octal), od -h also interprets the values
in the file as words whereas hexl-mode displays them bytewise. od can take
various options, none of which give it half the utility of hexl-mode or gitview,
which is the tool I was looking for (turn on brain : press g <TAB>, press y when
asked
There are 116 possibilities. Do you really wish to see them all? (y or n)
and then look through the list for something familiar. With a name like gitview,
it's no wonder I couldn't remember it :-) )
Kindest regards,
Niall O Broin
UNIX Network Administrator nobroin at esoc.esa.de
Ground Systems Engineering Department Ph./Fax +49 6151 90 3619/2179
European Space Operations Centre, Darmstadt, Germany
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!