]> git.sur5r.net Git - openldap/commitdiff
better strip of diff marks
authorPierangelo Masarati <ando@openldap.org>
Wed, 5 Dec 2001 09:35:31 +0000 (09:35 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 5 Dec 2001 09:35:31 +0000 (09:35 +0000)
tests/scripts/undiff.sh

index 09c898a190134c2d9ad55762d17737ff3f593354..cb9e13caf5c3d6ea838ec6e76046f17503731f48 100755 (executable)
@@ -3,7 +3,6 @@
 # Expunge "< " and "> " resulting from diff
 #
 awk '!/^[0-9]/ {print $0}' | \
-       sed "s/^< //" | \
-       sed "s/> //" | \
+       sed "s/^< \|^> \|^- \|^+ //" | \
        awk '/.+/ {print $0}'