Index: trunk/MagicSoft/Mars/datacenter/scripts/doqualityplots
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/doqualityplots	(revision 7944)
+++ trunk/MagicSoft/Mars/datacenter/scripts/doqualityplots	(revision 7954)
@@ -51,5 +51,5 @@
 echo "producing plots: " >> $scriptlog 2>&1
 printprocesslog "INFO producing data quality plots"
-check0=`root -q -b $macrospath/plotdb.C+\(\) | tee -a $scriptlog | grep int | sed -e 's/.*(int)//'`
+check0=`root -q -b $macrospath/plotdb.C+\(\) | tee -a $scriptlog | intgrep`
 
 case $check0 in 
@@ -98,5 +98,5 @@
    makedir $outpath >> $scriptlog 2>&1
    rm -v $plotlog >> $scriptlog 2>&1
-   check1=`root -q -b $macrospath/plotdb.C+\("\"$datasetfile\""\) 2>>$plotlog | tee -a $scriptlog | grep int | sed -e 's/.*(int)//'`
+   check1=`root -q -b $macrospath/plotdb.C+\("\"$datasetfile\""\) 2>>$plotlog | tee -a $scriptlog | intgrep`
    echo " check1: "$check1 >> $scriptlog 2>&1
    newpsfile=$outpath/plotdb$nr.ps
