2 # unfoldlines.pl is a script to unfold lines when they start with a leading
3 # space. It is meant to correct the output of ldapsearch making it comparable
5 # Usage: ldapsearch [...args...] | ./unfoldlines.pl > verify.out
6 # if verify.out is the file to be diffed against the ldif files
13 while ($lines[$cnt]) {
19 $line = $lines[$cnt-1] . $line;
22 if($folded==0) {print $lines[$cnt-1];}