gawk

real number on gawk

i am using gawk on a windows computer with cygwin what i am trying to do is find min and max from three columns two are lat and lon and the third column is the value this is the code: echo off for /f "tokens=1,2,3 delims= " %%a in ('gawk "BEGIN {maxc = 0} {maxlo=0} {maxla=0} {if ($3>maxc) maxc=$3} {if ($1>maxlo) maxlo=$1}...