Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 4, 2023. It is now read-only.
/ hdump Public archive

Fast, simple and portable hexadecimal/ASCII dumper

Notifications You must be signed in to change notification settings

merces/hdump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

41 Commits

Repository files navigation

hdump


Fast, simple and portable hexadecimal/ASCII dumper written in ANSI C.

1. Build

$ make

3. Install

# make install

3. Usage

$ hdump [-c columns] [-s skip] [-n length] file
OPTIONS
 -c : number of columns to use before breaking the line (default: 16)
 -s : number of bytes to skip / starting byte
 -n : number of bytes to read / maximum number of bytes to print
 -v : show version and author banner
 -h : show usage

Prefixing numbers with '0x' makes hdump use them as hexadecimal.

4. Examples

Prints the first 16 bytes of /bin/ls file:

$ hdump -n 16 /bin/ls
$ hdump -n 0x10 /bin/ls

Start at byte 0xff and prints a maximum of 32 bytes:

$ hdump -s 0xff -n 32 /bin/ls

5. Uninstall

# make uninstall

About

Fast, simple and portable hexadecimal/ASCII dumper

Topics

Resources

Stars

Watchers

Forks

Contributors 5

AltStyle によって変換されたページ (->オリジナル) /