diff options
author | epoch <epoch@hacking.allowed.org> | 2016-12-09 15:54:33 -0600 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2016-12-09 15:54:33 -0600 |
commit | b4dddad64122649d9da6340032275d1756930e74 (patch) | |
tree | afcfff52545fce1c7713f24e7a28904230fa8671 /IPs_to_triangle.sh | |
parent | fa1b447ef684e5eadda27d8870de6a6e09292a18 (diff) | |
download | hackvr-b4dddad64122649d9da6340032275d1756930e74.tar.gz hackvr-b4dddad64122649d9da6340032275d1756930e74.zip |
LOTS OF SHIT
Diffstat (limited to 'IPs_to_triangle.sh')
-rwxr-xr-x | IPs_to_triangle.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/IPs_to_triangle.sh b/IPs_to_triangle.sh new file mode 100755 index 0000000..a84e3db --- /dev/null +++ b/IPs_to_triangle.sh @@ -0,0 +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' |