filter_allocs now also works when any of the numbers to be filtered out is greater than or equal to 1000.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7925
This commit is contained in:
Bart Van Assche 2008-04-26 18:33:30 +00:00
parent 61212ce1c9
commit 7ec60b6ea0

View File

@ -1,6 +1,6 @@
#! /bin/sh
./filter_stderr |
sed "s/malloc\/free: in use at exit: [0-9]* bytes in [0-9]* blocks./malloc\/free: in use at exit: ... bytes in ... blocks./" |
sed "s/malloc.free: [0-9]* allocs, [0-9]* frees, [0-9]* bytes allocated./malloc\/free: ... allocs, ... frees, ... bytes allocated./"
sed -e "s/malloc\/free: in use at exit: [0-9,]* bytes in [0-9,]* blocks./malloc\/free: in use at exit: ... bytes in ... blocks./" \
-e "s/malloc.free: [0-9,]* allocs, [0-9,]* frees, [0-9,]* bytes allocated./malloc\/free: ... allocs, ... frees, ... bytes allocated./"