mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-27 03:20:22 +08:00
better strip of diff marks
This commit is contained in:
parent
fb60696ac4
commit
754258af38
@ -3,7 +3,6 @@
|
||||
# Expunge "< " and "> " resulting from diff
|
||||
#
|
||||
awk '!/^[0-9]/ {print $0}' | \
|
||||
sed "s/^< //" | \
|
||||
sed "s/> //" | \
|
||||
sed "s/^< \|^> \|^- \|^+ //" | \
|
||||
awk '/.+/ {print $0}'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user