stud

study spacejunk
Log | Files | Refs | LICENSE

clip-2009.awk (248B) - Raw


      1 #!/usr/bin/env -S awk -f
      2 #
      3 # this file works with SEZP from circa 2009, where x coordinate (the 6-digit one)
      4 # is first, and the field separator is ' ' or more spaces.
      5 $1 > xmin && $1 < xmax && $2 > ymin && $2 < ymax {
      6     print $1 "," $2 "," $3
      7 }