view contrib/tools/grep_fd_dict_dump @ 1560:9084c6f94a0a

Require cmake 2.8.12 (from 2013) since current cmake warns about older versions. Remove policy check for CMP0022. The variable INTERFACE_LINK_LIBRARIES it affects is not used.
author Thomas Klausner <wiz@gatalith.at>
date Wed, 16 Jun 2021 18:05:27 +0200
parents 7d121fbf269a
children
line wrap: on
line source

#!/bin/sh

# Grep stdin for the output of fd_dict_dump() and reformat to remove
# pointer addresses.  Use to post-process the output of dict_dump.fdx
# into a format that's diff-able between freeDiameter invocations.

egrep '^ *{dict|VENDOR|APPLICATION|TYPE|ENUMVAL|AVP|COMMAND|RULE' \
	| sed \
	-e 's/{dict.*}(@0x[^ ]*): //' \
	-e 's/{dict(0x[^ ]*) : \(.*\)}/\1/' \
	-e 's/p:[^ ]* //'
"Welcome to our mercurial repository"