summaryrefslogtreecommitdiff
path: root/hackvr_term
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2017-12-24 03:27:50 -0600
committerepoch <epoch@hacking.allowed.org>2017-12-24 03:27:50 -0600
commitbc55691eb3298c6d01e09872bf1fa3fb67081ae7 (patch)
treeb49f3dbf6dd6367d2c4dd2c02f6f1319124f0b3f /hackvr_term
parente501b8bed2b7583f249c4b315fae97cbdff10f8f (diff)
downloadhackvr-bc55691eb3298c6d01e09872bf1fa3fb67081ae7.tar.gz
hackvr-bc55691eb3298c6d01e09872bf1fa3fb67081ae7.zip
added script to decode hackvr data lines
Diffstat (limited to 'hackvr_term')
-rwxr-xr-xhackvr_term/hackvr_data_decode.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/hackvr_term/hackvr_data_decode.sh b/hackvr_term/hackvr_data_decode.sh
new file mode 100755
index 0000000..0ac04f2
--- /dev/null
+++ b/hackvr_term/hackvr_data_decode.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+grep --line-buffered '^[^ ]* data ' | stdbuf -oL tr -s ' ' | stdbuf -oL cut '-d ' -f3- | stdbuf -o0 xxd -r -p