From 754258af3840f676d6a21f968067c4fe7aca1c4e Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 5 Dec 2001 09:35:31 +0000 Subject: [PATCH] better strip of diff marks --- tests/scripts/undiff.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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}' -- 2.39.5