diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-03-01 18:27:33 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-01 18:27:33 -0500 |
commit | 5a99a614e067b46ef2e6edc2d5cf6f5cbdce418e (patch) | |
tree | fb1fed4c66064862ead42330a030289eaf0bac2c /gpscat | |
parent | 1bb7e70bb95bb8130cf1203769c0e75792d7c4d2 (diff) | |
download | gpsd-5a99a614e067b46ef2e6edc2d5cf6f5cbdce418e.tar.gz |
Include a stream counter in the gpscat -t output.
Diffstat (limited to 'gpscat')
-rwxr-xr-x | gpscat | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -123,7 +123,7 @@ if __name__ == '__main__': if length == 0: break if typeflag: - sys.stdout.write(`ptype` + " (" + `length` + "): " + hexdump(packet)) + sys.stdout.write(`ptype` + " (" + `length` + "@" + `counter-length` + "): " + hexdump(packet)) sys.stdout.write("\n") else: sys.stdout.write(hexdump(packet) + "\n") |