From bc55691eb3298c6d01e09872bf1fa3fb67081ae7 Mon Sep 17 00:00:00 2001 From: epoch Date: Sun, 24 Dec 2017 03:27:50 -0600 Subject: added script to decode hackvr data lines --- hackvr_term/hackvr_data_decode.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 hackvr_term/hackvr_data_decode.sh 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 -- cgit v1.2.3