File: cleanup.sed

package info (click to toggle)
ptpd 2.3.1-debian1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,432 kB
  • sloc: ansic: 22,012; sh: 11,581; makefile: 122; sed: 12
file content (11 lines) | stat: -rw-r--r-- 336 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
# Clean up SolarFlare style PTP log output by removing the labels
# so that we get a clean CSV file.  The resulting file is in a
# different column order to the one expected by the PTP tools but that
# is handled elsewhere.
s/offset: //g
s/freq-adj: //g
s/in-sync: //g
s/one-way-delay: //g
s/i-term: //g
s/grandmaster: //g
s/ \[.*\]//g