projects
/
webi-installers
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2203552
)
show hex->bin conversion
author
AJ ONeal
<aj@therootcompany.com>
Wed, 15 Jul 2020 04:23:12 +0000
(
04:23
+0000)
committer
AJ ONeal
<aj@therootcompany.com>
Wed, 15 Jul 2020 04:23:12 +0000
(
04:23
+0000)
hexyl/README.md
patch
|
blob
|
history
diff --git
a/hexyl/README.md
b/hexyl/README.md
index 2628f291b3c18b6f51d585dd40eaafce1a19fd33..2cef1221777a7049f40c218fabe31160ea80696b 100644
(file)
--- 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
+```