File: logextract

package info (click to toggle)
gpsd 2.37-7
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 3,564 kB
  • ctags: 2,813
  • sloc: ansic: 20,476; sh: 9,233; xml: 2,910; python: 1,764; php: 472; makefile: 440; cpp: 121
file content (6 lines) | stat: -rwxr-xr-x 161 bytes parent folder | download
1
2
3
4
5
6
#!/bin/sh
# Extract pure NMEA from an emailed gpsd error log.
# The output can be fed to gpsfake.
sed -n -e "/^> */s///" -e "/gpsd: <= GPS: /s///" -e '/^\$/p'