diff --git a/tests/scripts/undiff.sh b/tests/scripts/undiff.sh index 09c898a190..cb9e13caf5 100755 --- a/tests/scripts/undiff.sh +++ b/tests/scripts/undiff.sh @@ -3,7 +3,6 @@ # Expunge "< " and "> " resulting from diff # awk '!/^[0-9]/ {print $0}' | \ - sed "s/^< //" | \ - sed "s/> //" | \ + sed "s/^< \|^> \|^- \|^+ //" | \ awk '/.+/ {print $0}'