From: Markus Armbruster Date: Fri, 4 Jul 2008 21:31:33 +0000 (-0400) Subject: Fix mapper to work with current code X-Git-Tag: v4.3.16~87 X-Git-Url: http://git.pond.sub.org/?p=empserver;a=commitdiff_plain;h=67a9a8d96afb8641ccf46dd8e22b1ae684ca3dd8 Fix mapper to work with current code 4.2.0 broke over.awk. --- diff --git a/scripts/mapper/over.awk b/scripts/mapper/over.awk index 46741a583..8633d1ffc 100644 --- a/scripts/mapper/over.awk +++ b/scripts/mapper/over.awk @@ -8,13 +8,13 @@ BEGIN { FS="[ \t\n,]+"; } -/^World size is [0-9]+ by [0-9]+./ { +/^World size is [0-9]+ by [0-9]+\./ { width = $4; height= $6; system("ppmmake white " (width+1)*scale " " height*scale " | ppmtopgm | pgmtopbm >over.pbm"); } -/.*#.*name.*tech.*research.*education.*happiness.*cap-location/ { +/.*#.*name.*tech.*research.*education.*happiness.*capital/ { getline; while (NF>4) { if ($2>0 && $2<90) {