logextract 253 B

12345678910
  1. #!/bin/sh
  2. # Extract pure NMEA from an emailed gpsd error log.
  3. # The output can be fed to gpsfake.
  4. #
  5. # This file is Copyright 2010 by the GPSD project
  6. # SPDX-License-Identifier: BSD-2-clause
  7. sed -n -e "/^> */s///" -e "/gpsd: <= GPS: /s///" -e '/^\$/p'