You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
328 B
14 lines
328 B
# This strips out serial numbers and ref-count numbers from tree-dumps
|
|
# to make them comparable with windiff.
|
|
#
|
|
# Oh yeah, you need to use perl.
|
|
|
|
while( <> )
|
|
{
|
|
s/\[P\d+\]/[P]/g;
|
|
s/\[E\d+ N\d+]/[E N]/g;
|
|
s/ERefs=-?\d+/ERefs=/g;
|
|
s/EAllRefs=-?\d+/EAllRefs=/g;
|
|
s/NRefs=.*?,/NRefs=,/g;
|
|
print;
|
|
}
|