stud

study spacejunk
Log | Files | Refs | LICENSE

clip-2017.awk (251B) - Raw


      1 #!/usr/bin/env -S awk -f
      2 #
      3 # this file works with SEZP circa ~2017 where y coordinate (the 7-digit one) is
      4 # first, and the field separator is ','
      5 BEGIN {
      6     FS = ","
      7 }
      8 
      9 $1 > ymin && $1 < ymax && $2 > xmin && $2 < xmax {
     10     print $2 "," $1 "," $3
     11 }