diff options
Diffstat (limited to 'share/hackvr/examples/anonet_map/run')
| -rwxr-xr-x | share/hackvr/examples/anonet_map/run | 8 | 
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  | 
