openldap/tests/scripts/undiff.sh

9 lines
148 B
Bash
Raw Normal View History

#! /bin/sh
#
# Expunge "< " and "> " resulting from diff
#
awk '!/^[0-9]/ {print $0}' | \
2001-12-05 17:35:31 +08:00
sed "s/^< \|^> \|^- \|^+ //" | \
awk '/.+/ {print $0}'