]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - SHUTTLE/schema_prod/verify.sh
Parsing the output of ldapsearch with a perl script to unfold lines and make it compa...
[u/mrichter/AliRoot.git] / SHUTTLE / schema_prod / verify.sh
index 4d3a96813506aefec5f5d0c2468c063fbeb0f58c..122fcefe165c04c0fa0921bbff843ece2f56a1c6 100755 (executable)
@@ -27,6 +27,8 @@ case "$1" in
 esac
 
 ldapsearch -H ldap://pcalishuttle01.cern.ch  -x -b "$SEARCH,o=shuttle_prod,dc=cern,dc=ch" -L -L -L > verify.out
+cat verify.out | ./unfoldlines.pl > verify1.out
 
-diff --ignore-space-change --ignore-blank-lines verify.out $FILE | grep -v "> #"
+diff --ignore-space-change --ignore-blank-lines verify1.out $FILE | grep -v "> #" | grep -v '^0[a-z]'
 
+rm verify.out verify1.out