From 22942add557f242425ae9d9813ff13377d515b51 Mon Sep 17 00:00:00 2001 From: epoch Date: Fri, 13 Mar 2020 09:03:06 -0500 Subject: added an anonet map --- share/hackvr/examples/anonet_map/run | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 share/hackvr/examples/anonet_map/run (limited to 'share/hackvr/examples/anonet_map/run') 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 -- cgit v1.2.3