Skip to content
/ HexDmp Public

This is a simple command-line utility for dumping the contents of a file in hexadecimal format along with ASCII representation.

License

Notifications You must be signed in to change notification settings

HN026/HexDmp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HEXDMP

This is a simple command-line utility for dumping the contents of a file in hexadecimal format along with ASCII representation.

Usage

$ git clone https://github.com/HN026/HexDmp.git
$ cd HexDmp
$ make
$ ./bin/dmp [filename]

Arguments

  • [file]: File to read (default: STDIN).

Options & Flags

  • -l, --line <int>: Bytes per line in output (default: 16).
      $ ./bin/dmp -l <int> [filename]
  • -n, --num <int>: Number of bytes to read (default: all).
      $ ./bin/dmp -n <int> [filename]
  • -o, --offset <int>: Byte offset at which to begin reading.
      $ ./bin/dmp -o <int> [filename]
  • -h, --help: Display help text and exit.
  • -v, --version: Display version number and exit.

Example

Sample Output

License

This project is licensed under the MIT License - see the LICENSE file for details.


Built by Huzaifa
Connect with me on LinkedIn

About

This is a simple command-line utility for dumping the contents of a file in hexadecimal format along with ASCII representation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published