File: diff-remove-localhost-values

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 (5 lines) | stat: -rwxr-xr-x 136 bytes parent folder | download | duplicates (2)
1
2
3
4
5
#! /usr/bin/env bash
#
# Replace localhost values with X (e.g., "key=::1" would convert to "key=X").

sed 's/=::1/=X/;s/=127.0.0.1/=X/'