aboutsummaryrefslogtreecommitdiff
path: root/src/data/proto/print-raw.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/proto/print-raw.sh')
-rwxr-xr-xsrc/data/proto/print-raw.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/data/proto/print-raw.sh b/src/data/proto/print-raw.sh
new file mode 100755
index 0000000..a824fe1
--- /dev/null
+++ b/src/data/proto/print-raw.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+sed -E -e "s/((\\s+)?#.*)?$//" -e "/^(\\s+)?$/D" -e "s/\\s//g" | tr -d "\\n" | xxd -ps -r