X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=hexyl%2FREADME.md;fp=hexyl%2FREADME.md;h=2cef1221777a7049f40c218fabe31160ea80696b;hb=d56006ef48ee1d3f600dbca3529e20b3a1846b9d;hp=2628f291b3c18b6f51d585dd40eaafce1a19fd33;hpb=220355220a37b1241ebdb839e6feac4c0f94d6c6;p=webi-installers%2F.git diff --git a/hexyl/README.md b/hexyl/README.md index 2628f29..2cef122 100644 --- a/hexyl/README.md +++ b/hexyl/README.md @@ -36,3 +36,13 @@ For options, such as `--length`, `--skip`, and `--offset`, see: ```bash hexyl --help ``` + +### Convert hex to binary + +If you have some hex (say from some server logs) that you'd like to encode back +to binary to view in hexyl, you can convert it with `xxd`: + +```bash +echo '48656c6c6f210a' > foo.hex +xxd -r -p foo.hex foo.bin +```