openldap/tests/scripts/undiff.sh

10 lines
151 B
Bash
Raw Normal View History

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