Mercurial > hg > freeDiameter
annotate contrib/tools/grep_fd_dict_dump @ 1562:6219359a36a9 default tip
Merge latest changes from proposed branch
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Mon, 21 Jun 2021 19:08:18 +0800 |
parents | 7d121fbf269a |
children |
rev | line source |
---|---|
1445 | 1 #!/bin/sh |
2 | |
3 # Grep stdin for the output of fd_dict_dump() and reformat to remove | |
4 # pointer addresses. Use to post-process the output of dict_dump.fdx | |
5 # into a format that's diff-able between freeDiameter invocations. | |
6 | |
7 egrep '^ *{dict|VENDOR|APPLICATION|TYPE|ENUMVAL|AVP|COMMAND|RULE' \ | |
8 | sed \ | |
9 -e 's/{dict.*}(@0x[^ ]*): //' \ | |
1529
7d121fbf269a
grep_fd_dict_dump: fixup older fd_log_dump() output
Luke Mewburn <luke@mewburn.net>
parents:
1445
diff
changeset
|
10 -e 's/{dict(0x[^ ]*) : \(.*\)}/\1/' \ |
1445 | 11 -e 's/p:[^ ]* //' |