summaryrefslogtreecommitdiff
path: root/traceroute_to_dat.sh
diff options
context:
space:
mode:
Diffstat (limited to 'traceroute_to_dat.sh')
-rwxr-xr-xtraceroute_to_dat.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/traceroute_to_dat.sh b/traceroute_to_dat.sh
new file mode 100755
index 0000000..5b08884
--- /dev/null
+++ b/traceroute_to_dat.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+traceroute -n $1 | tail -n+2 | sed 's/^ *//g' | cut '-d ' -f3 | whob | egrep '^IP|^Lat|^Long' | cut '-d ' -f2- | paste - - - | tr '\t' ' '