openldap/tests/scripts/undiff.sh
2001-11-03 16:59:06 +00:00

10 lines
151 B
Bash
Executable File

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