diff options
author | epoch <epoch@hacking.allowed.org> | 2017-12-24 03:27:50 -0600 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2017-12-24 03:27:50 -0600 |
commit | bc55691eb3298c6d01e09872bf1fa3fb67081ae7 (patch) | |
tree | b49f3dbf6dd6367d2c4dd2c02f6f1319124f0b3f | |
parent | e501b8bed2b7583f249c4b315fae97cbdff10f8f (diff) | |
download | hackvr-bc55691eb3298c6d01e09872bf1fa3fb67081ae7.tar.gz hackvr-bc55691eb3298c6d01e09872bf1fa3fb67081ae7.zip |
added script to decode hackvr data lines
-rwxr-xr-x | hackvr_term/hackvr_data_decode.sh | 2 |
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 |