3 # This script may be run from cron before each update make
4 # a map of the world. It increments the number in the file "frames"
5 # each time it is run, and uses this number to determine the map
6 # file names. Creates a country map and an overlay with country names.
10 # edit these to the location of the map files and the utilities
11 cd /home/children/howitzer/map
12 PATH=/home/children/bin/netpbm:${PATH}:/usr/local/bin:${HOME}/bin:.
19 awk '{ print $1 + 1; }' frames > frames.new
23 FILE=map-`cat frames.new`.gif
24 OVERMAP=overmap-`cat frames.new`.gif
25 touch census report version
27 dump * | ./pgmmap.awk | /home/children/bin/netpbm/ppmtogif >${FILE}
28 report * | egrep -v '(Frey|Lurker|pea|Mapmaker|Visitor|visitor|report)' >report
34 ./over.awk scale=4 version report census
35 /home/children/bin/netpbm/ppmtogif over.pbm >${OVERMAP}