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

12 lines
244 B
Awk
Executable File

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