summaryrefslogtreecommitdiff
path: root/IPs_to_triangle.sh
blob: a84e3dba040d34b260d7873cab1c5c5407b803e1 (plain) (blame)
1
2
#!/bin/sh
whob | egrep '^IP|^Lat|^Long' | cut '-d ' -f2- | paste - - - | tr '\t' ' ' | awk '{print $1, $3, $2, 0, $3, $2, 0, $3, $2, 0}' | xargs -L1 printf '%s addtriangle %s %s %s %s %s %s %s %s %s\n'