stud/contours/clip-2009.awk
2020-12-16 00:12:25 +02:00

8 lines
240 B
Awk
Executable File

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