summaryrefslogtreecommitdiff
path: root/IPs_to_triangle.sh
blob: d6ef20c19993fd0f7dedd37cce06de50342f42c4 (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 addshape 3 %s %s %s %s %s %s %s %s %s\n'