3
# Anonymise paths like "/local/foo/bar/tests/baz/quux" (note "tests" is there)
4
#sed "s/\/.*\/tests\//\/...\/tests\//"
6
# Remove these two kinds of lines, which tend to appear beneath
7
# the stack frame of __libc_start_main
8
# by 0x........: (within /.../tests/malloc2)
9
# by 0x........: ??? (start.S:81)
10
sed "s/by 0x........: (within [^)]*)/by 0x........: .../" | \
11
sed "s/by 0x........: ??? ([^)]*)/by 0x........: .../"