openldap/tests/scripts/stripattr.sh
2003-02-05 14:42:37 +00:00

6 lines
123 B
Bash
Executable File

#! /bin/sh
#
# Strip attribute from LDIF
#
awk '/^'$1'/ {getline; while (substr($0,1,1) == " ") getline;} /.*/ {print $0}'