Latest tweets from eosgarden

FileSystem iOS app 2.0 uploaded to the AppStore… Extended review time… Version 1.0 removed from the AppStore… Thanks Apple… #bastards
eosgarden - 09.05.2012 / 00:15
@JonnyBellman Sure… Just write us an email, with as many details as possible : )
eosgarden - 05.02.2012 / 18:17
Noxeos - Mixing C++ with C/Objective-C: http://t.co/VS5zeASf
eosgarden - 16.01.2012 / 23:01
FileSytem for iPhone is finally compatible with iOS 5 - update or download it now: http://t.co/yXqCFkC9
eosgarden - 11.01.2012 / 22:22
Noxeos - Warning flags for Clang: http://t.co/iZFQWi6f
eosgarden - 10.01.2012 / 20:36
AutoPurge - Optimize your system memory with a single click: http://t.co/9oTKasSS
eosgarden - 10.01.2012 / 20:24
Manual - Unix man pages at your fingertips: http://t.co/81rZTSeC
eosgarden - 10.01.2012 / 20:12
PropEdit 2.1.0: http://t.co/zJsERSpb
eosgarden - 10.01.2012 / 19:48
@dodyrw NodeJS binary is included in WebStart. GUI is ready, and will be available in the next version (should be released in a few days).
eosgarden - 08.01.2012 / 22:03
@dfeyer Don't know the Percona version (yet)… Is it better than MySQL?
eosgarden - 07.01.2012 / 10:59
 
 
 

Overview

HexPrint is a command line tool that displays a file's content as an hexadecimal dump.
HexPrint is release under the Boost License. It means you can use it freely with your projects, without giving credits, as long as you only release object code.

Table of contents

  1. Features
  2. Usage

Features

HexPrint can be simply invoked by typing it's name, following by the path of the file to dump.
For instance:
hexprint /path/to/some/file
The result will look like this:
0000000000: CF FA ED FE 07 00 00 01 03 00 00 00 01 00 00 00 | ................
0000000016: 03 00 00 00 A0 01 00 00 00 20 00 00 00 00 00 00 | ......... ......
0000000032: 19 00 00 00 38 01 00 00 00 00 00 00 00 00 00 00 | ....8...........
0000000048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
0000000064: E8 01 00 00 00 00 00 00 C0 01 00 00 00 00 00 00 | ................
0000000080: E8 01 00 00 00 00 00 00 07 00 00 00 07 00 00 00 | ................
0000000096: 03 00 00 00 00 00 00 00 5F 5F 74 65 78 74 00 00 | ........__text..
0000000112: 00 00 00 00 00 00 00 00 5F 5F 54 45 58 54 00 00 | ........__TEXT..
0000000128: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
0000000144: FA 00 00 00 00 00 00 00 C0 01 00 00 00 00 00 00 | ................
0000000160: A8 03 00 00 10 00 00 00 00 04 00 80 00 00 00 00 | ................
0000000176: 00 00 00 00 00 00 00 00 5F 5F 63 73 74 72 69 6E | ........__cstrin
0000000192: 67 00 00 00 00 00 00 00 5F 5F 54 45 58 54 00 00 | g.......__TEXT..
0000000208: 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 | ................
0000000224: 91 00 00 00 00 00 00 00 C0 02 00 00 03 00 00 00 | ................
0000000240: 00 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 | ................
0000000256: 00 00 00 00 00 00 00 00 5F 5F 65 68 5F 66 72 61 | ........__eh_fra
0000000272: 6D 65 00 00 00 00 00 00 5F 5F 54 45 58 54 00 00 | me......__TEXT..
You'll see the line offset, the hexadecimal data, and the ascii data.
All of this can be configured. For the options, just see below.

Usage

Here are the command line parameters that can be passed to HexPrint:
-c [i] | --columns [i]
The number of columns to display for the hexadecimal code (integer value)
-g [i] | --group [i]
Groups bytes by the given number (integer value)
-a | --no-ascii
Do not display the ASCII code
-n | --no-lines
Do not display the lines numbers
-h | --help
Print the help message
-v | --version
Print the version number
-l | --license
Print the license terms