#!/bin/sh
# $Id: makespeed,v 1.2 2011/07/04 01:43:23 grog Exp $
# Make new Trapster speed camera file and merge with existing.
#
/src/GPS/tools/makespeed-1 > foo
grep -v '^X' /src/GPS/ScanFast-7020/iGo8/content/speedcam/speedcam.txt > bar
# This seems to be a necessary header.
echo 'X,Y,TYPE,SPEED,DIRTYPE,DIRECTION' > speedcam.txt
sort -u foo bar >> speedcam.txt
rm foo bar
