summaryrefslogtreecommitdiff
path: root/logextract
blob: da14571ed276251f12ffcf8d3c7538c13e17102c (plain)
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'