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/paths-to-edges | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 share/hackvr/examples/anonet_map/paths-to-edges (limited to 'share/hackvr/examples/anonet_map/paths-to-edges') diff --git a/share/hackvr/examples/anonet_map/paths-to-edges b/share/hackvr/examples/anonet_map/paths-to-edges new file mode 100755 index 0000000..38fc488 --- /dev/null +++ b/share/hackvr/examples/anonet_map/paths-to-edges @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +arr=($*) +for i in ${!arr[@]};do + echo ${arr[$i]} ${arr[$i+1]} +done | grep ' ' -- cgit v1.2.3