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