better strip of diff marks

This commit is contained in:
Pierangelo Masarati 2001-12-05 09:35:31 +00:00
parent fb60696ac4
commit 754258af38

View File

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