X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=hexyl%2FREADME.md;h=e65befb41043d39045a3dc9f3a0c20bbb7827389;hb=91512157ab426c87e0a82b594620e90e324b23a3;hp=2628f291b3c18b6f51d585dd40eaafce1a19fd33;hpb=6de69579c81a75dcf85dc9af8962069b752ecba0;p=webi-installers%2F.git diff --git a/hexyl/README.md b/hexyl/README.md index 2628f29..e65befb 100644 --- a/hexyl/README.md +++ b/hexyl/README.md @@ -5,13 +5,8 @@ tagline: | hexyl is a simple hex viewer for the terminal. --- -## Updating - -```bash -webi hexyl@stable -``` - -Use the `@beta` tag for pre-releases. +To update or switch versions, run `webi hexyl@stable` (or `@v0.9`, `@beta`, +etc). ## Cheat Sheet @@ -36,3 +31,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 +```