aboutsummaryrefslogtreecommitdiff
path: root/src/data/proto-test/print-raw.sh
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2020-08-30 21:30:46 +0930
committerDavid Timber <mieabby@gmail.com>2020-08-30 21:30:46 +0930
commitfbb4d5d648a8dc6dba9e33240bf66d82939e2880 (patch)
treea3ba1be81b7c5c5dcd2f64a5d50be1b969c1048d /src/data/proto-test/print-raw.sh
parentf36333b2c915ac7d9cf82e09ab5cb2a2f8296177 (diff)
* Impl run_cmd
* Add prne_htbt_hover_t * Add run_cmd test data
Diffstat (limited to 'src/data/proto-test/print-raw.sh')
-rwxr-xr-xsrc/data/proto-test/print-raw.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/data/proto-test/print-raw.sh b/src/data/proto-test/print-raw.sh
new file mode 100755
index 0000000..61b2997
--- /dev/null
+++ b/src/data/proto-test/print-raw.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+sed -E -e "/^((\\s+)?#.*)?$/D" -e "s/\\s//g" | tr -d "\\n" | xxd -ps -r