Skip to content

Instantly share code, notes, and snippets.

@bonds bonds/gps_location
Created Aug 11, 2017

Embed
What would you like to do?
script to print out your gps location from gpsd
#!/bin/sh
gpspipe -w 2>&1 | grep --line-buffered lon | jq -c "{time: .time|todateiso8601, latitude: .lat, longitude: .lon}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.