Installation note Unpack the tar.gz file with tar -zxvf hdump.tar.gz or zcat hdump.tar.gz | tar -xvf - or gzcat hdump.tar.gz | tar -xvf - then go to the hdump directory and build the executable with the "make" command. You may want to customize the "DESTDIR" in the makefile (default to the old well known /usr/local) and then do a "make install" (possible as root) that will install the hdump executable and man page in /usr/local/bin and /usr/local/man/man1. The hdump should run fine on any POSIX platform, but was actually tested only under AIX (3,4), FreeBSD (2.x) and Linux Redhat (5,6). ===================================================================== Example output: 00000000: eb3c9049 424d2020 372e3100 02010100 [.<.IBM 7.1.....] 00000010: 02e00040 0bf00900 12000200 00000000 [...@............] 00000020: 00000000 0000290c d48c0447 484f5354 [......)....GHOST] 00000030: 20202020 20204641 54313220 20209090 [ FAT12 ..] 00000040: 90909090 90909090 90909090 90909090 [................] 00000050: 90909090 90909090 9090fa8c c98ed1bc [................] 00000060: f07b1607 8becbb78 0036c537 1e565153 [.{.....x.6.7.VQS] 00000070: 8d7e04b1 0c57fcf3 a4061fc6 45fd0f8b [.~...W......E...] 00000080: 46288845 f88f0789 4f028bfd fb33c072 [F(.E....O....3.r] 00000090: 7e8b4e23 e303894e 308b5e26 0bdb8a46 [~.N#...N0.^&...F] 000000a0: 20989975 07938b46 348b5636 e8180103 [ ..u...F4.V6....] 000000b0: 462c1356 2e03461e 83d20052 50ab92ab [F,.V..F....RP...] 000000c0: b82000f7 66218b5e 1b03c348 f7f333d2 [. ..f!.^...H..3.] ===================================================================== and man page: NAME hdump - hexadecimal dump SYNOPSIS hdump [ -h ] [ -d ] [ -s len ] [ filename ] DESCRIPTION HDUMP COMMAND LINE -h Print a help message. -d Print "offsets" in decimal. -s len Number of contiguos bytes in the dump: len is between 1 and 16. The "len" default is 4. OVERVIEW hdump dump filename (or stdin) on the stdout using an MSDOS debug style (or IBM mainframe style). VARIABLES The environment variable HDUMPSARG may be used to drive the default number of contiguos bytes. It has the same effect of the -s len argument. Enjoy!