summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/anonet_map/run
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2020-03-13 09:03:06 -0500
committerepoch <epoch@hacking.allowed.org>2020-03-13 09:03:06 -0500
commit22942add557f242425ae9d9813ff13377d515b51 (patch)
tree0a3727d3611802e95a15e3017baf95188ce1841a /share/hackvr/examples/anonet_map/run
parent1de9b6df32d18eaf44b668f79217ff4a0d7973e2 (diff)
downloadhackvr-22942add557f242425ae9d9813ff13377d515b51.tar.gz
hackvr-22942add557f242425ae9d9813ff13377d515b51.zip
added an anonet map
Diffstat (limited to 'share/hackvr/examples/anonet_map/run')
-rwxr-xr-xshare/hackvr/examples/anonet_map/run8
1 files changed, 8 insertions, 0 deletions
diff --git a/share/hackvr/examples/anonet_map/run b/share/hackvr/examples/anonet_map/run
new file mode 100755
index 0000000..c4c1c05
--- /dev/null
+++ b/share/hackvr/examples/anonet_map/run
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+nonblocktail <(./map) /dev/stdin \
+ | hackvr \
+ | while read group action target;do
+ if [ $action = "action" ];then
+ printf "%s\n" "$target" | tee /dev/stderr | grep '^<\(.*\)>$' | sed 's/^<\(.*\)>$/\1/g' | tr '\n' '\0' | xargs -n1 -0 copy_start_nevermind.sh &
+ fi
+ done