summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/anonet_map/paths-to-edges
diff options
context:
space:
mode:
Diffstat (limited to 'share/hackvr/examples/anonet_map/paths-to-edges')
-rwxr-xr-xshare/hackvr/examples/anonet_map/paths-to-edges5
1 files changed, 5 insertions, 0 deletions
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 ' '