#!/bin/sh sed 's||\n|g' -i "$@" sed -e '//,/<\/testcase>/s/<\(\/\?\)system-\(out\|err\)>/<\1failure>/g' \ -e 's///g' \ -i "$@"