File: diff-remove-timestamps-unix

package info (click to toggle)
zeekctl 2.2.0%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 2,544 kB
  • sloc: python: 5,639; sh: 1,374; makefile: 71; awk: 24
file content (6 lines) | stat: -rwxr-xr-x 169 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
#! /usr/bin/env bash
#
# Replace timestamps in UNIX format (number of seconds, with fractional part)
# with XXXs.

sed 's/[0-9]\{10\}\.[0-9]\{2,8\}/XXXXXXXXXX.XXXXXX/g'