File: logextract

package info (click to toggle)
gpsd 2.33-4
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 2,900 kB
  • ctags: 1,861
  • sloc: ansic: 14,508; sh: 9,158; xml: 2,657; python: 1,446; makefile: 334; cpp: 120; perl: 22
file content (6 lines) | stat: -rwxr-xr-x 178 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
#!/bin/sh
# Extract pure NMEA from an emailed gpsd error log.
# The output can be fed to gpsd via the -T l option.
sed -n -e "/^> */s///" -e "/gpsd: <= GPS: /s///" -e '/^\$/p'