Mercurial > hg > freeDiameter
comparison contrib/tools/grep_fd_dict_dump @ 1529:7d121fbf269a
grep_fd_dict_dump: fixup older fd_log_dump() output
author | Luke Mewburn <luke@mewburn.net> |
---|---|
date | Sat, 18 Apr 2020 15:06:44 +1000 |
parents | 519c1a85dcd1 |
children |
comparison
equal
deleted
inserted
replaced
1528:3908b839dcf2 | 1529:7d121fbf269a |
---|---|
5 # into a format that's diff-able between freeDiameter invocations. | 5 # into a format that's diff-able between freeDiameter invocations. |
6 | 6 |
7 egrep '^ *{dict|VENDOR|APPLICATION|TYPE|ENUMVAL|AVP|COMMAND|RULE' \ | 7 egrep '^ *{dict|VENDOR|APPLICATION|TYPE|ENUMVAL|AVP|COMMAND|RULE' \ |
8 | sed \ | 8 | sed \ |
9 -e 's/{dict.*}(@0x[^ ]*): //' \ | 9 -e 's/{dict.*}(@0x[^ ]*): //' \ |
10 -e 's/{dict(0x[^ ]*) : \(.*\)}/\1/' \ | |
10 -e 's/p:[^ ]* //' | 11 -e 's/p:[^ ]* //' |