-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Matija Nalis
committed
Jun 23, 2014
1 parent
f227db0
commit 2376df6
Showing
2 changed files
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
perl -pe 's/length \d+/length xxx/g; s/SiRF: DBG 0xff.*$/SiRF: DBG 0xff: xxxx/g; s/SiRF: DEV 0xe1.*$/SiRF: DEV 0xe1: xxxx/g; s,DATA: DOPS computed/reported.*$,DATA: DOPS computed/reported: xxx,g; s/PROG: SiRF: NTPD valid time MID 0x(\d+).*/PROG: SiRF: NTPD valid time MID $1/g;s/DATA: SiRF: MND 0x02: time.*$/DATA: SiRF: MND 0x02: time=xxx, lat,lon,alt/g; s/PROG: 50B: SF:(\d+).*$/PROG: 50B: SF:$1 xxxx/g' "$@" | | ||
sort | uniq -c | egrep '50B:|SiRF:|DOPS' | ||
|