summaryrefslogtreecommitdiff
path: root/hackvr_term
diff options
context:
space:
mode:
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