gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] gpspipe switch to block non-NMEA output?


From: Gary E. Miller
Subject: Re: [gpsd-users] gpspipe switch to block non-NMEA output?
Date: Wed, 9 Mar 2016 17:53:48 -0800

Yo Bo!

On Wed, 09 Mar 2016 08:49:41 +0100
Bo Berglund <address@hidden> wrote:

> When I run gpspipe -r I get this output:
> {"class":"VERSION","release":"3.16","rev":"3.16","proto_major":3,"proto_minor":11}


> Is there any (undocumented) switch to block the leading "class" lines
> from being output?

Nope.  I always considered this a bug.

> I have looked in man gpspipe but found nothing that does this, at
> least not by what I understand from the descriptions.

Unless you want to submit a patch, you can do this:

        gpspipe -r | egrep -v ^{"

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

Attachment: pgpvhr6UnpOLk.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]