openldap/tests/scripts/undiff.sh
2001-12-05 09:35:31 +00:00

9 lines
148 B
Bash
Executable File

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