Crates.io | ohx |
lib.rs | ohx |
version | 0.1.0 |
source | src |
created_at | 2022-07-11 22:06:39.117718 |
updated_at | 2022-07-11 22:06:39.117718 |
description | Like xxd, but colorful! |
homepage | |
repository | https://github.com/mcy/0x |
max_upload_size | |
id | 624015 |
size | 383,463 |
0x
- like xxd
but colorful!Note: for technical reasons, this library is listed as ohx
on crates.io.
0x
is a simple utility similar to xxd
with a few nice features:
For example, to print all bytes with the sign bit set in red and all others in
blue, use -x
to shift in sign bits, and colorize based on that.
0x -x '>>>7' -z skyblue,red my_file
The result is something like this (here 0x
is dumping itself):
0x
tries to mimic xxd
's command-line interface where possible, although we
cannot promise full fidelity.