This works ok with gpsfake (gpsd).
Need to test with real GPS hardware though.
Gpspipe is reading 10 sentences which is probably too many. Also, dividing the northing/westing by 10 is strictly not correct, but it's close enough for now.
latlon=$(gpspipe -r -n 10 | awk -F, '/GGA/ {printf("%.3f...