Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akrylysov/hexunescape
A small tool to unescape hex escaped text files (e.g. Nginx logs)
https://github.com/akrylysov/hexunescape
hex nginx
Last synced: 2 months ago
JSON representation
A small tool to unescape hex escaped text files (e.g. Nginx logs)
- Host: GitHub
- URL: https://github.com/akrylysov/hexunescape
- Owner: akrylysov
- License: mit
- Created: 2017-05-04T00:05:22.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-29T01:52:16.000Z (about 7 years ago)
- Last Synced: 2024-10-10T17:24:10.782Z (3 months ago)
- Topics: hex, nginx
- Language: Go
- Homepage:
- Size: 3.91 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
hexunescape
===========hexunescape is a small tool to unescape hex escaped text files (e.g. Nginx logs).
Installation
------------```
go get -u github.com/akrylysov/hexunescape/cmd/hexunescape
```Usage
-----```
usage: hexunescape [path]path is optional, defaults to stdin.
```Example
-------Stdin as an input:
```
echo "\x22abc\x22" | hexunescape
"abc"
```File as an input:
```
echo "{\x22foo\x22:\x22bar\x22}" > test
hexunescape test
{"foo":"bar"}
```