show hex->bin conversion
[webi-installers/.git] / hexyl / README.md
index 2628f291b3c18b6f51d585dd40eaafce1a19fd33..2cef1221777a7049f40c218fabe31160ea80696b 100644 (file)
@@ -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
+```