diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2009-11-11 06:24:50 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2009-11-11 06:24:50 +0000 |
commit | 11ccf0615024991004dc7c226e2c9ea5d58125dc (patch) | |
tree | d2386753c8454b1a5351cd26355e5ffd7067a776 /contrib/skyview.php | |
parent | 936d330fa8653001600020755844509e26cf874f (diff) | |
download | gpsd-11ccf0615024991004dc7c226e2c9ea5d58125dc.tar.gz |
accept and parse lines without a timestamp
Diffstat (limited to 'contrib/skyview.php')
-rwxr-xr-x | contrib/skyview.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/skyview.php b/contrib/skyview.php index e127a271..581b2f50 100755 --- a/contrib/skyview.php +++ b/contrib/skyview.php @@ -39,7 +39,7 @@ $sky = array(); $fd = @fopen($argv[1], 'r'); while (!feof($fd)){ $line = fgets($fd); - if (preg_match('/,Y=\S+ [0-9\.]+ (\d+):/', $line, $m)){ + if (preg_match('/,Y=\S+ [0-9\.\?]+ (\d+):/', $line, $m)){ $n = $m[1]; $s = explode(':', $line); for($i = 1; $i <= $n; $i++){ |