[hexxy] update readme

This commit is contained in:
mizi 2024-01-25 11:35:41 -09:00
parent 858addbd20
commit f45df01756

View file

@ -2,20 +2,22 @@
A modern alternative to `xxd` and `hexdump` A modern alternative to `xxd` and `hexdump`
Huge thanks to ![igoracmelo](https://github.com/igoracmelo/xx) for the idea and reference. Huge thanks to ![igoracmelo](https://github.com/igoracmelo/xx) for to use color gradients
The idea and code for colorizing xxd/hexdump output in a gradient format came from them. to make bytes more readable.
![](img.png) ![example of hexxy in action](img.png)
## Example usage ## Example usage
```sh ```sh
hexxy /path/to/file.bin hexxy /path/to/file.bin
# dont output with color # dont output with color
hexxy --no-color /path/to/file.bin hexxy --no-color /path/to/file.bin
# refer to multiple files # dump multiple files
hexxy file1 file2 file3 hexxy file1 file2 file3
# read from stdin # read from stdin
cat mybinary | hexxy cat mybinary | hexxy
# display offset in Decimal format # display offset in Decimal format
hexxy -td file.bin hexxy -td file.bin
# display offset in Octal format
hexxy -to file.bin
``` ```