blob: 89dc2b40c77ac7187d8319b2a6c248aeb1839df4 [file] [log] [blame]
bartb6230df2011-07-29 07:22:29 +00001#!/bin/sh
2
3# Filter the error output of Valgrind such that only the line with the error
4# summary is kept. Bart Van Assche, February 26, 2008.
5
6sed -n \
7 -e 's/^.*\(ERROR SUMMARY.*\) ([^()]*)$/\1/' \
8 -e 's/^\(ERROR SUMMARY: [0-9]* errors\).*$/\1/' \
9 -e '/ERROR SUMMARY/p'