#!/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'




syntax highlighted by Code2HTML, v. 0.9.1