summaryrefslogtreecommitdiff
path: root/traceroute_to_dat.sh
blob: 5b088844d6f15e50166b6fa2b6676c47a26e70dc (plain) (blame)
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' ' '