1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/tests/ulib/http2/hex_decode
stefanocasazza 329b3fbd64 sync
2016-12-22 15:54:12 +01:00

11 lines
227 B
Bash
Executable File

#!/bin/sh
#
# Written by Dridi Boukelmoune <dridi.boukelmoune@gmail.com>
#
# This file is in the public domain.
# Decode a hexdump from the test suite and output the raw binary
sed '/^$/d; /^#/d' |
cut -d '|' -f 1 |
xxd -r -p