/[zanavi_public1]/navit/navit/script/gps_emu
ZANavi

Contents of /navit/navit/script/gps_emu

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 28 21:19:04 2011 UTC (12 years, 5 months ago) by zoff99
File size: 225 byte(s)
import files
1 #! /bin/bash
2 function send_data
3 {
4 trap send_data SIGPIPE
5 while read line
6 do
7 case $line in
8 \$GPVTG*)
9 echo "$line"
10 sleep 1
11 ;;
12 *)
13 echo "$line"
14 ;;
15 esac
16 done <track/all.txt >/tmp/gpsdata
17 }
18
19 send_data

Properties

Name Value
svn:executable *

   
Visit the ZANavi Wiki