#!/usr/bin/ruby -Ks if ARGV.size < 1 then puts "Usage: #{__FILE__} Crossbow_NAV_file" exit end previous_lat = 0 previous_long = 0 open(ARGV[0]).each_with_index{|line, i| if i < 8 then next end values = line.split(/\t/) puts [values[10], values[11], values[12]].join(' ') }